Scan your code for cryptographic risk. Get quantum-ready.
npx cryptoserve scan .That's it. Scans your project for cryptographic libraries, algorithms, weak patterns, and hardcoded secrets across 6 languages. No config, no server, no dependencies.
Found 4 crypto libraries, 3 source algorithms, 1 weak pattern
Quantum readiness: 40/100 (2 quantum-vulnerable algorithms)
# Node.js (zero dependencies, Node 18+)
npm install -g cryptoserve
# Python
pip install cryptoserveScan -- Find every cryptographic dependency, algorithm, weak pattern, and hardcoded secret in your codebase. Supports JavaScript/TypeScript, Go, Python, Java/Kotlin, Rust, and C/C++.
Assess -- Get a quantum readiness score with SNDL (Store Now, Decrypt Later) risk analysis and migration recommendations based on NIST FIPS 203/204/205 standards.
Generate -- Export a Cryptographic Bill of Materials (CBOM) in CycloneDX or SPDX format for supply chain compliance.
Enforce -- Add cryptoserve gate to your CI pipeline to block builds that use weak algorithms or fail quantum readiness thresholds.
cryptoserve scan . # Scan project (6 languages, 80+ algorithms)
cryptoserve scan . --binary # Include binary signature detection
cryptoserve pqc # Post-quantum readiness assessment
cryptoserve cbom --format cyclonedx # Generate CBOM
cryptoserve gate . --fail-on-weak # CI/CD quality gate
cryptoserve encrypt "secret" -p mypassword # Offline encryption
cryptoserve hash-password "mypassword" # Password hashing (scrypt)See the full CLI reference for all commands and flags.
| Language | Manifest | Source Detection |
|---|---|---|
| JavaScript/TypeScript | package.json |
Imports, algorithm literals, weak patterns |
| Go | go.mod |
crypto/* stdlib, x/crypto, circl |
| Python | requirements.txt, pyproject.toml |
hashlib, cryptography, PyCryptodome |
| Java/Kotlin | pom.xml |
Cipher.getInstance, MessageDigest, KeyPairGenerator |
| Rust | Cargo.toml |
aes-gcm, ring, ed25519-dalek, pqcrypto |
| C/C++ | -- | OpenSSL EVP_*, RSA_*, SHA*_Init |
Add to any CI pipeline:
- name: Crypto gate
run: npx cryptoserve gate . --fail-on-weak --max-risk medium --format sarifThe gate command exits non-zero when violations are found. Use --format sarif to upload results to GitHub's Security tab.
Zero-dependency ES module SDK. Import individual modules:
import { scanProject } from 'cryptoserve/lib/scanner.mjs';
import { analyzeOffline } from 'cryptoserve/lib/pqc-engine.mjs';
import { generateCbom, toCycloneDx } from 'cryptoserve/lib/cbom.mjs';
import { encrypt, decrypt } from 'cryptoserve/lib/local-crypto.mjs';See the Node.js SDK README.
The Python SDK adds managed key management and context-aware algorithm selection when connected to a CryptoServe server:
from cryptoserve import CryptoServe
crypto = CryptoServe(app_name="my-app", team="platform")
ciphertext = crypto.encrypt(b"data", context="user-pii")
plaintext = crypto.decrypt(ciphertext, context="user-pii")See the Python SDK docs.
The optional server adds centralized key management, policy enforcement, and a dashboard. The CLI works fully standalone without it.
docker run -d -p 8003:8003 -p 3000:3000 -v cryptoserve-data:/data ghcr.io/ecolibria/crypto-serveAPI: http://localhost:8003 | Dashboard: http://localhost:3000
curl -fsSL https://raw.githubusercontent.com/ecolibria/crypto-serve/main/scripts/quickstart.sh | shDownloads the compose file, generates secrets, and starts PostgreSQL + backend + frontend. See the production deployment guide.
| Feature | Description |
|---|---|
| Key Management | Automatic rotation, versioning, HKDF derivation, Shamir secret sharing, HSM/KMS backends |
| Context Model | 5-layer algorithm selection: sensitivity, compliance, threats, access patterns, constraints |
| Policy Engine | Declarative rules with CI/CD gate enforcement |
| Multi-Tenancy | Per-tenant isolation with separate keys and policies |
| Audit & Compliance | SIEM integration, FIPS 140-2/3 modes |
| Identity | OAuth (GitHub/Google/Azure/Okta), RBAC, SDK token management |
| Resource | Description |
|---|---|
| Getting Started | Installation and quickstart |
| CLI Reference | All commands, flags, and examples |
| Python SDK | SDK reference |
| API Reference | REST API |
| Architecture | Context model, policy engine, key management |
| Post-Quantum | ML-KEM, ML-DSA, SLH-DSA, hybrid key exchange |
| Security | FIPS compliance, threat model |
See what cryptography the open-source ecosystem actually uses:
npx cryptoserve censusScans npm, PyPI, crates.io, Go, and Maven package registries. Live dashboard at census.cryptoserve.dev.
Report vulnerabilities via GitHub Security Advisories. See SECURITY.md.
See CONTRIBUTING.md.
Apache License 2.0. See LICENSE.