This is the documentation for version 0.3. Read this page for version 0.6, the latest.

Issues and solutions that hold#

The original idea has six parts:

Each part was tested against how it would fail. Where it holds, it stays. Where it breaks, it is replaced with something that holds. Everything below is implemented in this repository.

"One fingerprint that can never be changed"#

What breaks. No such fingerprint exists. Recompiling, porting to another platform, stripping symbols or patching changes the bytes. Embedded watermarks can be removed. Published research shows fuzzy hashes and ML binary-similarity models are attackable or generalise poorly.

What holds: a layered identity with graded evidence. Each file gets several independent fingerprints, each surviving a different kind of change:

Layer Survives Weakness
SHA-256 nothing (exact copies) any byte change
Content-defined chunks patches, insertions, embedding in a larger file recompiling
Strings (sentences, paths, format strings, literals) recompiling, other compilers, stripping, porting, decompiling (decompiled C still contains the literals) deliberate rewriting of all text
Symbols (identifier-like strings) the same shared by everything linking the same library, so stricter thresholds
Code winnowing (MOSS-style) reformatting, renaming variables rewriting the logic
Image dHash re-encoding, resizing heavy edits
Embedded marker / signed manifest anything that keeps strings deliberate removal

Evidence is graded into bands: exact > high > medium > low. The registry never says "owned"; it says how strong the evidence is. On the benchmark, every recompiled, stripped, patched, ported and decompiled variant scored high or exact (bench/RESULTS.md).

"No user can bypass it"#

What breaks. Only cooperating agents check. An open-weight model running offline will never query a registry.

What holds: make checking the easy default where it matters, and give owners speed. - An MCP server, a Claude Code hook, a Python client and an HTTP API, so any mainstream agent can check in a single step. - An AI-readable notice compiled into the owner's builds. Agents reading the file see a plain-language instruction to check first, and cooperating agents follow it. - Alerts within seconds when the owner's content appears in a check, including probing patterns. That is the response window the owner lacked. - A value proposition for AI providers: precise allow/deny data reduces their false refusals. That gives them a reason to integrate.

"A math problem proves the caller is an LLM"#

What breaks. A puzzle proves someone spent compute, not that the caller is an LLM. Scripts solve puzzles faster than LLMs do, and humans can run scripts.

What holds: tiered access by identity, plus the puzzle repurposed as a cost. - Anonymous callers get coarse answers and low rate limits. - Registered agents sign every request with Ed25519 (RFC 9421 HTTP Message Signatures; Web Bot Auth compatible) and get higher limits. - Trusted providers, approved by the operator, see full evidence. - Your puzzle idea survives as proof-of-work quota relief. An anonymous caller who hits the limit can solve a short hashcash challenge (about a second) for extra quota. Bulk probing becomes expensive while occasional users are not blocked. Challenges are stateless, HMAC-signed and single-use.

"Answer every lookup in full detail"#

What breaks. A detailed answer turns the registry into an oracle. An attacker edits a file and re-checks until it stops matching.

What holds: - anonymous callers see bands only (no scores, no per-layer evidence), and low bands are hidden from them; - fingerprints are stored server-side and never downloadable; - rate limits per caller, with proof-of-work for anonymous relief; - probing alerts: five near-miss checks against one stamp from one caller within an hour alert the owner; - every check that matches is an event the owner can see, with the caller shown under an id that differs per owner and changes daily.

"Sign in with LinkedIn to prove ownership"#

What breaks. LinkedIn proves an account, not ownership of content.

What holds: - Owner key pairs. The owner's Ed25519 key is their identity, and every management request is signed with it. - An identity on record. Nobody can stamp without a named party and a public contact behind the account. The stamp says what was checked: a LinkedIn account, a check by the registry, or a publisher's code-signing certificate. - Domain verification. The owner proves control of a domain with a DNS TXT record or a .well-known file. The domain's age is shown, and a domain under 90 days old does not count yet. A domain can cost nothing, so this is a supporting signal. - No conflicting stamps. Registering content that already matches another owner's stamp at high or exact is refused, with the earlier owners listed. Owners can share content only under the same policy. - Publisher signatures. The registry verifies the signatures on signed executables and shows who published them. A stamp held by someone else is marked. - Cases have a public form. A person reviews each one, only a notice from the registry starts a deadline, and every decision is logged. - Planned: store-publisher proof, and third-party identity verification as it becomes available.

"Refuse if the content is owned"#

What breaks. Ownership is not permission. Licensees, porting partners, security researchers and interoperability work are often lawful or explicitly allowed. A blanket refusal blocks them; that is exactly the false-refusal problem providers already have.

What holds: policies, purposes and licence tokens. - A policy per use (analyze, decompile, modify, port, extract, redistribute, train), each set to allow, ask or deny, with presets. - Accepted purposes: the owner can allow interoperability, security research, preservation, accessibility, education or personal backup even where a use is otherwise denied. The caller declares the purpose and the receipt records it. - Licence tokens: the owner signs a token for a licensee, naming the stamps, uses and expiry. Agents send it, and deny becomes allow (licensed). Tokens can be revoked. - Evidence-proportional enforcement: only high or exact matches can produce a hard deny. A medium match turns deny into ask, because shared engines and libraries can cause overlap. - The registry reports the owner's claim and policy. It does not decide legality, and the guidance text says so.

"Keep the identity secure, even from frontier LLMs"#

What holds: - No LLM in the registry path. Storage, scoring, policy decisions and keys are deterministic code. - Fingerprints are never served back. - Every answer carries a receipt signed by the registry, so agents can keep evidence of diligence. - A hash-chained transparency log covers every registration, policy change, revocation and dispute, with a signed head. A daily GitHub Action commits the head to the public repository, so history cannot be quietly rewritten.

"Price per identity"#

What breaks. One game build is tens of thousands of files and many versions. Per-file pricing punishes the customers who need it most.

What holds. A stamp covers a whole title or release, with all its files (uploads are split automatically). Registration is free at launch. When billing comes, price per stamp or per catalogue tier, not per file.

Privacy of the people checking#

Cold start#

Owners get value on day one, before any AI provider integrates: - a timestamped, signed, publicly witnessed registration; - an embedded notice that agents read; - alerts from the MCP server, the hook and the website; - an open spec and open-source client that others can adopt.

AI providers get a free API that reduces false refusals.

Known limits (stated plainly)#

Source of this page on GitHub. Documentation for Grantstamp 0.3, licensed CC BY 4.0.