Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
crypto-scanner — CLI tool to scan codebases for quantum-vulnerable cryptography | Kitploit
Tools/GitHubGitHub/mbennett-labs/crypto-scanner
Static Code Analysis (SAST)Vulnerability AnalysisCode AnalysisCryptographyDevSecOpsSecret DetectionSupply Chain Security
GitHubmbennett-labs/crypto-scanner

crypto-scanner

CLI tool to scan codebases for quantum-vulnerable cryptography

View Repository
6348 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Crypto Scanner

Scan your codebase for quantum-vulnerable cryptography before it's too late.

PyPI Version PyPI Downloads Python 3.10+ License: MIT Build Status

Quick Start • Why Quantum-Ready? • Usage • Risk Levels • CI/CD • About


Overview

Crypto Scanner is a CLI tool that scans your codebase for cryptographic algorithms and generates quantum-vulnerability risk assessments. It analyzes source code, configuration files, and X.509 certificates to identify cryptography that will be broken by quantum computers.

Developed by Quantum Shield Labs — helping organizations prepare for the post-quantum era.


Why Quantum-Ready?

The Quantum Threat Is Real

Cryptographically Relevant Quantum Computers (CRQCs) capable of breaking RSA and ECC are projected to emerge by 2033. This isn't science fiction—it's a timeline that major governments and enterprises are actively preparing for.

Harvest Now, Decrypt Later (HNDL)

Adversaries are already collecting encrypted data today with the intention of decrypting it once quantum computers become available. If your data has long-term value (healthcare records, financial data, trade secrets, government communications), it's already at risk.

Why You Can't Wait

ChallengeReality
Migration complexityLarge codebases take 3-5+ years to transition
Supply chain depthYour dependencies contain vulnerable crypto you don't see
Compliance mandatesNIST PQC standards (ML-KEM, ML-DSA) are now finalized
CNSA 2.0 deadlineNSA requires quantum-resistant algorithms by 2033

Shor's Algorithm: The Threat

Shor's algorithm, running on a sufficiently powerful quantum computer, can efficiently factor large integers and compute discrete logarithms. This breaks:

  • RSA (all key sizes)
  • ECDSA/ECC (all curves)
  • DH/ECDH (key exchange)
  • DSA (digital signatures)

The First Step: Inventory

You can't migrate what you don't know you have. Crypto Scanner provides the cryptographic inventory that is the essential first step in any quantum readiness program.

📘 Learn more: Read the Quantum Shield Labs Playbook for comprehensive migration guidance.


Quick Start

Get your first quantum vulnerability scan in under 60 seconds:

# Install from PyPI
pip install crypto-scanner

# Scan your project
crypto-scanner scan .

# Generate an executive HTML report
crypto-scanner scan . --html --output quantum-risk-report.html

That's it. You now have a complete cryptographic inventory of your codebase.


Installation

From PyPI (Recommended)

pip install crypto-scanner

From Source

git clone https://github.com/mbennett-labs/crypto-scanner.git
cd crypto-scanner
pip install -e .

Requirements

  • Python 3.10 or higher
  • Works on Windows, macOS, and Linux

Usage

Basic Commands

# Scan a directory (JSON output to stdout)
crypto-scanner scan <directory>

# Show supported file types and risk classifications
crypto-scanner info

# Display version
crypto-scanner --version

CLI Options

OptionShortDescription
--htmlGenerate HTML report instead of JSON
--output-oSave report to file (instead of stdout)
--verbose-vShow detailed scanning progress
--exclude-eAdditional exclude patterns (repeatable)
--version-VShow version and exit

Examples

# Scan with verbose output
crypto-scanner scan ./src --verbose

# Save JSON report to file
crypto-scanner scan . --output crypto-audit.json

# Generate branded HTML report for stakeholders
crypto-scanner scan . --html --output quantum-assessment.html

# Exclude specific directories
crypto-scanner scan . --exclude vendor --exclude legacy

# Exclude file patterns
crypto-scanner scan . --exclude "*.test.js" --exclude "*.spec.ts"

# Combine options
crypto-scanner scan ./backend -v --exclude node_modules -o report.json

Default Exclusions

The following are automatically excluded to avoid scanning dependencies:

.git, .svn, .hg          # Version control
node_modules, vendor     # Package dependencies
__pycache__, .pytest_cache, .mypy_cache
.venv, venv, env         # Virtual environments
dist, build, out         # Build outputs
.idea, .vscode           # IDE directories
site-packages, third_party

Risk Classification

Critical — Quantum Vulnerable

Algorithms that will be completely broken by Shor's algorithm:

AlgorithmKey SizesQuantum ImpactRecommended Action
RSAAll (1024-4096+)Completely brokenMigrate to ML-KEM + ML-DSA
ECDSA/ECCAll curvesCompletely brokenMigrate to ML-DSA
DH/ECDHAllKey exchange brokenMigrate to ML-KEM
DSAAllCompletely brokenMigrate to ML-DSA

High — Deprecated or Weak

Algorithms with known classical vulnerabilities:

AlgorithmIssueRecommended Action
MD5Collision attacks, completely brokenReplace with SHA-3 or SHA-256
SHA-1Collision attacks demonstratedReplace with SHA-256+
DES56-bit key, trivially brokenReplace with AES-256
3DESMeet-in-the-middle attacksReplace with AES-256
AES-128Grover's algorithm reduces securityUpgrade to AES-256

Medium — Monitor

Algorithms that are currently secure but should be monitored:

AlgorithmStatusRecommended Action
SHA-256Secure, Grover reduces to 128-bitPlan migration to SHA-3
SHA-384SecureMonitor developments
SHA-512Good quantum resistanceMonitor developments
TLS 1.2Secure but agingPrefer TLS 1.3

Low — Adequate or Quantum-Resistant

Algorithms that provide adequate protection:

AlgorithmStatusNotes
AES-256Quantum-resistant128-bit post-quantum security
ChaCha20Modern, secureGood AES alternative
SHA-3Latest NIST standardRecommended for new projects
ML-KEMPost-quantum (Kyber)NIST standardized 2024
ML-DSAPost-quantum (Dilithium)NIST standardized 2024

Supported File Types

Source Code

ExtensionLanguage
.py, .pywPython
.js, .mjs, .cjsJavaScript
.ts, .tsxTypeScript
.javaJava
.goGo
.rsRust
.c, .h, .cpp, .hppC/C++
.csC#
.rbRuby
.phpPHP
.swiftSwift
.kt, .ktsKotlin
.scalaScala
Download Tool