Files
pruefwerk/control-map/data/cra_control_map.json
T
Sharang ParnerkarandClaude Opus 5.5 05fa4975d8
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m32s
feat(sast): DevSkim for .NET without a build (#494)
Legacy .NET Framework code often cannot be built outside the customer's
Windows toolchain, so no Roslyn analyser applies. DevSkim (MIT, Microsoft)
matches its rules on the source text and now runs as the sast_dotnet stage
on every tree with C# or VB.NET code: .cs, .vb, Razor/ASP.NET pages and
.config files, skipping bin/, obj/, packages/ and vendor directories
(anchored at the tree root).

- Only DevSkim's own rules at Critical/Important/Moderate (its ManualReview
  and BestPractice hints are not findings); DS205000 (NuGet feed mapping),
  DS184626 (controller base class) and DS440000 (generic twin of DS440020)
  are left out, and two that flood real C# (OpenRA, eShopOnWeb): DS148264
  matches any method named Random (71 hits in OpenRA), DS126858 the bare
  words md5/sha1, identifiers included (35). DS168931 and our own semgrep
  rules still cover broken hashes and System.Random. What remains: 3 hits
  in OpenRA (test vectors), 14 Low http:// hits in eShopOnWeb seed data;
  each run took about 2 s.
- SARIF is read with import::sarif::parse; findings are normalised like the
  other scanners (relative path, whole source line as snippet, one finding
  per rule/file/line), severity from DevSkim's own Critical/Important/
  Moderate (its SARIF level says "error" for both of the first two).
- DevSkim's SARIF names no CWE, so pipeline/devskim.rs gives each rule one;
  the control map binds the devskim tool by CWE to cra-ai-1, 8, 10, 13, 14,
  15, 16 and 20 for csharp and vb. A test checks every mapped rule reaches a
  control. A failed run is a sast_dotnet skip, so those controls read "not
  assessed" instead of clean.
- languages.rs now records VB.NET (vb).

Image: the CLI is published as a .NET tool on nuget.org only (no release
binaries). Dockerfile.agent pins the 1.0.100 nupkg by sha256 and the .NET
10.0.12 runtime (no SDK) by sha512, keeps only the linux-x64 natives, and
runs it through docker/devskim.sh with invariant globalisation (no ICU).
The tools stage grows from 1.525 GB to 1.623 GB (+98.5 MB: runtime 80 MB,
DevSkim 16 MB). Checked in that image as the unprivileged user with an empty
environment and --network none: it runs offline. tool-versions.json lists
devskim and dotnet-runtime.

Fixtures: fixtures/dotnet/legacy-sample, a small vulnerable C#/VB.NET
library with a Web.config (SSL 3, certificate validation off, DES, XXE,
BinaryFormatter in VB.NET, tracing, cookies without Secure), and nightly
targets for it and for framework48; their baselines need a bless run after
deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 14:37:31 +02:00

1390 lines
41 KiB
JSON

