Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

grantstamp

Latest version: v0.4.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: souvikdas95
0 Stars
0 Forks
11 Versions
365 Downloads
HTML Repo language

Scan summary

grantstamp was last scanned on 29 Nov 2026 at version 0.4.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 5 were published on 29 Nov 2026.
  • Findings: No rules fired in version 0.4.3.
  • Downloads: 365 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.3 LATEST 29 Nov 2026 No rules fired
0.4.2 29 Nov 2026 No rules fired
0.3.1 29 Nov 2026 No rules fired
0.2.1 29 Nov 2026 Not shown
0.1.2 29 Nov 2026 Not shown

No rules fired in 0.4.3

Findings

Findings for v0.4.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Grantstamp

Agents ask first. Grantstamp™ is an open ownership registry and check protocol for AI agents. Owners publish fingerprints and a policy for their software and game builds, but never the files themselves.

Before an agent decompiles, ports, modifies or redistributes a file, it checks the registry. It gets back who owns the file, what the owner allows for that exact use, a confidence band and a signed receipt.

Status: prototype 0.3. This version works end to end and is tested and benchmarked, but it is not hardened for heavy traffic yet, and interfaces may change before 1.0. Live status: grantstamp.io/status. What holds and what does not: grantstamp.io/security.

Website grantstamp.io · Docs grantstamp.io/docs · Search stamps grantstamp.io/stamps · Public registry https://registry.grantstamp.io

Why

AI coding agents now compress weeks of reverse-engineering and porting work into hours. Owners have no machine-readable way to tell those agents "this is mine, and this is what I allow." Today's safeguards are blunt rules. They cannot tell a pirate from the owner's own contractor.

Grantstamp gives agents precise, owner-supplied data. It flags copies and unblocks licensees, and it alerts the owner within seconds. Read docs/01-problem.md.

How it works

sequenceDiagram
    participant O as Owner (CLI, local)
    participant R as Grantstamp registry
    participant A as AI agent (MCP / hook / API)
    O->>O: fingerprint build locally (hashes only)
    O->>R: register stamp: fingerprints + policy (signed)
    A->>A: fingerprint the user's file locally
    A->>R: POST /v1/check {digests, use: "port", licence tokens?}
    R-->>A: owner, policy decision, band, guidance, signed receipt
    R-->>O: alert (match, probing, case, notice, decision) via webhook

Every file gets a layered identity. No single fingerprint survives everything, so Grantstamp combines several:

Layer What it survives
sha256 nothingexact copies only, zero false positives
chunks, content-defined chunking patches, edits, embedding in a bigger file
strings, printable strings and code literals recompiling, other compilers, stripping, porting, decompiling
symbols, identifier-like strings weak evidence on its own, so stricter thresholds
winnow, normalised code k-grams reformatting and renaming in source code
dhash, perceptual image hash re-encoding and resizing of textures and art
markers, embedded notice or signed grantstamp.json anything that keeps stringsalso visible to agents reading the file
recipes, a procedure the owner defines for text and data whatever the owner's procedure ignores, such as layout, order and markup

Signed Windows executables also carry their publisher's signature. The registry verifies it and shows who published the files.

Matches are graded exact > high > medium > low. Only high and exact can produce a hard deny. A medium-confidence match turns the owner's deny into ask.

Quick start

pip install grantstamp           # client, CLI, MCP server, agent hook (Apache-2.0)
pip install grantstamp-server    # only to run a registry (AGPL-3.0)
python examples/demo.py          # the whole story, locally, in ~10 seconds (needs both)
Owners

Every owner is on record before they stamp, and the registry never holds two stamps that disagree: whoever registers first holds the content until they withdraw or a case is decided. See Who can stamp, and conflicts.

grantstamp keygen                                   # your key: ~/.grantstamp/owner.key (back it up)
grantstamp owner create --name "Starfall Studio" --url https://starfall.example \
    --public-contact legal@starfall.example --accept-terms
grantstamp owner sign-in                            # one-time LinkedIn sign-in; needed before you can stamp
grantstamp owner domain starfall.example            # prints a DNS TXT record / .well-known file
grantstamp owner verify starfall.example
grantstamp register ./build --title "Starfall Courier" --version 0.9.4 \
    --preset standard --contact legal@starfall.example --manifest
