crypto-misuse-reasoning
Skill9 starsChanged 4 months agoLicence not identifiedView on GitHub
Judge a cryptographic system by how it is used, not by which primitive it names — because "we use AES-256" says nothing, and almost every real-world break is a misuse (reused nonce, ECB, unauthenticated ciphertext, a padding oracle, a homemade KDF, an accepted downgrade) sitting on top of a perfectly good algorithm. Use whenever crypto is being designed, reviewed, or trusted: "is this encryption secure", "we roll our own", "AES/RSA/we're fine", "how should I encrypt this", "sign then encrypt or encrypt then sign", "why is a nonce/IV a problem", "is ECB ok here", "verify this token/JWT", "compare passwords", "our TLS config". Sibling of secure-by-construction (build it hostile-first) and validate-at-the-boundary (a decrypted blob is still untrusted input); it reasons about misuse, not primitive selection. It does not implement primitives, does not hand out attack recipes, and never certifies a scheme secure from the algorithm name alone.
In this repository91 other files it gives its agents.
- abductive-engineeringSkill
- acquisition-order-of-volatilitySkill
- agent-trust-boundariesSkill
- alert-triage-economicsSkill
- assume-breach-modelingSkill
- atomic-state-mutationSkill
- attack-surface-triageSkill
- audit-before-patchSkill
- authorization-surface-mappingSkill
- beyond-the-fixSkill
- beyond-the-sinkSkill
- claim-provenance-disciplineSkill
- client-side-trust-boundarySkill
- cloud-architecture-selectionSkill
- cloud-control-plane-reasoningSkill
- codebase-health-assessmentSkill
- concurrency-reasoningSkill
- container-trust-boundarySkill
- containment-under-uncertaintySkill
- control-effectiveness-vs-existenceSkill
- credential-material-triageSkill
- data-leakage-huntingSkill
- data-provenance-mappingSkill
- daubert-defensible-writingSkill
- debt-closure-disciplineSkill
- deception-signal-qualitySkill
- decision-record-disciplineSkill
- dependency-provenanceSkill
- destination-driven-constructionSkill
- detection-engineeringSkill
- deterministic-coreSkill
- diagnosing-bugsSkill
- discriminating-proofSkill
- distributed-write-atomicitySkill
- dont-fall-in-love-with-the-bugSkill
- dual-use-behavior-adjudicationSkill
- exploitability-triageSkill
- falsifiable-testingSkill
- finding-custodySkill
- forensic-logging-designSkill
- forensic-persistenceSkill
- frontend-accessibility-by-constructionSkill
- frontend-component-boundariesSkill
- frontend-performance-budgetsSkill
- frontend-testing-strategySkill
- git-disciplineSkill
- honest-degradationSkill
- honest-technical-oratorySkill
- hypothesis-driven-huntingSkill
- incident-timeline-reconstructionSkill
- intel-source-evaluationSkill
- invariant-huntingSkill
- irreversible-action-gateSkill
- known-defect-dispositionSkill
- language-selectionSkill
- live-contract-compatibilitySkill
- llm-out-of-the-loopSkill
- model-evaluation-disciplineSkill
- non-overwhelming-uxSkill
- oracle-driven-fuzzingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “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.
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.

