reviewing-cryptography

reviewing-cryptography is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 70 tokens per session (2,704 once invoked), scanned A, a copy of reviewing-cryptography, Apache-2.0.

A checklist for reviewing code that uses encryption, digital signatures, hashes, passwords, TLS, or tokens. It looks for unsafe use of well-known security tools and settings.

In plain words
What is it for?
Use it to audit encryption and signing code, key storage and rotation, TLS and certificate checks, JWTs and session tokens, randomness, timing behavior, and password or secret storage.
Why use it?
Security failures often come from incorrect use of cryptography, such as reused nonces, exposed keys, unauthenticated encrypted data, or weak password storage. It helps find these mistakes without designing new cryptographic methods.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/evilfreelancer/secs/reviewing-cryptography
Any agent
npx skills add EvilFreelancer/secs --skill reviewing-cryptography
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reviewing-cryptography

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/reviewing-cryptography.svg)](https://agentmods.dev/skills/evilfreelancer/secs/reviewing-cryptography)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/reviewing-cryptography"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/reviewing-cryptography.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00070 $0.02704
Opus 5 $0.00035 $0.01352
Sonnet 5 $0.00014 $0.00541
Haiku 4.5 $0.00007 $0.00270

Measured 5d ago against content hash 223587ea2425, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reviewing-cryptography scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://defuddle.md/<url>" # scheme in the path is optional
Origin

This is a copy

100% identical to reviewing-cryptography — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/reviewing-cryptography/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reviewing Cryptography

Almost no real system is broken by cryptanalysis. They are broken by misuse: a reused nonce, unauthenticated ciphertext, a comparison that returns early, a key checked into git. Review for misuse, and leave primitive design to cryptographers.

When to Use

  • Auditing code that encrypts, decrypts, signs, verifies, or hashes
  • Reviewing key management, rotation, and storage
  • Assessing TLS/mTLS configuration and certificate validation
  • Reviewing JWT, session token, and API signature schemes
  • Checking password and secret storage
  • Evaluating randomness quality for security-relevant values

When NOT to Use

  • Designing a new primitive or protocol — that needs a cryptographer and formal review, not a code audit
  • Breaking cryptography in a CTF — different discipline; use solving-oriented offensive skills and known-attack tooling
  • General code review — use auditing-code-for-vulnerabilities
  • Password cracking — use cracking-passwords

The Misuse Checklist

Work through these in order. Each has caught real production breaks.

1. Is the ciphertext authenticated?

Encryption without authentication is the single most common serious finding. CBC or CTR without a MAC means an attacker can modify plaintext — and with a decryption oracle, recover it (padding oracle).

Good:  AES-GCM, ChaCha20-Poly1305, AES-CBC + HMAC (encrypt-then-MAC)
Bad:   AES-CBC alone, AES-ECB (ever), CTR without a MAC, MAC-then-encrypt
rg -n 'AES/ECB|AES\.MODE_ECB|CipherMode\.ECB|"AES"\)' -i
rg -n 'AES/CBC/PKCS5Padding|MODE_CBC|createCipheriv\(.*cbc' -i

If you see CBC, find the MAC. If there is no MAC, that is a finding regardless of how the ciphertext is transported.

2. Nonce and IV handling

Mode Rule Failure
GCM / ChaCha20-Poly1305 Never reuse a (key, nonce) pair Catastrophic: reveals the auth key, forgery becomes trivial
CBC IV must be unpredictable and random per message Chosen-plaintext attacks (BEAST-class)
CTR Never reuse a counter with the same key Keystream reuse; XOR of plaintexts

Read the full file on GitHub · 249 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 249 lines · 70 tokens per session scan A 223587ea2425

Subscribe to this mod's changes

reviewing-cryptography is a skill published in the GitHub repository EvilFreelancer/secs (10 stars, last pushed 26d ago), licensed Apache-2.0. It adds 70 tokens to every session and 2,704 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to reviewing-cryptography, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

Blue Team Defense & Hardening

System hardening, detection engineering, security baseline monitoring, patch management, defense-in-depth architecture, and security posture improvement.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

wave-issue-coverage

For each DRAFT requirement in a given Ground Control wave (or all waves), ensure a GitHub issue covers it and is bidirectionally linked. Use when the user asks to "cover wave N requirements with issues", "back-fill issues for draft requirements", or similar. Requires the Ground Control MCP and gh CLI.

Brad-Edwards/aptl · 72 tokens

ship

Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed.

Brad-Edwards/aptl · 33 tokens

create-huntable-agent

Add a new extraction sub-agent to Huntable CTI Studio as a first-class peer of CmdlineExtract, ProcTreeExtract, HuntQueriesExtract, RegistryExtract, ServicesExtract, and ScheduledTasksExtract. Use this skill whenever the user asks to "add a new agent", "create a sub-agent", "wire up a new extractor", "add a new…

dfirtnt/Huntable-CTI-Studio · 129 tokens

codebase-test-trueup

Audit test coverage gaps and generate unit tests to close them. Use when the user says "test trueup", "coverage gaps", "test coverage audit", "fill coverage", "write missing tests", "backfill tests", "scope tests", "test what I changed", or any request to identify and fill test gaps. Three modes: audit (report only)…

dfirtnt/Huntable-CTI-Studio · 96 tokens

mdu

Update all Markdown documentation to reflect code and session changes. Use this skill whenever the user says "mdu", asks to "update docs", "sync documentation", "refresh changelog", "update the changelog", "docs are stale", "add this to the changelog", or any request to align documentation with recent code changes.…

dfirtnt/Huntable-CTI-Studio · 203 tokens