cryptographic-oracle
Skill1 starsChanged 12 days agoMITView on GitHub
Validate padding, decryption, validation and timing oracles in application cryptographic protocols using controlled samples and negative controls. Use for CBC padding errors, distinguishable token-validation failures, or measurable decryption/validation oracles; do not use for generic weak-cryptography observations without an exploitable interface.
In this repository124 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-agent-reconSkill
- ai-supply-chainSkill
- exfiltration-via-aiSkill
- indirect-injectionSkill
- llm-fuzzingSkill
- prompt-injectionSkill
- rag-poisoningSkill
- tool-abuseSkill
- chain-analysisSkill
- chain-auth-to-takeoverSkill
- chain-customSkill
- chain-graph-walkSkill
- chain-idor-to-mass-dataSkill
- chain-info-to-exploitSkill
- chain-multi-appSkill
- chain-ssrf-to-cloudSkill
- chain-web-to-rceSkill
- chain-xss-to-account-takeoverSkill
- email-securitySkill
- engagement-flowSkill
- finding-disciplineSkill
- http-headers-securitySkill
- oob-interactionsSkill
- opsec-disciplineSkill
- research-firstSkill
- scope-disciplineSkill
- scope-importSkill
- session-contextSkill
- 2fa-bypassSkill
- api-abuseSkill
- auth-bypassSkill
- broken-access-controlSkill
- business-logicSkill
- cache-poisoningSkill
- clickjackingSkill
- corsSkill
- credential-testingSkill
- crlf-injectionSkill
- csrfSkill
- css-injectionSkill
- data-exfiltration-testSkill
- deserializationSkill
- email-injectionSkill
- file-uploadSkill
- fuzzingSkill
- graphqlSkill
- grpcSkill
- host-headerSkill
- http-smugglingSkill
- idorSkill
- info-disclosureSkill
- jwtSkill
- lateral-movementSkill
- lfi-rfiSkill
- mass-assignmentSkill
- oauthSkill
- open-redirectSkill
- parameter-pollutionSkill
- password-resetSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use only tokens and test accounts issued for the engagement.
- Distinctive: line 37
Record negative space: If errors and timing converge across the defined samples, record the exact token family, endpoint, sample counts and …
- Distinctive: line 46
Do not report “weak crypto” solely because CBC, ECB, RSA or SHA-1 appears.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Safety and scope
Use only tokens and test accounts issued for the engagement. Keep request counts low and within the ROE: oracle testing can resemble credential attacks or availability testing. Bulk decryption, forgery of another user's token and account takeover require separate explicit gates.
Methodology
- Map the cryptographic boundary. Identify token format, encoding, endpoint, identity, protocol version and where validation occurs. Do not infer CBC/PKCS#7 from token length alone.
- Build controlled baselines. Capture unmodified valid input, malformed encoding, truncated input and random input of equal length. Record status, body, headers, timing and full artifacts.
- Test distinguishability. Make one minimal, authorized modification at a time and compare padding/validation/MAC/decryption errors. Repeat interleaved valid and invalid controls so load balancing, rate limits and generic error pages cannot masquerade as an oracle.
- For timing hypotheses, collect enough paired samples to report distributions and variance,
alternate candidate ordering, and rerun on a separate baseline. A small average difference is
inconclusive, not a demonstrated timing oracle. - Demonstrate only the minimum impact. A distinguishable error is a lead. Show a controlled padding/validation distinction, or a separately gated benign forgery/decryption on your own fixture, before claiming confidentiality or integrity impact.
- Record negative space. If errors and timing converge across the defined samples, record the exact token family, endpoint, sample counts and artifact IDs. A different protocol/version is a new coverage cell, not covered by the old result.
Evidence and gotchas
- Preserve raw inputs as hex/baseurl-safe artifacts plus exact request/response pairs and code used.
- Distinguish padding validity from MAC validity and from application-level authorization.
- Generic 400/500 differences are not enough; random-input and rate-limit controls are mandatory.
- Do not report “weak crypto” solely because CBC, ECB, RSA or SHA-1 appears; identify the actual protocol misuse and demonstrated consequence. Avoid destructive or high-volume oracle searches.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