grantstamp marker stamp_… --lang cpp                 # notice to compile into the next build
grantstamp owner webhook https://hooks.slack.com/services/… --format slack
grantstamp token issue --stamp stamp_… --to "PortCo" --uses port,modify --days 90
grantstamp alerts
grantstamp search starfall                           # listed stamps; add --unlisted when registering to stay out
grantstamp qr stamp_… --out stamp.png                # QR code for the stamp's public page
AI agents and tools
  • MCP server (Claude Desktop, Claude Code, Cursor, VS Code): run pip install grantstamp, then point your client at the grantstamp-mcp command. See integrations/.
  • Claude Code hook: grantstamp-hook runs before Read, Edit and Bash on binaries and game files. It denies, asks or allows based on the owner's policy. See integrations/claude-code.
  • HTTP API: POST /v1/check. Sign requests with RFC 9421 HTTP Message Signatures (Web Bot Auth compatible) for higher limits. See spec/grantstamp-protocol-v0.1.md.
  • Command line: grantstamp check path/to/file --use port --exit-code.
  • Browser: the website's check page fingerprints a file in the browser. The file never leaves it.
Check the registry's records yourself
grantstamp audit stamp_…

Owners sign every stamp, the registry keeps a hash-chained public log, and a daily job saves the log head outside the registry and timestamps it. grantstamp audit verifies all of it and exits with an error if anything is off. See Verify a stamp yourself.

Run a registry
pip install "grantstamp-server[postgres]"
grantstamp serve --host 0.0.0.0 --port 8000 --db sqlite:///grantstamp.db --public-url https://registry.example
# or: docker compose up -d   (Caddy + HTTPS), or render.yaml + a free Neon Postgres: docs/05-integrations.md

Who you have to trust

Nobody, by design.

  • Owners sign their own stamps, so the registry cannot forge one.
  • The registry puts stamps in order in one public log and signs it.
  • Witnesses cosign the log only when it extends what they saw, so the registry cannot rewrite history.
  • Mirrors serve copies from any web host. Every reader checks them, so a mirror cannot change, hide or add anything.

Today the project runs the registry, one witness and one mirror. The software takes more of each, run by anyone. See Architecture and Mirrors and witnesses.

Benchmark (prototype scale)

Detection results are in bench/RESULTS.md (python bench/run_bench.py). Speed and storage are in bench/LOAD.md (python bench/load_bench.py).

  • Detection. A toy game was recompiled with gcc and clang at -O0 to -O3 with LTO, stripped, byte-patched, given half-rewritten strings, ported as a folder, or turned into synthetic decompiler output. Every variant matched high or exact.
  • Cross-matches. 400 Linux system executables were checked against 60 others registered under 60 owners. There were 0 medium-or-higher matches across different source packages. All 21 medium or high matches were programs from the same source package, which really do share code.
  • Speed and size. With 3,000 real executables registered on PostgreSQL, on one 2-CPU machine: a check takes 12 ms at the median and 66 ms at the 95th percentile, and each registered executable costs about 76 KB of database.

Documentation

The documentation is published, by version, at grantstamp.io/docs. The sources are here:

Owners · Agents · Verification Register a stamp, connect an agent, check the registry's records
Who can stamp, and conflicts Identity levels, first come first served, cases and notices
01 Problem What happened, why speed matters, where safeguards fail
02 Solutions Each original idea, what breaks, the fix that holds
03 Architecture Components, data flow, security boundaries
04 Implementation Algorithms, scoring, API and CLI reference
05 Integrations Every account and service needed, step by step
Threat model · Spec · Attestation Attacks and mitigationsthe protocolwhat owners attest

What Grantstamp is not

It is not DRM and not a court. It does not stop leaks, make anything uncrackable or decide what is legal. It puts the owner's signed claim and policy in front of a cooperating agent at the moment it is about to act, and tells the owner fast.

Citing

Each release is archived on Zenodo with a DOI (badge above) and in Software Heritage. Citation details are in CITATION.cff, which GitHub's "Cite this repository" button uses.

License

The client library, CLI, MCP server, agent hook and website are Apache-2.0 (LICENSE). The registry server in server/ (grantstamp-server) is AGPL-3.0-only (server/LICENSE): anyone who runs a modified copy for others must publish their changes. Agents and tools that only check the registry need only the Apache-2.0 client. The protocol specification is CC BY 4.0.

Copyright 2026 The Grantstamp Authors. "Grantstamp" and the Grantstamp seal are trademarks of the project owner. Neither licence grants trademark rights. See TRADEMARK.md.

Support my work

I build Grantstamp on my own, alongside my studies. Your donation helps me keep studying and keep making useful things for everyone online. Grantstamp stays free either way.

Bitcoin Ethereum
bc1qnkgc43jrvkkryreg0lwc67cvtmh2hqsjngygdn 0xdC232BcBE2D353B4FC9520B267f43B51471aD7F8

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases grantstamp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229