{ "version": "1.0", "framework": "cra", "controls": [ { "control": "cra-ai-1", "title": "Secure-by-Default-Konfiguration", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "javascript", "typescript" ], "cwe": [], "rules": [ "cra-ai-1-flask-debug-enabled", "cra-ai-1-django-debug-true", "cra-ai-1-tls-verify-disabled", "cra-ai-1-cors-wildcard" ] }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin" ], "cwe": [ "CWE-489", "CWE-1104", "CWE-276", "CWE-1021", "CWE-284" ], "rules": [] }, { "tool": "dotnet-config", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "dotnet-config-debug-compilation", "dotnet-config-custom-errors-off" ], "check": "The shipped configuration must be secure by default; ASP.NET debug compilation or detailed errors shown to every client violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-2", "title": "Minimale Angriffsfläche", "scans": [], "note": "design property (minimal attack surface) — not derivable from local code patterns; architecture/threat-model review", "status": "not_code_checkable" }, { "control": "cra-ai-3", "title": "Sichere Systemarchitektur", "scans": [], "note": "design property (secure system architecture) — architecture review, not statically code-checkable", "status": "not_code_checkable" }, { "control": "cra-ai-4", "title": "Least-Privilege-Prinzip", "scans": [], "note": "design property (least-privilege) — deployment/IAM & architecture review, not a local code pattern", "status": "not_code_checkable" }, { "control": "cra-ai-5", "title": "Manipulationsschutz", "scans": [], "note": "design property (tamper protection) — hardware/runtime & operational control, not statically code-checkable", "status": "not_code_checkable" }, { "control": "cra-ai-6", "title": "Integritätsprüfung", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-7", "title": "Starke Authentifizierung", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python" ], "cwe": [], "rules": [ "cra-ai-7-weak-password-hash" ], "check": "Passwords must be stored with a slow, salted password hash (bcrypt, scrypt, Argon2id, PBKDF2); a fast or unsalted hash (MD5, SHA-1, SHA-256) of a password violates it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift", "objc" ], "cwe": [ "CWE-287", "CWE-305", "CWE-303" ], "rules": [], "check": "Passwords must be stored with a slow, salted password hash (bcrypt, scrypt, Argon2id, PBKDF2); a fast or unsalted hash (MD5, SHA-1, SHA-256) of a password violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-8", "title": "Keine Default-Passwörter", "scans": [ { "tool": "gitleaks", "scan_type": "secret_detection", "languages": [], "cwe": [], "rules": [], "check": "No credential (password, key, token) may be written into the product's source or configuration: every installation would ship the same secret." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "c", "cpp" ], "cwe": [ "CWE-798", "CWE-259" ], "rules": [ "cra-ai-8-python-hardcoded-credential", "cra-ai-8-c-hardcoded-credential" ], "check": "No credential (password, key, token) may be written into the product's source, as a variable or a #define: every device would ship the same secret. A placeholder or an empty value does not violate it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin" ], "cwe": [ "CWE-798" ], "rules": [], "check": "No credential (password, key, token) may be written into the product's source or configuration: every installation would ship the same secret." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "cra-ai-8-csharp-hardcoded-credential" ], "check": "No password, key or secret may be written into the source; a real credential assigned to a password- or key-like name violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-9", "title": "Sicheres Credential-Management", "scans": [ { "tool": "gitleaks", "scan_type": "secret_detection", "languages": [], "cwe": [], "rules": [], "check": "Credentials must not be kept in plain text in the source or configuration; a real secret committed to the repository violates it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "swift", "objc" ], "cwe": [ "CWE-312" ], "rules": [], "check": "Credentials must not be kept in plain text in the source or configuration; a real secret committed to the repository violates it." }, { "tool": "dotnet-config", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "dotnet-config-cleartext-password" ], "check": "Credentials must not be kept in plain text in the configuration; a real password in a connection string or application setting violates it." }, { "tool": "secret-files", "scan_type": "secret_detection", "languages": [], "cwe": [], "rules": [ "secret-file-publish-profile" ], "check": "Credentials must not be kept in the repository; a publish profile with deployment credentials (.publishsettings, .pubxml.user, a .pubxml with a password) violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-10", "title": "Sitzungsmanagement", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "javascript", "typescript" ], "cwe": [], "rules": [ "cra-ai-10-session-cookie-insecure", "cra-ai-10-express-cookie-insecure" ], "check": "Session cookies must be protected: set Secure and HttpOnly (and SameSite). A session cookie configured without them violates it." }, { "tool": "dotnet-config", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "dotnet-config-insecure-cookies" ], "check": "Session and authentication cookies must be Secure and HttpOnly; httpCookies without requireSSL or httpOnlyCookies violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-11", "title": "Brute-Force-Schutz", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-12", "title": "Rollenbasierte Autorisierung", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-13", "title": "Verschlüsselung sensibler Daten", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "c", "cpp" ], "cwe": [ "CWE-327", "CWE-326" ], "rules": [ "cra-ai-13-c-broken-hash-or-cipher" ], "check": "Data must not be protected with a broken algorithm: MD5, SHA-1 or DES used for integrity or confidentiality violates it. A non-security use (a cache key, a checksum of public data) does not." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift", "objc" ], "cwe": [ "CWE-327", "CWE-326", "CWE-780", "CWE-649", "CWE-329", "CWE-1204" ], "rules": [], "check": "Data must not be protected with a broken algorithm: MD5, SHA-1 or DES used for integrity or confidentiality violates it. A non-security use (a cache key, a checksum of public data) does not." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "cra-ai-13-csharp-broken-hash-or-cipher", "cra-ai-13-csharp-ecb-mode" ], "check": "Sensitive data must be protected with current algorithms; MD5, SHA-1, DES, 3DES, RC2 or ECB mode used for it violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-14", "title": "Speicher-Schutz (Data at Rest)", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "javascript", "typescript" ], "cwe": [], "rules": [ "cra-ai-14-python-weak-cipher", "cra-ai-14-node-weak-cipher" ], "check": "Stored data must be encrypted with a current cipher and mode (AES-GCM, ChaCha20-Poly1305); DES, RC4, ECB mode or a hard-coded key violates it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift", "objc" ], "cwe": [ "CWE-921", "CWE-311", "CWE-312", "CWE-532" ], "rules": [], "check": "Stored data must be encrypted with a current cipher and mode (AES-GCM, ChaCha20-Poly1305); DES, RC4, ECB mode or a hard-coded key violates it." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "swift", "objc", "regex" ], "cwe": [], "rules": [ "cra-ai-14-swift-secret-in-userdefaults", "cra-ai-14-swift-secret-in-appstorage", "cra-ai-14-objc-secret-in-userdefaults" ], "check": "An iOS app must keep passwords, tokens and keys in the Keychain; storing them in UserDefaults (also through @AppStorage), an unencrypted plist in the app container, violates it. The Objective-C rule is a regex pattern (semgrep has no Objective-C parser), hence the regex language." } ], "note": null, "status": "covered" }, { "control": "cra-ai-15", "title": "Transport-Schutz (Data in Transit)", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "javascript", "typescript" ], "cwe": [], "rules": [ "cra-ai-15-python-cleartext-http", "cra-ai-15-node-cleartext-http" ], "check": "Network traffic must use TLS 1.2 or newer with certificate checking; plain HTTP for sensitive data, disabled verification or old protocol versions violate it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift", "objc" ], "cwe": [ "CWE-295", "CWE-319", "CWE-757" ], "rules": [], "check": "Network traffic must use TLS 1.2 or newer with certificate checking; plain HTTP for sensitive data, disabled verification or old protocol versions violate it." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "cra-ai-15-csharp-cert-validation-disabled" ], "check": "TLS connections must validate the server certificate; a validation callback that accepts every certificate violates it." }, { "tool": "dotnet-config", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "dotnet-config-wcf-insecure-binding" ], "check": "Network traffic must be encrypted; a WCF binding with security mode None or TransportCredentialOnly, or a basicHttpBinding without transport security, violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-16", "title": "Sicheres Schlüsselmanagement", "scans": [ { "tool": "gitleaks", "scan_type": "secret_detection", "languages": [], "cwe": [], "rules": [], "check": "Keys must not be committed to the source: a private key or secret key in the repository violates it." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "c", "cpp" ], "cwe": [ "CWE-798", "CWE-321" ], "rules": [ "cra-ai-16-c-predictable-random" ], "check": "Keys, nonces, tokens and session ids must come from a cryptographically secure random source (the MCU's hardware RNG, a DRBG); rand() used for them violates it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift" ], "cwe": [ "CWE-330", "CWE-321" ], "rules": [], "check": "Keys must not be committed to the source: a private key or secret key in the repository violates it." }, { "tool": "secret-files", "scan_type": "secret_detection", "languages": [], "cwe": [], "rules": [ "secret-file-private-key", "secret-file-signing-key" ], "check": "Keys must not be committed to the source: a private-key store (.pfx, .p12, .jks, .keystore) or strong-name key pair (.snk) in the repository violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-17", "title": "Datenminimierung", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-18", "title": "Strukturierter SSDLC", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-19", "title": "Systematische Code Reviews", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-20", "title": "Automatisierte Sicherheitstests", "scans": [ { "tool": "semgrep", "scan_type": "sast", "languages": [ "python", "javascript", "typescript", "c", "cpp" ], "cwe": [ "CWE-89", "CWE-78", "CWE-79", "CWE-22" ], "rules": [ "cra-ai-20-python-shell-command", "cra-ai-20-python-sql-string", "cra-ai-20-python-unsafe-deserialization", "cra-ai-20-node-shell-command", "cra-ai-20-node-reflected-input", "cra-ai-20-c-unbounded-string-function", "cra-ai-20-c-scanf-unbounded-string", "cra-ai-20-c-non-literal-format-string" ], "check": "Untrusted input must not reach a shell, an SQL statement or an HTML response unencoded, and the code must not write past a buffer or let input control a format string: a command or query built from a variable, request input echoed into a response, strcpy, strcat, sprintf, gets, scanf(\"%s\") or a non-literal format argument violates it." }, { "tool": "cppcheck", "scan_type": "sast", "languages": [ "c", "cpp" ], "cwe": [ "CWE-119", "CWE-120", "CWE-121", "CWE-122", "CWE-125", "CWE-131", "CWE-190", "CWE-369", "CWE-401", "CWE-415", "CWE-416", "CWE-457", "CWE-476", "CWE-562", "CWE-758", "CWE-786", "CWE-787", "CWE-788" ], "rules": [], "check": "The code must be free of memory-safety defects: out-of-bounds access, use of uninitialised memory, leaks, null dereferences and similar defects violate it." }, { "tool": "mobsfscan", "scan_type": "sast", "languages": [ "java", "kotlin", "swift", "objc" ], "cwe": [ "CWE-78", "CWE-611", "CWE-502", "CWE-749", "CWE-95", "CWE-73", "CWE-676" ], "rules": [], "check": "Untrusted input must not reach a shell, an SQL statement or an HTML response unencoded, and the code must not write past a buffer or let input control a format string: a command or query built from a variable, request input echoed into a response, strcpy, strcat, sprintf, gets, scanf(\"%s\") or a non-literal format argument violates it." }, { "tool": "semgrep", "scan_type": "sast", "languages": [ "csharp" ], "cwe": [], "rules": [ "cra-ai-20-csharp-sql-string", "cra-ai-20-csharp-process-start", "cra-ai-20-csharp-unsafe-deserialization", "cra-ai-20-csharp-xxe", "cra-ai-20-csharp-path-traversal" ], "check": "Input from outside must not reach SQL, the command line, a type-resolving deserializer, an XML parser with external entities, or a file path unchecked; such a flow in C# code violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-21", "title": "Supply-Chain-Security", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-22", "title": "Dependency-Monitoring", "scans": [ { "tool": "osv", "scan_type": "cve", "languages": [], "cwe": [], "rules": [] }, { "tool": "syft", "scan_type": "sbom", "languages": [], "cwe": [], "rules": [] }, { "tool": "dotnet-lifecycle", "scan_type": "sbom", "languages": [ "csharp" ], "cwe": [], "rules": [ "dotnet-framework-end-of-support" ], "check": "Components must still receive security updates; a project targeting a .NET or .NET Framework version past Microsoft's end of support violates it." }, { "tool": "build-lifecycle", "scan_type": "sbom", "languages": [ "java", "kotlin", "csharp", "swift", "objc" ], "cwe": [], "rules": [ "android-sdk-end-of-support", "unity-editor-end-of-support", "ios-deployment-target-end-of-support", "swift-version-end-of-support", "android-min-sdk-end-of-support" ], "check": "The platform a product is built for, and the tools it is built with, must still receive security updates; an Android API level, a Unity editor release, an iOS deployment target or an Android minimum API level out of support, or a Swift version no supported Xcode builds, violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-23", "title": "Software Bill of Materials (SBOM)", "scans": [ { "tool": "syft", "scan_type": "sbom", "languages": [], "cwe": [], "rules": [] }, { "tool": "build-lifecycle", "scan_type": "sbom", "languages": [ "java", "kotlin", "csharp" ], "cwe": [], "rules": [ "legacy-build-system-no-sbom" ], "check": "The product's components must be declared in a machine-readable form an SBOM can be built from; a build system that declares none (Eclipse/ADT, Unity without its package manifest) violates it." } ], "note": null, "status": "covered" }, { "control": "cra-ai-24", "title": "Security-Logging", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-25", "title": "Ereignis-Monitoring", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-26", "title": "Anomalie-Erkennung", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-27", "title": "Log-Integrität und -Aufbewahrung", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-28", "title": "Sichere Update-Mechanismen", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-29", "title": "Update-Authentizität", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-30", "title": "Update-Integrität", "scans": [ { "tool": "grounded-control-check", "scan_type": "code_review", "languages": [ "python", "javascript", "typescript", "go", "java", "ruby", "php", "rust", "csharp", "kotlin", "c", "cpp" ], "cwe": [], "rules": [] } ], "note": "covered by the grounded surface check (retrieve code surface + grounded LLM judge decides presence/absence); validated live", "status": "covered" }, { "control": "cra-ai-31", "title": "Lifecycle-Support", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-32", "title": "Schwachstellen-Identifikation", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-33", "title": "SBOM-Pflege und Analyse", "scans": [ { "tool": "syft", "scan_type": "sbom", "languages": [], "cwe": [], "rules": [] }, { "tool": "osv", "scan_type": "cve", "languages": [], "cwe": [], "rules": [] } ], "note": null, "status": "covered" }, { "control": "cra-ai-34", "title": "Risikobasierte Priorisierung", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-35", "title": "Coordinated Vulnerability Disclosure", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-36", "title": "Incident-Response-Prozess", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-37", "title": "Frühwarnung (24h)", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-38", "title": "Detaillierter Vorfallsbericht (72h)", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-39", "title": "Patch-Bereitstellung", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" }, { "control": "cra-ai-40", "title": "Dokumentation und Nachbereitung", "scans": [], "note": "process / document control — outside static-scan scope", "status": "not_code_checkable" } ] }