wycheproof

wycheproof is a skill for Claude Code from RedHatProductSecurity/prodsec-skills. It costs 28 tokens per session (4,659 once invoked), scanned A, original, Apache-2.0.

A collection of cryptographic test cases that checks whether encryption and signing code handles valid inputs, invalid inputs, and known attack patterns correctly.

In plain words
What is it for?
Use it to test implementations of cryptographic algorithms and protocols against known attacks and unusual inputs.
Why use it?
Cryptography can fail because of small edge-case bugs that expose keys, allow forged signatures, or decrypt protected data. These tests help reveal such mistakes before release.

Skill for Claude Code

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

Part of the prodsec-skills plugin — 133 skills shipped together

Good fit Use it to test implementations of cryptographic algorithms and protocols against known attacks and unusual inputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redhatproductsecurity/prodsec-skills/wycheproof
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 RedHatProductSecurity/prodsec-skills --skill wycheproof
Clone the repo
git clone --depth 1 https://github.com/RedHatProductSecurity/prodsec-skills

Made for: Claude Code.

Or install prodsec-skills, the plugin that ships this one along with the rest of its 133 skills.

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 wycheproof

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/wycheproof/github.svg)](https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/wycheproof)
Your own site
<a href="https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/wycheproof"><img src="https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/wycheproof/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 wycheproof

Your own site · 80×15
<a href="https://agentmods.dev/skills/redhatproductsecurity/prodsec-skills/wycheproof"><img src="https://agentmods.dev/badge/skills/redhatproductsecurity/prodsec-skills/wycheproof.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00028 $0.04659
Opus 5 $0.00014 $0.02329
Sonnet 5 $0.00006 $0.00932
Haiku 4.5 $0.00003 $0.00466

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

Security

Grade A, and why

wycheproof 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 7d 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 -o "${TMP_WYCHEPROOF_FOLDER}${i}" "${BASE_URL}${i}"
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

module/skills/wycheproof/SKILL.md · 535 lines

How it starts

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

Wycheproof

Wycheproof is an extensive collection of test vectors designed to verify the correctness of cryptographic implementations and test against known attacks. Originally developed by Google, it is now a community-managed project where contributors can add test vectors for specific cryptographic constructions.

Background

Key Concepts

Concept Description
Test vector Input/output pair for validating crypto implementation correctness
Test group Collection of test vectors sharing attributes (key size, IV size, curve)
Result flag Indicates if test should pass (valid), fail (invalid), or is acceptable
Edge case testing Testing for known vulnerabilities and attack patterns

Why This Matters

Cryptographic implementations are notoriously difficult to get right. Even small bugs can:

  • Expose private keys
  • Allow signature forgery
  • Enable message decryption
  • Create consensus problems when different implementations accept/reject the same inputs

Wycheproof has found vulnerabilities in major libraries including OpenJDK's SHA1withDSA, Bouncy Castle's ECDHC, and the elliptic npm package.

When to Use

Apply Wycheproof when:

  • Testing cryptographic implementations (AES-GCM, ECDSA, ECDH, RSA, etc.)
  • Validating that crypto code rejects invalid inputs and produces expected outputs for edge cases
  • Verifying implementations against known attack vectors
  • Setting up CI/CD for cryptographic libraries
  • Auditing third-party crypto code for correctness

Consider alternatives when:

  • Testing for timing side-channels (use constant-time testing tools instead)
  • Finding new unknown bugs (use fuzzing instead)
  • Testing custom/experimental cryptographic algorithms (Wycheproof only covers established algorithms)

Quick Reference

Scenario Recommended Approach Notes
AES-GCM implementation Use aes_gcm_test.json 316 test vectors across 44 test groups
ECDSA verification Use ecdsa_*_test.json for specific curves Tests signature malleability, DER encoding
ECDH key exchange Use ecdh_*_test.json Tests invalid curve attacks
RSA signatures Use rsa_*_test.json Tests padding oracle attacks
ChaCha20-Poly1305 Use chacha20_poly1305_test.json Tests AEAD implementation

Read the full file on GitHub · 535 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. 7d ago First seen · 535 lines · 28 tokens per session scan A 9f68ab3cc8bc

Subscribe to this mod's changes

wycheproof is a skill published in the GitHub repository RedHatProductSecurity/prodsec-skills (52 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 4,659 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.