Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cosmian KMS — Multi-Framework Security Audit

Audit date: 2026-08-18T08:47:56Z Frameworks: NIST CSF 2.0 / SSDF (SP 800-218) · CIS Controls v8 · ISO/IEC 27034 · OSSTMM Repository: kms — branch feat/split_key Commit: a02a3ebbe

Automated Audit Checks

StatusCheck
⚠️ WARNgitleaks not installed — skipping secret scan
✅ PASSunsafe block count: 345 (< 350 threshold; mostly FFI wrappers)
⚠️ WARNcargo audit: advisories found — run 'cargo audit' for details (non-blocking for warnings)
✅ PASScargo deny: no banned dependencies or features
✅ PASSdeny.toml bans serde_json unbounded_depth feature
✅ PASSStructured logging (OTLP/rolling) configuration found
✅ PASSSafe default bind address (127.0.0.1 / localhost) found in codebase
✅ PASSJWKS HTTPS guard (validate_jwks_uris_are_https or equivalent) present in codebase
✅ PASSDB URL password masking (**** placeholder) found
✅ PASSTLS P12 password masking found
✅ PASSJWKS HTTP client disables redirect following (SSRF guard) in jwks.rs
✅ PASSNo wildcard CORS origin found in default server configuration
✅ PASSTTLV/XML recursion depth limit constant found in codebase
✅ PASSJWT algorithm allowlist found in codebase
✅ PASSNo legacy TLS 1.0/1.1 configuration detected
✅ PASSFiles with panic!() (non-test): 16 (< 20 threshold)
⚠️ WARNHard-coded privileged usernames found in config source — verify intent
✅ PASSZeroize/Secrecy usage found for sensitive key material
⚠️ WARNunwrap() count (non-test): 1808 — review each call site
✅ PASSAccess-control module (/Users/manu/Cosmian/core/cli_alt3/kms/crate/access) exists
⚠️ WARNsemgrep not installed — skipping static analysis (run: pip install semgrep)

Summary

  • Passed: 16
  • ⚠️ Warnings: 5
  • Failed: 0

AUDIT PASSED WITH WARNINGS — 5 item(s) require review.


Report auto-generated by .mise/scripts/audit/multi_framework.sh on 2026-08-18T08:47:56Z