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

Sovereign, high-performance data protection

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