crypto-secrets

Scan application code and configuration for cryptography and secrets hygiene issues.

76|11|Updated May 18, 2026
One-click install
npx skills add https://github.com/superagent-ai/skills --skill crypto-secrets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-secrets
Source: https://github.com/superagent-ai/skills/tree/main/skills/crypto-secrets
Command: npx skills add https://github.com/superagent-ai/skills --skill crypto-secrets

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Audit application source code and configuration for cryptography and secrets hygiene issues: hardcoded API keys, committed .env files, private keys, weak hashes, insecure encryption modes, unsafe randomness, bad KDF/password hashing, JWT signing mistakes, disabled TLS verification, and dangerous serialization. Runs a dependency-free offline scanner for high-recall findings, then the model confirms impact and writes concrete fixes with redacted evidence. Use when reviewing app code that handles encryption, tokens, sessions, certificates, or credentials; when asked to scan for hardcoded secrets, exposed API keys, weak crypto, AES-ECB/CBC misuse, MD5/SHA1 password hashing, insecure random tokens, verify=False, InsecureSkipVerify, rejectUnauthorized false, alg none JWTs, or committed private keys. Not for Terraform/Kubernetes-only audits (use infra-security), package install-hook risk (use supply-chain-security), or vetting an agent skill before install (use skill-security).

Core Features & Use Cases

  • Stage 1 — the scanner: deterministically walks your target and flags weak crypto, insecure TLS/JWT patterns, and secret signatures without executing code.
  • Stage 2 — semantic judgment: you review each finding with context to confirm live secrets, assess exploitability, and craft concrete remediations with redacted evidence.
  • Output and guardrails: all results are returned with redacted secret values and actionable fixes, suitable for integration into risk reports.

Quick Start

Run the crypto-secrets scanner on your target directory to detect hardcoded keys and weak crypto.

Frequently Asked Questions about crypto-secrets

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

FAQPage Schema
How do I scan source code for hardcoded secrets and weak cryptography?

To scan source code for hardcoded secrets and weak cryptography, run an offline deterministic scanner that flags secret signatures and insecure crypto patterns, followed by model-driven verification to confirm impact and generate redacted remediation evidence.

How does static analysis find insecure JWT and TLS misconfigurations?

Static analysis finds insecure JWT and TLS misconfigurations by deterministically scanning code for patterns like alg none JWTs, verify=False, and rejectUnauthorized false, then applying semantic judgment to assess exploitability and craft concrete fixes.

Can I audit cryptography hygiene across multiple languages and environments?

Yes, you can audit cryptography hygiene across multiple languages and environments using a dependency-free offline scanner that flags weak hashes, unsafe randomness, and bad KDF password hashing, followed by model-driven verification of each finding.

What is the best way to detect AES-ECB misuse and MD5 password hashing in my application?

The best way to detect AES-ECB misuse and MD5 password hashing is a two-stage workflow: a deterministic scanner flags weak crypto candidates, then the model confirms exploitability and writes concrete remediations with redacted secret values.

When should I not use a cryptography secrets scanner for infrastructure audits?

You should not use a cryptography secrets scanner for Terraform or Kubernetes-only audits, package install-hook risk analysis, or agent skill vetting, as it specifically targets application source code and configuration handling encryption, tokens, and credentials.

Does the secrets audit scanner require external dependencies to run?

No, the secrets audit scanner runs a dependency-free offline scanner for high-recall findings during its first stage, ensuring static analysis works without requiring external packages or network access to flag weak crypto and secret signatures.