crypto-analysis

crypto-analysis is a skill for Claude Code from hypnguyen1209/offensive-claude. It costs 50 tokens per session (2,513 once invoked), scanned A, original, MIT.

A security skill for reviewing cryptography—the methods software uses to protect data and prove identity. It covers areas including TLS, certificates, RSA and ECC keys, signed tokens, password hashes, and preparation for quantum-computer threats.

In plain words
What is it for?
Use it for TLS, SSL, SSH, and certificate audits; crypto implementation reviews; weak-key and nonce investigations; JWT or JOSE testing; password-hash assessment; and post-quantum migration reviews.
Why use it?
It helps find weaknesses such as unsafe protocol settings, reused signing nonces, token-forgery paths, weak password protection, and encryption that may be vulnerable in the future.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the offensive-claude plugin — 30 skills, 18 commands, 8 agents, 1 hook shipped together

Good fit Use it for TLS, SSL, SSH, and certificate audits; crypto implementation reviews; weak-key and nonce investigations; JWT or JOSE testing; password-hash assessment; and post-quantum migration reviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hypnguyen1209/offensive-claude/crypto-analysis
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.

Any agent
npx skills add hypnguyen1209/offensive-claude --skill crypto-analysis
Clone the repo
git clone --depth 1 https://github.com/hypnguyen1209/offensive-claude

Made for: Claude Code.

Or install offensive-claude, the plugin that ships this one along with the rest of its 30 skills, 18 commands, 8 agents, 1 hook.

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 crypto-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/crypto-analysis/github.svg)](https://agentmods.dev/skills/hypnguyen1209/offensive-claude/crypto-analysis)
Your own site
<a href="https://agentmods.dev/skills/hypnguyen1209/offensive-claude/crypto-analysis"><img src="https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/crypto-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for crypto-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/hypnguyen1209/offensive-claude/crypto-analysis"><img src="https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/crypto-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 95
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
How audits are shown
Origin original No closer match found 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.1 $0.00050 $0.02513
Opus 5 $0.00025 $0.01256
Sonnet 5 $0.00010 $0.00503
Haiku 4.5 $0.00005 $0.00251

Measured 9d ago against content hash 4fdb7bfc9cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

crypto-analysis scanned grade A with 0 findings 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 9d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/ecdsa_lattice.py, scripts/gcm_nonce_reuse.py, scripts/hash_triage.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/crypto-analysis/SKILL.md · 120 lines

How it starts

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

Cryptographic Analysis

When to Activate

  • Auditing TLS/SSL/SSH configurations and X.509 PKI (cipher suites, downgrade, protocol flaws)
  • Reviewing crypto implementations in source code or captured traffic
  • Attacking weak RSA/ECC keys (CTF and real-world weak-key hygiene)
  • Recovering ECDSA/DSA private keys from reused or biased nonces (lattice/HNP)
  • Exploiting symmetric/AEAD misuse: padding oracles, GCM nonce reuse, key-commitment
  • Forging JWT/JOSE tokens (algorithm confusion, none, jwk/jku/kid injection)
  • Cracking password hashes and grading KDF strength
  • Assessing post-quantum readiness ("harvest now, decrypt later" exposure)

Technique Map

Technique ATT&CK CWE Reference Script
TLS cipher/protocol downgrade audit T1600.001 CWE-326 references/tls-pki-audit.md scripts/tls_audit.py
Terrapin SSH prefix truncation (CVE-2023-48795) T1557 CWE-222 references/tls-pki-audit.md scripts/tls_audit.py
Marvin/Bleichenbacher RSA timing oracle T1600 CWE-208 references/tls-pki-audit.md scripts/tls_audit.py
X.509 / CT-log shadow-asset discovery T1589 CWE-295 references/tls-pki-audit.md scripts/tls_audit.py
RSA weak-key factoring (Fermat/Wiener/common-modulus) T1600 CWE-326 references/rsa-attacks.md scripts/rsa_attack.py
Coppersmith partial-key & ROCA (CVE-2017-15361) T1600 CWE-310 references/rsa-attacks.md scripts/rsa_attack.py
Hastad broadcast / batch-GCD T1600 CWE-326 references/rsa-attacks.md scripts/rsa_attack.py
ECDSA nonce reuse key recovery T1552.004 CWE-323 references/ecc-nonce-attacks.md scripts/ecdsa_lattice.py
Biased-nonce lattice/HNP (Minerva, PuTTY CVE-2024-31497) T1552.004 CWE-1241 references/ecc-nonce-attacks.md scripts/ecdsa_lattice.py
Psychic signature (0,0) (CVE-2022-21449) T1606.001 CWE-347 references/ecc-nonce-attacks.md scripts/ecdsa_lattice.py
CBC padding oracle (byte-by-byte decrypt) T1040 CWE-209 references/symmetric-aead.md scripts/padding_oracle.py
AES-GCM nonce reuse "forbidden attack" T1040 CWE-323 references/symmetric-aead.md scripts/gcm_nonce_reuse.py
AEAD key-commitment / invisible salamanders / partitioning oracle T1606 CWE-347 references/symmetric-aead.md scripts/gcm_nonce_reuse.py
JWT algorithm confusion RS256→HS256 (CVE-2024-54150) T1606.001 CWE-347 references/jwt-jose.md scripts/jwt_forge.py
JWT alg=none / jwk / jku / kid injection T1606.001 CWE-347 references/jwt-jose.md scripts/jwt_forge.py
Hash identification & GPU cracking T1110.002 CWE-916 references/hash-pq.md scripts/hash_triage.py
Weak KDF / fast-hash password storage T1110.002 CWE-916 references/hash-pq.md scripts/hash_triage.py
Post-quantum / HNDL exposure review T1600 CWE-327 references/hash-pq.md scripts/tls_audit.py

Read the full file on GitHub · 120 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. 9d ago First seen · 120 lines · 50 tokens per session scan A 4fdb7bfc9cc0

Subscribe to this mod's changes

crypto-analysis is a skill published in the GitHub repository hypnguyen1209/offensive-claude (357 stars, last pushed 23d ago), licensed MIT. It adds 50 tokens to every session and 2,513 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bt6-queue-audit

Audit the full pull-request and issue queue of a BT6 research or support repository, classifying readiness, evidence risk, and next action without mutating tracker state.

elder-plinius/T3MP3ST · 40 tokens

bt6-issue-steward

Triage and steward issues in BT6 research and support repositories, deciding whether to answer, reproduce, correct evidence, link work, design a feature, route security, implement, or close.

elder-plinius/T3MP3ST · 46 tokens

bt6-merge-train

Run an explicitly authorized, conservative BT6 merge train that processes validated pull requests one at a time and reconciles repository, CI, evidence, and issue state after each merge.

elder-plinius/T3MP3ST · 42 tokens

bt6-pr-audit

Audit one pull request in a BT6 research or support repository at an exact head SHA, covering correctness, research integrity, security, tests, contracts, and merge readiness.

elder-plinius/T3MP3ST · 40 tokens

bt6-provider-review

Audit an external AI/API provider and its integration into a BT6 repository for service reality, independent verification, trust boundaries, secret handling, API/model correctness, completeness, claim traceability, and merge readiness.

elder-plinius/T3MP3ST · 46 tokens

xiaohongshu-search-full

Search Xiaohongshu (XHS / RedNote) notes by keyword with full field extraction including body text, topics/tags, image list URLs, video stream URL, publish timestamp, and all engagement stats (likes, collects, comments, shares). Supports all page filter options: sort order (general, latest, most liked, most commented…

browser-act/skills · 254 tokens