crypto-audit

Audits cryptography implementations for insecure algorithms, modes, and usage patterns.

345|47|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/briiirussell/cybersecurity-skills --skill crypto-audit-briiirussell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-audit
Source: https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/crypto-audit
Command: npx skills add https://github.com/briiirussell/cybersecurity-skills --skill crypto-audit-briiirussell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents real-world security failures caused by incorrect cryptography usage, where code “looks right” but breaks confidentiality, integrity, or authenticity due to wrong parameters, wrong modes, nonce/IV misuse, signature-verification mistakes, weak randomness, or unsafe TLS/key-rotation patterns.

Core Features & Use Cases

  • Cryptography implementation review: audits algorithm selection, modes (e.g., GCM vs ECB/CBC), parameter choices (e.g., KDF iterations and bcrypt cost), and call patterns that undermine otherwise-correct primitives.
  • Nonce/IV and authenticated encryption checks: verifies unique nonce/IV requirements, authenticated encryption usage, MAC-before-decrypt expectations, and constant-time verification guidance.
  • Signature, TLS, randomness, and key lifecycle validation: inspects signature verification pitfalls (e.g., JWT alg handling), TLS version/cipher posture, RNG quality, and practical key lifecycle/rotation correctness.

Use case example: you suspect an API uses “encryption” but see intermittent integrity issues or potential replay/forgery risk; run this audit to pinpoint the exact misuse (e.g., nonce reuse in AES-GCM, unauthenticated CBC usage, or incorrect JWT verification flow) and produce remediation steps.

Quick Start

Use the crypto-audit skill to review the application codebase for cryptography implementation issues, including AES-GCM nonce handling, KDF parameters, signature verification correctness, randomness quality, and TLS configuration.

Frequently Asked Questions about crypto-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my application for cryptographic implementation flaws like nonce reuse or weak KDF parameters?

To check for cryptographic implementation flaws, an audit reviews algorithm selection, modes, and parameter choices to identify unsafe usage patterns. It detects nonce/IV reuse, validates authenticated encryption, and verifies KDF iteration parameters against OWASP and NIST guidance.

What causes signature verification vulnerabilities in JWT and webhook implementations?

Signature verification vulnerabilities in JWT and webhooks arise from incorrect algorithm handling and non-constant-time comparisons. A crypto audit inspects these verification flows to pinpoint misuse and ensure authentication checks cannot be bypassed or forged.

How do I audit AES-GCM encryption to ensure proper nonce handling and authenticated modes?

Auditing AES-GCM encryption involves verifying unique nonce requirements and authenticated encryption usage. The audit checks for nonce/IV reuse patterns and validates MAC-before-decrypt expectations to ensure confidentiality and integrity are maintained.

Can this crypto audit review TLS configuration and key rotation patterns in my codebase?

Yes, this crypto audit reviews TLS configuration and key rotation patterns. It inspects TLS version and cipher posture, evaluates RNG quality, and validates practical key lifecycle correctness to identify exploitable weaknesses in your application.

When do I need to run a cryptography implementation review on my codebase?

You need a cryptography implementation review when code uses encryption but exhibits intermittent integrity issues, replay risks, or potential forgery. It pinpoints exact misuses like unauthenticated CBC usage or incorrect JWT verification to produce remediation steps.

Does the audit align its findings with standard security frameworks like OWASP and NIST?

Yes, the audit aligns its findings with OWASP and NIST guidance. It checks code against unsafe modes, detects parameterization errors, and produces audit-ready reports detailing exploitable cryptographic weaknesses and required fixes.