PQ Claim · Stygia-PQC
Real Dilithium, or a file named dilithium.js?
Writing ml-dsa in a file proves nothing. What does prove it: that your implementation signs a challenge of ours and an independent implementation of the standard (FIPS 204) accepts the signature; and that your verifier tells a valid signature from a tampered one.
Your code runs in your browser, inside a Web Worker. No third-party code runs on our side: we only receive the signature over the challenge and what your verifier answered.
1 · Your implementation
It has to be an ESM module served with Access-Control-Allow-Origin. If your implementation spans several files with relative imports, ship it as a single-file bundle or send us the repo.
Static scan of the repo (a signal, not proof)
Nothing is executed: the files are read and compared with the algorithm authors' reference code. It detects a byte-for-byte copy, a library wrapper, own ring arithmetic (q = 8380417, zetas, NTT) and mock-ups.
Reproduce it without this page
curl -s https://api.stygiascore.com/v1/pqc/claim/challenge
# sign challengeHex with your implementation and send the envelope:
curl -s -X POST https://api.stygiascore.com/v1/pqc/claim/verify \\
-H 'content-type: application/json' -d @evidence.json
# static scan (nothing is executed):
curl -s -X POST https://api.stygiascore.com/v1/pqc/claim/scan \\
-H 'content-type: application/json' -d '{"files":[{"path":"src/dilithium.js","content":"..."}]}'The challenge expires after 15 minutes and is HMAC-signed, so nobody can recycle someone else's envelope. Repeating the same POST returns the same verdict. Supported schemes are ML-DSA-44/65/87 (FIPS 204); round-3 Dilithium is caught by its lengths and flagged as not standard, because its keys are not interchangeable with the standard ones.