This is the documentation for version 0.1. Read this page for version 0.2, the latest.

Threat model#

Assets: - the integrity of claims (who owns what); - owners' fingerprints, which stay server-side; - the privacy of people checking; - the registry's signing key; - availability.

Threat Attack Mitigation in 0.1 Planned
Oracle / probing edit a file and re-check until it stops matching coarse bands and no scores for anonymous callers; low bands hidden; rate limits; proof-of-work relief only; probing alerts after 5 near-misses per hour; fingerprints never served randomised responses near thresholds; per-stamp query budgets
Fingerprint evasion rewrite strings, re-encode assets, obfuscate several independent layers; markers; benchmark tracks robustness function-level embeddings; asset perceptual hashes for audio and meshes
False ownership claim register someone else's popular build conflict detection (high or exact overlap with an existing stamp gives conflict status and alerts); verified owners rank first; disputes; suspensions; transparency log code-signing and store-publisher proof; KYB for paid tiers
Claiming third-party components register a game that bundles common runtimes default excludes; SHA-256 registered by two or more owners counts only as low; features held by three or more owners ignored; background lists engine and runtime background packs; NSRL-style known-file sets
Griefing with markers paste another owner's marker into unrelated files a marker alone gives medium (which becomes ask, not deny); high needs corroborating evidence signed markers bound to build hashes
Signature forgery or replay forge owner requests; replay a captured request Ed25519 RFC 9421 signatures over method, authority, path, query and body digest; 5-minute window; nonce cache key rotation API; hardware-key support
Key compromise (owner) stolen owner.key operator can suspend; transparency log shows every change key rotation and revocation endpoint; multiple keys per owner
Key compromise (registry) forged receipts key held in an environment variable; JWKS published; daily witness of log heads key rotation with overlapping validity; external witnesses
History rewrite operator edits past registrations hash-chained log; signed heads; daily public witness in Git Merkle tree log with inclusion proofs; third-party witnesses
SSRF via webhooks or verification point a webhook at internal addresses https only; DNS resolution must be public; no redirects egress proxy
Query privacy learn what a user is working on digests only; callers stored as salted hashes; query bundles not stored; k-anonymity exact lookup private set intersection for exact hashes
Denial of service flood checks per-caller token buckets; body size limit; proof-of-work CDN and WAF; signed-agent priority lanes
Abuse of guidance trick agents into refusing legitimate work policies with accepted purposes; licence tokens; medium becomes ask; owner self-check allowed provider-side appeal flows

Out of scope: a fully offline attacker who never checks. Grantstamp raises cost and shortens the owner's response time for cooperating ecosystems; it does not make content uncrackable.

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