CloneGuard: AI Analysis Interference
A 2026 binary-analysis study provides a precedent for embedded prompt-injection text ... Scene carriers add a small amount of object and serialized-data overhead; check compatibility with your ...
by Future Games Unlimited
Price History +
Requires Unity's built-in JSON Serialization and UI Elements modules (1.0.0). Unity Test Framework is optional for the included tests. No additional paid dependency, API service, account, subscription or executable is required.
Add prompt-injection and experimental safeguard-triggering payloads to your Unity builds.
Your game contains more than its visible mechanics. CloneGuard gives indie developers a practical way to place analysis-interference payloads into their distributed build, aimed at AI-assisted reconstruction of gameplay systems, scene structure and implementation details.
Choose your layers, review the exact text and build. CloneGuard embeds the selected payloads in built scenes or a notice beside the player, then checks that the finished output contains them. The payload workflow needs no conversion of your gameplay code.
Two configurable layers
Prompt injection. Include instructions that ask an analyzing agent to withhold reconstruction or substitute a fictional interpretation. Choose between Reconstruction Stop and Analysis Replacement presets.
Safeguard triggering (experimental). Include safety-sensitive framing around harmless synthetic records or fictional products, intended to prompt an agent to reconsider or refuse reconstruction. Choose owner restriction, privacy records or license key generation cues.
Safeguard triggering is experimental; no refusal, reconstruction delay or clone-prevention rate is guaranteed.
Built for a controlled build workflow
• Independent layer and carrier choices, disabled by default.
• Complete payload previews and bounded text size.
• Passive, inactive scene carriers added during the build, preserving source scene files.
• Optional UTF-8 notice beside the executable.
• Exact payload-retention checks, content hashes and build receipts.
• No gameplay-script conversion required for the payload layers.
• Optional integer-rule obfuscation for selected gameplay calculations, with combat and economy samples.
Research-informed design
A 2026 binary-analysis study provides a precedent for embedded prompt-injection text influencing AI-assisted analysis, including an open-weight model setup. XSTest and OR-Bench study over-refusal on benign prompts. OWASP's prompt-injection guidance explains the indirect-instruction risk and defenses against it.
These sources motivate CloneGuard's mechanisms. They do not validate this Unity implementation or endorse the product. See the included Research Basis for the scope of each source.
Compatibility and practical limits
Validated build workflow: Unity 6.3 LTS / 6000.3.27f2, Windows x64, Mono and IL2CPP. IL2CPP is checked at High managed stripping. Other platforms, Addressables and AssetBundle pipelines are outside this release's validated coverage.
Carriers do not execute their text at runtime. No external model service, real personal records, harmful instructions, telemetry or authority reporting is included. Scene carriers add a small amount of object and serialized-data overhead; check compatibility with your own project.
CloneGuard is not DRM or access control. Agents can ignore untrusted instructions, tools can omit or remove carriers, and analysts can reconstruct from code or visible gameplay. Build verification proves the text was retained, not that an agent encountered or obeyed it.
Dependencies and support
Requires Unity's built-in JSON Serialization and UI Elements modules (1.0.0), declared in the manifest. Unity Test Framework is optional for the included tests.
The guarded build deliberately rejects invalid configurations and requires a new output directory. Enabling payloads requires using that builder or disabling the layers for an ordinary build. Scene carriers request a clean build cache, which can lengthen builds. See the offline Support guide for these handled guards and recovery steps.
The Editor includes short plain-language tooltips, a wrapped payload preview, build-readiness feedback and a file-path browser. Catalog 2 uses direct payload instructions without fictional/example disclaimers; the data remains invented.