{
"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."
},
{
"tool": "binary-inventory",
"scan_type": "malware",
"languages": [],
"cwe": [],
"rules": [
"binary-no-aslr",
"binary-no-nx",
"binary-no-relro"
],
"check": "A committed executable or library must be built with the operating system's basic exploit mitigations on (ASLR/PIE, DEP/non-executable stack, RELRO); one without them is not secure by default. Defence-in-depth extras (CFG, SafeSEH, stack protector, FORTIFY, high-entropy ASLR) are reported but not bound here.",
"attach_only": true
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"csharp",
"generic",
"java",
"python"
],
"cwe": [
"CWE-942",
"CWE-732",
"CWE-1104",
"CWE-1327",
"CWE-554"
],
"rules": [
"elttam-default-properties-devmode",
"elttam-struts-xml-devmode",
"elttam-web-xml-devmode",
"elttam-struts-xml-action-dmi",
"elttam-struts-xml-dmi",
"elttam-taglib-action-dmi",
"elttam-struts-xml-always-select-full-namespace"
],
"check": "Vendored rules (GitLab, elttam): the shipped configuration must be secure by default; a development mode left on (Struts devMode or dynamic method invocation), permissive CORS, world-writable file permissions, a service bound to all interfaces or a missing input-validation framework violates it."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-489"
],
"rules": [],
"check": "The shipped configuration must be secure by default; ASP.NET tracing switched on in Web.config 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": []
},
{
"tool": "binary-inventory",
"scan_type": "malware",
"languages": [],
"cwe": [],
"rules": [
"binary-hex-invalid"
],
"check": "A committed firmware image whose Intel HEX record checksums or structure do not verify cannot be shown to be the image that was built.",
"attach_only": true
}
],
"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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"csharp",
"java"
],
"cwe": [
"CWE-287",
"CWE-306",
"CWE-521",
"CWE-1390"
],
"rules": [],
"check": "Vendored rules (GitLab): access must require strong authentication; an anonymous LDAP bind, an empty database password, missing password complexity or SAML comment handling that lets a signature be bypassed 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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"java"
],
"cwe": [
"CWE-259",
"CWE-798"
],
"rules": [],
"check": "Vendored rules (GitLab): no password or key may be written into the source; a real credential assigned in code violates it. A placeholder or an empty value does not."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"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. A placeholder does not violate 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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"csharp",
"go",
"java"
],
"cwe": [
"CWE-352",
"CWE-614",
"CWE-1004",
"CWE-1275"
],
"rules": [],
"check": "Vendored rules (GitLab, elttam): session state must be protected; cookies without Secure, HttpOnly or a safe SameSite value, and state-changing handlers without CSRF protection violate it."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-614"
],
"rules": [],
"check": "Session and authentication cookies must be Secure; a Web.config that turns the Secure flag off 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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"csharp",
"java",
"javascript",
"python"
],
"cwe": [
"CWE-208",
"CWE-326",
"CWE-327",
"CWE-780"
],
"rules": [
"elttam-gcm-static-iv"
],
"check": "Vendored rules (GitLab, elttam): sensitive data must be protected with current algorithms; DES, RC4, MD5, SHA-1, ECB, RSA without padding, short keys, a static GCM nonce or a timing-unsafe comparison of secrets violates it. A non-security use (a cache key, a checksum of public data) does not."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-327",
"CWE-328"
],
"rules": [],
"check": "Data must not be protected with a broken algorithm: MD5, SHA-1, DES, 3DES, RC2 or ECB mode used for integrity or confidentiality violates it. A non-security use (a cache key, a checksum of public data) does not."
}
],
"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."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-311"
],
"rules": [],
"check": "Data protected with DPAPI (ProtectedData) needs additional entropy; without it any process of the same user can read it."
}
],
"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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"csharp",
"go",
"java",
"python"
],
"cwe": [
"CWE-295",
"CWE-297",
"CWE-319",
"CWE-322",
"CWE-757"
],
"rules": [],
"check": "Vendored rules (GitLab): network traffic must use TLS 1.2 or newer with certificate and host checking; disabled verification, plain-text protocols (HTTP, FTP, SMTP, telnet) for sensitive data or an old protocol version violates it."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-295",
"CWE-319",
"CWE-757"
],
"rules": [],
"check": "Network traffic must use TLS 1.2 or newer with certificate checking; a disabled certificate check, an outdated or hard-coded old protocol version, or plain http:// for data that needs protection 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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"c",
"cpp",
"csharp",
"java",
"javascript",
"python",
"typescript"
],
"cwe": [
"CWE-321",
"CWE-330",
"CWE-338"
],
"rules": [],
"check": "Vendored rules (GitLab, 0xdea): keys, tokens and nonces need a cryptographically secure random generator; rand(), java.util.Random, Math.random or the random module for them violates it."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-338",
"CWE-321"
],
"rules": [],
"check": "Keys, tokens and nonces need a cryptographic random generator (RandomNumberGenerator), and private keys must not be committed; System.Random or a time-based seed for them 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."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"c",
"cpp",
"csharp",
"generic",
"go",
"java",
"javascript",
"python",
"typescript"
],
"cwe": [
"CWE-15",
"CWE-20",
"CWE-22",
"CWE-77",
"CWE-78",
"CWE-79",
"CWE-88",
"CWE-89",
"CWE-90",
"CWE-91",
"CWE-94",
"CWE-95",
"CWE-113",
"CWE-116",
"CWE-125",
"CWE-131",
"CWE-134",
"CWE-155",
"CWE-158",
"CWE-170",
"CWE-180",
"CWE-182",
"CWE-185",
"CWE-190",
"CWE-193",
"CWE-200",
"CWE-209",
"CWE-242",
"CWE-252",
"CWE-362",
"CWE-364",
"CWE-367",
"CWE-377",
"CWE-415",
"CWE-416",
"CWE-467",
"CWE-502",
"CWE-552",
"CWE-562",
"CWE-590",
"CWE-601",
"CWE-611",
"CWE-643",
"CWE-676",
"CWE-683",
"CWE-686",
"CWE-696",
"CWE-697",
"CWE-704",
"CWE-762",
"CWE-770",
"CWE-787",
"CWE-806",
"CWE-839",
"CWE-917",
"CWE-918",
"CWE-1260",
"CWE-1333"
],
"rules": [
"elttam-potential-symlink-takeover-with-os-executable",
"elttam-sprintf-unescaped-control-characters",
"elttam-non-atomic-use-of-converted-uintptr",
"elttam-UnsafeHttpInvokerServiceExporter-XML"
],
"check": "Vendored rules (GitLab, 0xdea, elttam): untrusted input must not reach an interpreter, the file system, a deserialiser or a fixed-size buffer unchecked; injection (SQL, OS command, LDAP, XPath, XSS, template), path traversal, unsafe deserialisation, XXE, SSRF, open redirects, and memory errors (unbounded copies, off-by-one, use after free, double free, integer wraparound) violate it."
},
{
"tool": "devskim",
"scan_type": "sast",
"languages": [
"csharp",
"vb"
],
"cwe": [
"CWE-502",
"CWE-611"
],
"rules": [],
"check": "Untrusted input must not reach an unsafe deserialiser (BinaryFormatter, NetDataContractSerializer, SoapFormatter, LosFormatter) or an XML parser that resolves external entities."
}
],
"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"
}
]
}