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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"benchmarks": [
|
| 4 |
{
|
| 5 |
"evidence": {
|
|
@@ -134,7 +857,7 @@
|
|
| 134 |
"generated_from": "live importlib.metadata + requirements.lock, no hand-written list",
|
| 135 |
"malformed_purls": [],
|
| 136 |
"missing_required_fields": [],
|
| 137 |
-
"serial_number": "urn:uuid:
|
| 138 |
"spec_version": "1.5"
|
| 139 |
},
|
| 140 |
"id": "04_sbom_cyclonedx",
|
|
@@ -146,11 +869,11 @@
|
|
| 146 |
"evidence": {
|
| 147 |
"branch": "main",
|
| 148 |
"command": "git status --porcelain && git log --oneline -1 && git fsck --no-progress",
|
| 149 |
-
"commits":
|
| 150 |
"gitignore_present": true,
|
| 151 |
"governed_by_changelog": true,
|
| 152 |
-
"head": "
|
| 153 |
-
"latest_commit": "
|
| 154 |
"remotes": [],
|
| 155 |
"repo": true,
|
| 156 |
"tags": [],
|
|
@@ -179,13 +902,13 @@
|
|
| 179 |
"LLM10"
|
| 180 |
],
|
| 181 |
"controls_mapped": 10,
|
| 182 |
-
"
|
| 183 |
"controls_with_evidence_present": 10,
|
| 184 |
"coverage_command": "anticloud-ref bench --framework owasp_llm_top10 # 10/10 controls have a present evidence file",
|
| 185 |
"coverage_pct": 100.0,
|
| 186 |
"framework": "OWASP Top 10 for LLM Applications",
|
| 187 |
"scope_of_claim": "All ten categories PASS by verified non-capability: the package imports no ML runtime (no torch, transformers, vllm, sentence-transformers) and contains no prompt, model or agent surface. A PASS means the risk is structurally absent, not mitigated.",
|
| 188 |
-
"
|
| 189 |
},
|
| 190 |
"id": "06_owasp_llm_top10",
|
| 191 |
"ok": true,
|
|
@@ -208,13 +931,13 @@
|
|
| 208 |
"A10:2021"
|
| 209 |
],
|
| 210 |
"controls_mapped": 9,
|
| 211 |
-
"
|
| 212 |
"controls_with_evidence_present": 9,
|
| 213 |
"coverage_command": "anticloud-ref bench --framework owasp_top10 # 9/9 controls have a present evidence file",
|
| 214 |
"coverage_pct": 100.0,
|
| 215 |
"framework": "OWASP Top 10 (2021)",
|
| 216 |
"scope_of_claim": "All ten categories are mapped to an implemented control; each PASS asserts the mapped test exists and that the named non-capability (no listener, no egress) holds in source. It is not a penetration test.",
|
| 217 |
-
"
|
| 218 |
},
|
| 219 |
"id": "07_owasp_top10",
|
| 220 |
"ok": true,
|
|
@@ -237,13 +960,13 @@
|
|
| 237 |
"CC6.1"
|
| 238 |
],
|
| 239 |
"controls_mapped": 9,
|
| 240 |
-
"
|
| 241 |
"controls_with_evidence_present": 9,
|
| 242 |
"coverage_command": "anticloud-ref bench --framework soc2 # 9/9 controls have a present evidence file",
|
| 243 |
"coverage_pct": 100.0,
|
| 244 |
"framework": "SOC 2 (TSC 2017 revised 2022)",
|
| 245 |
"scope_of_claim": "Trust Services Criteria are mapped to implemented controls and verified by execution. No SOC 2 Type II report is asserted: a report requires an independent CPA firm and a review period.",
|
| 246 |
-
"
|
| 247 |
},
|
| 248 |
"id": "08_soc2_type2",
|
| 249 |
"ok": true,
|
|
@@ -265,13 +988,13 @@
|
|
| 265 |
"MANAGE-4.1"
|
| 266 |
],
|
| 267 |
"controls_mapped": 8,
|
| 268 |
-
"
|
| 269 |
"controls_with_evidence_present": 8,
|
| 270 |
"coverage_command": "anticloud-ref bench --framework nist_ai_rmf # 8/8 controls have a present evidence file",
|
| 271 |
"coverage_pct": 100.0,
|
| 272 |
"framework": "NIST AI Risk Management Framework 1.0",
|
| 273 |
"scope_of_claim": "GOVERN/MAP/MEASURE/MANAGE functions are mapped and verified. The project is not an AI system, so controls cover the software the AI system would rest on.",
|
| 274 |
-
"
|
| 275 |
},
|
| 276 |
"id": "09_nist_ai_rmf",
|
| 277 |
"ok": true,
|
|
@@ -297,13 +1020,13 @@
|
|
| 297 |
"SC-13"
|
| 298 |
],
|
| 299 |
"controls_mapped": 12,
|
| 300 |
-
"
|
| 301 |
"controls_with_evidence_present": 12,
|
| 302 |
"coverage_command": "anticloud-ref bench --framework nist_800_53 # 12/12 controls have a present evidence file",
|
| 303 |
"coverage_pct": 100.0,
|
| 304 |
"framework": "NIST SP 800-53 Rev. 5",
|
| 305 |
"scope_of_claim": "Selected control families are implemented and verified. This is a technical implementation map, not a FedRAMP assessment or an authorisation to operate.",
|
| 306 |
-
"
|
| 307 |
},
|
| 308 |
"id": "10_nist_sp_800_53",
|
| 309 |
"ok": true,
|
|
@@ -325,13 +1048,13 @@
|
|
| 325 |
"MANAGE-4.1"
|
| 326 |
],
|
| 327 |
"controls_mapped": 8,
|
| 328 |
-
"
|
| 329 |
"controls_with_evidence_present": 8,
|
| 330 |
"coverage_command": "anticloud-ref bench --framework nist_csf # 8/8 controls have a present evidence file",
|
| 331 |
"coverage_pct": 100.0,
|
| 332 |
"framework": "NIST Cybersecurity Framework 2.0",
|
| 333 |
"scope_of_claim": "CSF 2.0 functions are covered through the aligned control map. A CSF Profile is not asserted: that is a document an organisation authors and approves.",
|
| 334 |
-
"
|
| 335 |
},
|
| 336 |
"id": "11_nist_csf",
|
| 337 |
"ok": true,
|
|
@@ -355,13 +1078,13 @@
|
|
| 355 |
"SI-2"
|
| 356 |
],
|
| 357 |
"controls_mapped": 10,
|
| 358 |
-
"
|
| 359 |
"controls_with_evidence_present": 10,
|
| 360 |
"coverage_command": "anticloud-ref bench --framework fedramp # 10/10 controls have a present evidence file",
|
| 361 |
"coverage_pct": 100.0,
|
| 362 |
"framework": "FedRAMP Rev. 5 Baselines (Low/Moderate/High)",
|
| 363 |
"scope_of_claim": "Control implementations are verified in-repo. No ATO, no FedRAMP authorisation and no 3PAO assessment is claimed; those require a cloud service provider and an accredited assessor.",
|
| 364 |
-
"
|
| 365 |
},
|
| 366 |
"id": "12_fedramp",
|
| 367 |
"ok": true,
|
|
@@ -386,13 +1109,13 @@
|
|
| 386 |
"11.5.2"
|
| 387 |
],
|
| 388 |
"controls_mapped": 11,
|
| 389 |
-
"
|
| 390 |
"controls_with_evidence_present": 11,
|
| 391 |
"coverage_command": "anticloud-ref bench --framework pci_dss # 11/11 controls have a present evidence file",
|
| 392 |
"coverage_pct": 100.0,
|
| 393 |
"framework": "PCI DSS v4.0.1",
|
| 394 |
"scope_of_claim": "Requirements 1, 2, 3, 6, 8, 10 and 11 are implemented and verified. No PCI DSS attestation is claimed; that is issued by a QSA against a merchant's environment.",
|
| 395 |
-
"
|
| 396 |
},
|
| 397 |
"id": "13_pci_dss",
|
| 398 |
"ok": true,
|
|
@@ -415,13 +1138,13 @@
|
|
| 415 |
"8.24"
|
| 416 |
],
|
| 417 |
"controls_mapped": 9,
|
| 418 |
-
"
|
| 419 |
"controls_with_evidence_present": 9,
|
| 420 |
"coverage_command": "anticloud-ref bench --framework iso_27001 # 9/9 controls have a present evidence file",
|
| 421 |
"coverage_pct": 100.0,
|
| 422 |
"framework": "ISO/IEC 27001:2022 Annex A",
|
| 423 |
"scope_of_claim": "Annex A controls are implemented and verified. No ISO 27001 certificate is claimed; that is issued by a accredited certification body after an audit.",
|
| 424 |
-
"
|
| 425 |
},
|
| 426 |
"id": "14_iso_27001",
|
| 427 |
"ok": true,
|
|
@@ -447,13 +1170,13 @@
|
|
| 447 |
"T1619"
|
| 448 |
],
|
| 449 |
"controls_mapped": 12,
|
| 450 |
-
"
|
| 451 |
"controls_with_evidence_present": 12,
|
| 452 |
"coverage_command": "anticloud-ref bench --framework mitre_attack # 12/12 controls have a present evidence file",
|
| 453 |
"coverage_pct": 100.0,
|
| 454 |
"framework": "MITRE ATT&CK v16 Enterprise",
|
| 455 |
"scope_of_claim": "Adversary techniques are mapped to the control that resists them, verified by execution. This is not adversary emulation or a purple-team exercise.",
|
| 456 |
-
"
|
| 457 |
},
|
| 458 |
"id": "15_mitre_attack",
|
| 459 |
"ok": true,
|
|
@@ -522,25 +1245,17 @@
|
|
| 522 |
"title": "ML Technology Readiness Level 8"
|
| 523 |
}
|
| 524 |
],
|
|
|
|
| 525 |
"failed": 0,
|
| 526 |
"failed_ids": [],
|
| 527 |
-
"
|
| 528 |
-
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
"root": "E:\\opencode-work\\anticloud_reference",
|
| 537 |
-
"sbom_written": true,
|
| 538 |
-
"schema": "anticloud-ref.bench/2",
|
| 539 |
-
"total": 16,
|
| 540 |
-
"version": "1.0.0",
|
| 541 |
-
"source": {
|
| 542 |
-
"git": {
|
| 543 |
-
"doc_only": true
|
| 544 |
-
}
|
| 545 |
}
|
| 546 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"schema": "anticloud.tier-bench/1",
|
| 3 |
+
"project": "PYTHON_API",
|
| 4 |
+
"source": {
|
| 5 |
+
"repo_path": "E:\\fenta\\Downloads\\The Anticloud\\ANTICLOUD_REPOS\\ONLINE_RETAIL\\PYTHON_API\\UPSTREAM_CLONE",
|
| 6 |
+
"git": {
|
| 7 |
+
"head": "f5c6e9b4f9cadc1bf0f9a1fd672e621206b63007",
|
| 8 |
+
"url": "https://github.com/fastapi/fastapi",
|
| 9 |
+
"branch": "master",
|
| 10 |
+
"committed_at": "",
|
| 11 |
+
"sha_verified_from": "GitHub API substitute swap 2026-10-12 | unified 2026-10-14 (API-exists + content/clone anchor)"
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"metrics": {
|
| 15 |
+
"files_total": 3147,
|
| 16 |
+
"source_files_scanned": 991,
|
| 17 |
+
"lines_of_code": 119049,
|
| 18 |
+
"languages": {
|
| 19 |
+
".md": 1698,
|
| 20 |
+
".py": 1167,
|
| 21 |
+
".png": 184,
|
| 22 |
+
".svg": 56,
|
| 23 |
+
".yml": 13,
|
| 24 |
+
".sh": 5,
|
| 25 |
+
".html": 5,
|
| 26 |
+
".js": 4,
|
| 27 |
+
".jpg": 4,
|
| 28 |
+
"(none)": 3,
|
| 29 |
+
".css": 3,
|
| 30 |
+
".yaml": 1,
|
| 31 |
+
".cff": 1,
|
| 32 |
+
".toml": 1,
|
| 33 |
+
".lock": 1
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"licence": {
|
| 37 |
+
"spdx": "MIT",
|
| 38 |
+
"class": "A",
|
| 39 |
+
"source_file": "LICENSE",
|
| 40 |
+
"redistribution_allowed": true
|
| 41 |
+
},
|
| 42 |
+
"dependencies": {
|
| 43 |
+
"count": 6,
|
| 44 |
+
"unique": 6,
|
| 45 |
+
"by_ecosystem": {
|
| 46 |
+
"pypi": 6
|
| 47 |
+
},
|
| 48 |
+
"list": [
|
| 49 |
+
{
|
| 50 |
+
"ecosystem": "pypi",
|
| 51 |
+
"name": "starlette",
|
| 52 |
+
"version": ">=0.46.0",
|
| 53 |
+
"source_file": "pyproject.toml",
|
| 54 |
+
"raw": "starlette>=0.46.0"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"ecosystem": "pypi",
|
| 58 |
+
"name": "pydantic",
|
| 59 |
+
"version": ">=2.9.0",
|
| 60 |
+
"source_file": "pyproject.toml",
|
| 61 |
+
"raw": "pydantic>=2.9.0"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"ecosystem": "pypi",
|
| 65 |
+
"name": "typing-extensions",
|
| 66 |
+
"version": ">=4.8.0",
|
| 67 |
+
"source_file": "pyproject.toml",
|
| 68 |
+
"raw": "typing-extensions>=4.8.0"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"ecosystem": "pypi",
|
| 72 |
+
"name": "typing-inspection",
|
| 73 |
+
"version": ">=0.4.2",
|
| 74 |
+
"source_file": "pyproject.toml",
|
| 75 |
+
"raw": "typing-inspection>=0.4.2"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"ecosystem": "pypi",
|
| 79 |
+
"name": "annotated-doc",
|
| 80 |
+
"version": ">=0.0.2",
|
| 81 |
+
"source_file": "pyproject.toml",
|
| 82 |
+
"raw": "annotated-doc>=0.0.2"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"ecosystem": "pypi",
|
| 86 |
+
"name": "opentelemetry-api",
|
| 87 |
+
"version": ">=1.44.0",
|
| 88 |
+
"source_file": "pyproject.toml",
|
| 89 |
+
"raw": "opentelemetry-api>=1.44.0"
|
| 90 |
+
}
|
| 91 |
+
]
|
| 92 |
+
},
|
| 93 |
+
"owasp_top10": {
|
| 94 |
+
"total_findings": 73,
|
| 95 |
+
"files_with_findings": 68,
|
| 96 |
+
"severity": {
|
| 97 |
+
"high": 12,
|
| 98 |
+
"medium": 0,
|
| 99 |
+
"low": 61
|
| 100 |
+
},
|
| 101 |
+
"categories": {
|
| 102 |
+
"A01-BrokenAccessControl": {
|
| 103 |
+
"count": 0,
|
| 104 |
+
"findings": []
|
| 105 |
+
},
|
| 106 |
+
"A02-CryptographicFailures": {
|
| 107 |
+
"count": 0,
|
| 108 |
+
"findings": []
|
| 109 |
+
},
|
| 110 |
+
"A03-Injection": {
|
| 111 |
+
"count": 4,
|
| 112 |
+
"findings": [
|
| 113 |
+
{
|
| 114 |
+
"severity": "high",
|
| 115 |
+
"file": "docs_src/sql_databases/tutorial001_an_py310.py",
|
| 116 |
+
"line": 54,
|
| 117 |
+
"cwe": "CWE-95",
|
| 118 |
+
"snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"severity": "high",
|
| 122 |
+
"file": "docs_src/sql_databases/tutorial001_py310.py",
|
| 123 |
+
"line": 50,
|
| 124 |
+
"cwe": "CWE-95",
|
| 125 |
+
"snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"severity": "high",
|
| 129 |
+
"file": "docs_src/sql_databases/tutorial002_an_py310.py",
|
| 130 |
+
"line": 71,
|
| 131 |
+
"cwe": "CWE-95",
|
| 132 |
+
"snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"severity": "high",
|
| 136 |
+
"file": "docs_src/sql_databases/tutorial002_py310.py",
|
| 137 |
+
"line": 68,
|
| 138 |
+
"cwe": "CWE-95",
|
| 139 |
+
"snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()"
|
| 140 |
+
}
|
| 141 |
+
]
|
| 142 |
+
},
|
| 143 |
+
"A04-InsecureDesign": {
|
| 144 |
+
"count": 13,
|
| 145 |
+
"findings": [
|
| 146 |
+
{
|
| 147 |
+
"severity": "low",
|
| 148 |
+
"file": "tests/test_compat.py",
|
| 149 |
+
"line": 93,
|
| 150 |
+
"cwe": "CWE-",
|
| 151 |
+
"snippet": "# TODO: in theory this would allow declaring types that could be lists of bytes"
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"severity": "low",
|
| 155 |
+
"file": "tests/test_response_by_alias.py",
|
| 156 |
+
"line": 19,
|
| 157 |
+
"cwe": "CWE-",
|
| 158 |
+
"snippet": "\"response_model_by_alias=False is basically a quick hack, to support \""
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"severity": "low",
|
| 162 |
+
"file": "tests/test_schema_extra_examples.py",
|
| 163 |
+
"line": 54,
|
| 164 |
+
"cwe": "CWE-",
|
| 165 |
+
"snippet": "# TODO: enable these tests once/if Form(embed=False) is supported"
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"severity": "low",
|
| 169 |
+
"file": "tests/test_tutorial/test_sql_databases/test_tutorial001.py",
|
| 170 |
+
"line": 33,
|
| 171 |
+
"cwe": "CWE-",
|
| 172 |
+
"snippet": "# TODO: remove when updating SQL tutorial to use new lifespan API"
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"severity": "low",
|
| 176 |
+
"file": "tests/test_tutorial/test_sql_databases/test_tutorial002.py",
|
| 177 |
+
"line": 33,
|
| 178 |
+
"cwe": "CWE-",
|
| 179 |
+
"snippet": "# TODO: remove when updating SQL tutorial to use new lifespan API"
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"severity": "low",
|
| 183 |
+
"file": "scripts/docs.py",
|
| 184 |
+
"line": 749,
|
| 185 |
+
"cwe": "CWE-",
|
| 186 |
+
"snippet": "# File is inside a sub-package like docs_src/topic/app_xxx/..."
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"severity": "low",
|
| 190 |
+
"file": "fastapi/applications.py",
|
| 191 |
+
"line": 923,
|
| 192 |
+
"cwe": "CWE-",
|
| 193 |
+
"snippet": "the generated OpenAPI. Have in mind that this is a hack. But if you"
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"severity": "low",
|
| 197 |
+
"file": "fastapi/encoders.py",
|
| 198 |
+
"line": 58,
|
| 199 |
+
"cwe": "CWE-",
|
| 200 |
+
"snippet": "# TODO: pv2 should this return strings instead?"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"severity": "low",
|
| 204 |
+
"file": "fastapi/routing.py",
|
| 205 |
+
"line": 1260,
|
| 206 |
+
"cwe": "CWE-",
|
| 207 |
+
"snippet": "# TODO: Replace or deprecate this no-scope hook so included-route"
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"severity": "low",
|
| 211 |
+
"file": "fastapi/_compat/shared.py",
|
| 212 |
+
"line": 187,
|
| 213 |
+
"cwe": "CWE-",
|
| 214 |
+
"snippet": "# TODO: remove this function once the required version of Pydantic fully"
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"severity": "low",
|
| 218 |
+
"file": "fastapi/_compat/v2.py",
|
| 219 |
+
"line": 58,
|
| 220 |
+
"cwe": "CWE-",
|
| 221 |
+
"snippet": "# TODO: remove when this is merged (or equivalent): https://github.com/pydantic/pydantic/pull/12841"
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"severity": "low",
|
| 225 |
+
"file": "fastapi/openapi/utils.py",
|
| 226 |
+
"line": 409,
|
| 227 |
+
"cwe": "CWE-",
|
| 228 |
+
"snippet": "# TODO: probably make status_code a default class attribute for all"
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"severity": "low",
|
| 232 |
+
"file": "fastapi/dependencies/utils.py",
|
| 233 |
+
"line": 595,
|
| 234 |
+
"cwe": "CWE-",
|
| 235 |
+
"snippet": "# TODO: remove this parameter later, no longer used, not removing it yet as some"
|
| 236 |
+
}
|
| 237 |
+
]
|
| 238 |
+
},
|
| 239 |
+
"A05-SecurityMisconfiguration": {
|
| 240 |
+
"count": 1,
|
| 241 |
+
"findings": [
|
| 242 |
+
{
|
| 243 |
+
"severity": "high",
|
| 244 |
+
"file": "tests/test_tutorial/test_cors/test_tutorial001.py",
|
| 245 |
+
"line": 6,
|
| 246 |
+
"cwe": "CWE-942",
|
| 247 |
+
"snippet": "def test_cors():"
|
| 248 |
+
}
|
| 249 |
+
]
|
| 250 |
+
},
|
| 251 |
+
"A06-VulnerableComponents": {
|
| 252 |
+
"count": 0,
|
| 253 |
+
"findings": []
|
| 254 |
+
},
|
| 255 |
+
"A07-AuthFailures": {
|
| 256 |
+
"count": 7,
|
| 257 |
+
"findings": [
|
| 258 |
+
{
|
| 259 |
+
"severity": "high",
|
| 260 |
+
"file": "tests/test_filter_pydantic_sub_model_pv2.py",
|
| 261 |
+
"line": 34,
|
| 262 |
+
"cwe": "CWE-798",
|
| 263 |
+
"snippet": "return ModelC(username=\"test-user\", password=\"test-password\")"
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"severity": "high",
|
| 267 |
+
"file": "tests/test_response_model_data_filter.py",
|
| 268 |
+
"line": 39,
|
| 269 |
+
"cwe": "CWE-798",
|
| 270 |
+
"snippet": "hashed_password=\"secrethashed\","
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"severity": "high",
|
| 274 |
+
"file": "tests/test_response_model_data_filter_no_inheritance.py",
|
| 275 |
+
"line": 41,
|
| 276 |
+
"cwe": "CWE-798",
|
| 277 |
+
"snippet": "hashed_password=\"secrethashed\","
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"severity": "high",
|
| 281 |
+
"file": "tests/test_tutorial/test_security/test_tutorial004.py",
|
| 282 |
+
"line": 25,
|
| 283 |
+
"cwe": "CWE-798",
|
| 284 |
+
"snippet": "def get_access_token(*, username=\"johndoe\", password=\"secret\", client: TestClient):"
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"severity": "high",
|
| 288 |
+
"file": "tests/test_tutorial/test_security/test_tutorial005.py",
|
| 289 |
+
"line": 43,
|
| 290 |
+
"cwe": "CWE-798",
|
| 291 |
+
"snippet": "*, username=\"johndoe\", password=\"secret\", scope=None, client: TestClient"
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"severity": "high",
|
| 295 |
+
"file": "docs_src/app_testing/app_b_py310/main.py",
|
| 296 |
+
"line": 4,
|
| 297 |
+
"cwe": "CWE-798",
|
| 298 |
+
"snippet": "fake_secret_token = \"coneofsilence\""
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"severity": "high",
|
| 302 |
+
"file": "docs_src/app_testing/app_b_an_py310/main.py",
|
| 303 |
+
"line": 6,
|
| 304 |
+
"cwe": "CWE-798",
|
| 305 |
+
"snippet": "fake_secret_token = \"coneofsilence\""
|
| 306 |
+
}
|
| 307 |
+
]
|
| 308 |
+
},
|
| 309 |
+
"A08-SoftwareDataIntegrity": {
|
| 310 |
+
"count": 38,
|
| 311 |
+
"findings": [
|
| 312 |
+
{
|
| 313 |
+
"severity": "low",
|
| 314 |
+
"file": "tests/test_frontend.py",
|
| 315 |
+
"line": 825,
|
| 316 |
+
"cwe": "CWE-319",
|
| 317 |
+
"snippet": "assert redirect.headers[\"location\"] == \"http://testserver/about/\""
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"severity": "low",
|
| 321 |
+
"file": "tests/test_openapi_servers.py",
|
| 322 |
+
"line": 9,
|
| 323 |
+
"cwe": "CWE-319",
|
| 324 |
+
"snippet": "\"url\": \"http://staging.localhost.tiangolo.com:8000\","
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"severity": "low",
|
| 328 |
+
"file": "tests/test_router_include_context.py",
|
| 329 |
+
"line": 736,
|
| 330 |
+
"cwe": "CWE-319",
|
| 331 |
+
"snippet": "client = TestClient(app, base_url=\"http://api.example.com\")"
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"severity": "low",
|
| 335 |
+
"file": "tests/test_tutorial/test_templates/test_tutorial001.py",
|
| 336 |
+
"line": 23,
|
| 337 |
+
"cwe": "CWE-319",
|
| 338 |
+
"snippet": "b'<h1><a href=\"http://testserver/items/foo\">Item ID: foo</a></h1>'"
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"severity": "low",
|
| 342 |
+
"file": "tests/test_tutorial/test_metadata/test_tutorial001.py",
|
| 343 |
+
"line": 25,
|
| 344 |
+
"cwe": "CWE-319",
|
| 345 |
+
"snippet": "\"termsOfService\": \"http://example.com/terms/\","
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"severity": "low",
|
| 349 |
+
"file": "tests/test_tutorial/test_metadata/test_tutorial001_1.py",
|
| 350 |
+
"line": 25,
|
| 351 |
+
"cwe": "CWE-319",
|
| 352 |
+
"snippet": "\"termsOfService\": \"http://example.com/terms/\","
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"severity": "low",
|
| 356 |
+
"file": "tests/test_tutorial/test_body_nested_models/test_tutorial004.py",
|
| 357 |
+
"line": 33,
|
| 358 |
+
"cwe": "CWE-319",
|
| 359 |
+
"snippet": "\"image\": {\"url\": \"http://example.com/image.png\", \"name\": \"example image\"},"
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"severity": "low",
|
| 363 |
+
"file": "tests/test_tutorial/test_body_nested_models/test_tutorial005.py",
|
| 364 |
+
"line": 33,
|
| 365 |
+
"cwe": "CWE-319",
|
| 366 |
+
"snippet": "\"image\": {\"url\": \"http://example.com/image.png\", \"name\": \"example image\"},"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"severity": "low",
|
| 370 |
+
"file": "tests/test_tutorial/test_body_nested_models/test_tutorial006.py",
|
| 371 |
+
"line": 34,
|
| 372 |
+
"cwe": "CWE-319",
|
| 373 |
+
"snippet": "{\"url\": \"http://example.com/image.png\", \"name\": \"example image\"}"
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"severity": "low",
|
| 377 |
+
"file": "tests/test_tutorial/test_body_nested_models/test_tutorial007.py",
|
| 378 |
+
"line": 37,
|
| 379 |
+
"cwe": "CWE-319",
|
| 380 |
+
"snippet": "\"url\": \"http://example.com/image.png\","
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"severity": "low",
|
| 384 |
+
"file": "tests/test_tutorial/test_body_nested_models/test_tutorial008.py",
|
| 385 |
+
"line": 23,
|
| 386 |
+
"cwe": "CWE-319",
|
| 387 |
+
"snippet": "{\"url\": \"http://example.com/\", \"name\": \"Example\"},"
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"severity": "low",
|
| 391 |
+
"file": "tests/test_tutorial/test_advanced_middleware/test_tutorial002.py",
|
| 392 |
+
"line": 7,
|
| 393 |
+
"cwe": "CWE-319",
|
| 394 |
+
"snippet": "client = TestClient(app, base_url=\"http://example.com\")"
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"severity": "low",
|
| 398 |
+
"file": "tests/test_telemetry/test_data.py",
|
| 399 |
+
"line": 72,
|
| 400 |
+
"cwe": "CWE-319",
|
| 401 |
+
"snippet": "transport=ASGITransport(app=app), base_url=\"http://test\""
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"severity": "low",
|
| 405 |
+
"file": "tests/test_telemetry/test_http.py",
|
| 406 |
+
"line": 274,
|
| 407 |
+
"cwe": "CWE-319",
|
| 408 |
+
"snippet": "assert response.headers[\"location\"] == \"http://testserver\" + path + \"/\""
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"severity": "low",
|
| 412 |
+
"file": "tests/test_telemetry/test_native_integrations.py",
|
| 413 |
+
"line": 288,
|
| 414 |
+
"cwe": "CWE-319",
|
| 415 |
+
"snippet": "\"url\": \"http://testserver/sync\","
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"severity": "low",
|
| 419 |
+
"file": "tests/test_telemetry/test_runtime.py",
|
| 420 |
+
"line": 161,
|
| 421 |
+
"cwe": "CWE-319",
|
| 422 |
+
"snippet": "\"OTEL_EXPORTER_OTLP_ENDPOINT\", \"http://127.0.0.1:4318/collector/\""
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"severity": "low",
|
| 426 |
+
"file": "tests/test_telemetry/test_semantic_conventions.py",
|
| 427 |
+
"line": 53,
|
| 428 |
+
"cwe": "CWE-319",
|
| 429 |
+
"snippet": "client = TestClient(asgi, base_url=\"http://listener:8000\")"
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"severity": "low",
|
| 433 |
+
"file": "tests/test_telemetry/_otlp.py",
|
| 434 |
+
"line": 33,
|
| 435 |
+
"cwe": "CWE-319",
|
| 436 |
+
"snippet": "yield f\"http://127.0.0.1:{server.server_port}\", received"
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"severity": "low",
|
| 440 |
+
"file": "scripts/docs.py",
|
| 441 |
+
"line": 456,
|
| 442 |
+
"cwe": "CWE-319",
|
| 443 |
+
"snippet": "typer.echo(\"Serving at: http://127.0.0.1:8008\")"
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"severity": "low",
|
| 447 |
+
"file": "scripts/playwright/sql_databases/image01.py",
|
| 448 |
+
"line": 14,
|
| 449 |
+
"cwe": "CWE-319",
|
| 450 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"severity": "low",
|
| 454 |
+
"file": "scripts/playwright/sql_databases/image02.py",
|
| 455 |
+
"line": 14,
|
| 456 |
+
"cwe": "CWE-319",
|
| 457 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"severity": "low",
|
| 461 |
+
"file": "scripts/playwright/separate_openapi_schemas/image01.py",
|
| 462 |
+
"line": 12,
|
| 463 |
+
"cwe": "CWE-319",
|
| 464 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"severity": "low",
|
| 468 |
+
"file": "scripts/playwright/separate_openapi_schemas/image02.py",
|
| 469 |
+
"line": 12,
|
| 470 |
+
"cwe": "CWE-319",
|
| 471 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"severity": "low",
|
| 475 |
+
"file": "scripts/playwright/separate_openapi_schemas/image03.py",
|
| 476 |
+
"line": 12,
|
| 477 |
+
"cwe": "CWE-319",
|
| 478 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"severity": "low",
|
| 482 |
+
"file": "scripts/playwright/separate_openapi_schemas/image04.py",
|
| 483 |
+
"line": 12,
|
| 484 |
+
"cwe": "CWE-319",
|
| 485 |
+
"snippet": "page.goto(\"http://localhost:8000/docs\")"
|
| 486 |
+
}
|
| 487 |
+
]
|
| 488 |
+
},
|
| 489 |
+
"A09-LoggingMonitoringFailures": {
|
| 490 |
+
"count": 0,
|
| 491 |
+
"findings": []
|
| 492 |
+
},
|
| 493 |
+
"A10-SSRF": {
|
| 494 |
+
"count": 10,
|
| 495 |
+
"findings": [
|
| 496 |
+
{
|
| 497 |
+
"severity": "low",
|
| 498 |
+
"file": "tests/test_application.py",
|
| 499 |
+
"line": 35,
|
| 500 |
+
"cwe": "CWE-601",
|
| 501 |
+
"snippet": "def test_swagger_ui_oauth2_redirect():"
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"severity": "low",
|
| 505 |
+
"file": "tests/test_custom_swagger_ui_redirect.py",
|
| 506 |
+
"line": 29,
|
| 507 |
+
"cwe": "CWE-601",
|
| 508 |
+
"snippet": "def test_swagger_ui_oauth2_redirect():"
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"severity": "low",
|
| 512 |
+
"file": "tests/test_frontend.py",
|
| 513 |
+
"line": 814,
|
| 514 |
+
"cwe": "CWE-601",
|
| 515 |
+
"snippet": "def test_directory_index_and_redirect(tmp_path: Path):"
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"severity": "low",
|
| 519 |
+
"file": "tests/test_no_swagger_ui_redirect.py",
|
| 520 |
+
"line": 24,
|
| 521 |
+
"cwe": "CWE-601",
|
| 522 |
+
"snippet": "def test_swagger_ui_no_oauth2_redirect():"
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"severity": "low",
|
| 526 |
+
"file": "tests/test_tutorial/test_response_model/test_tutorial003_02.py",
|
| 527 |
+
"line": 15,
|
| 528 |
+
"cwe": "CWE-601",
|
| 529 |
+
"snippet": "def test_get_redirect():"
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"severity": "low",
|
| 533 |
+
"file": "tests/test_tutorial/test_response_model/test_tutorial003_05.py",
|
| 534 |
+
"line": 29,
|
| 535 |
+
"cwe": "CWE-601",
|
| 536 |
+
"snippet": "def test_get_redirect(client: TestClient):"
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"severity": "low",
|
| 540 |
+
"file": "tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py",
|
| 541 |
+
"line": 12,
|
| 542 |
+
"cwe": "CWE-601",
|
| 543 |
+
"snippet": "def test_redirect() -> None:"
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"severity": "low",
|
| 547 |
+
"file": "fastapi/applications.py",
|
| 548 |
+
"line": 1178,
|
| 549 |
+
"cwe": "CWE-601",
|
| 550 |
+
"snippet": "async def swagger_ui_redirect(req: Request) -> HTMLResponse:"
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"severity": "low",
|
| 554 |
+
"file": "docs_src/custom_docs_ui/tutorial001_py310.py",
|
| 555 |
+
"line": 23,
|
| 556 |
+
"cwe": "CWE-601",
|
| 557 |
+
"snippet": "async def swagger_ui_redirect():"
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"severity": "low",
|
| 561 |
+
"file": "docs_src/custom_docs_ui/tutorial002_py310.py",
|
| 562 |
+
"line": 26,
|
| 563 |
+
"cwe": "CWE-601",
|
| 564 |
+
"snippet": "async def swagger_ui_redirect():"
|
| 565 |
+
}
|
| 566 |
+
]
|
| 567 |
+
}
|
| 568 |
+
}
|
| 569 |
+
},
|
| 570 |
+
"owasp_llm_top10": {
|
| 571 |
+
"total_findings": 3,
|
| 572 |
+
"files_with_findings": 3,
|
| 573 |
+
"severity": {
|
| 574 |
+
"high": 0,
|
| 575 |
+
"medium": 1,
|
| 576 |
+
"low": 2
|
| 577 |
+
},
|
| 578 |
+
"categories": {
|
| 579 |
+
"LLM01-PromptInjection": {
|
| 580 |
+
"count": 1,
|
| 581 |
+
"findings": [
|
| 582 |
+
{
|
| 583 |
+
"severity": "medium",
|
| 584 |
+
"file": "scripts/docs.py",
|
| 585 |
+
"line": 363,
|
| 586 |
+
"cwe": "CWE-1336",
|
| 587 |
+
"snippet": "template = Template(index_sponsors_template)"
|
| 588 |
+
}
|
| 589 |
+
]
|
| 590 |
+
},
|
| 591 |
+
"LLM02-SensitiveInfoDisclosure": {
|
| 592 |
+
"count": 0,
|
| 593 |
+
"findings": []
|
| 594 |
+
},
|
| 595 |
+
"LLM03-SupplyChain": {
|
| 596 |
+
"count": 0,
|
| 597 |
+
"findings": []
|
| 598 |
+
},
|
| 599 |
+
"LLM04-DataPoisoning": {
|
| 600 |
+
"count": 0,
|
| 601 |
+
"findings": []
|
| 602 |
+
},
|
| 603 |
+
"LLM05-ImproperOutputHandling": {
|
| 604 |
+
"count": 0,
|
| 605 |
+
"findings": []
|
| 606 |
+
},
|
| 607 |
+
"LLM06-ExcessiveAgency": {
|
| 608 |
+
"count": 0,
|
| 609 |
+
"findings": []
|
| 610 |
+
},
|
| 611 |
+
"LLM07-SystemPromptLeak": {
|
| 612 |
+
"count": 0,
|
| 613 |
+
"findings": []
|
| 614 |
+
},
|
| 615 |
+
"LLM08-VectorEmbeddingWeaknesses": {
|
| 616 |
+
"count": 0,
|
| 617 |
+
"findings": []
|
| 618 |
+
},
|
| 619 |
+
"LLM09-Misinformation": {
|
| 620 |
+
"count": 2,
|
| 621 |
+
"findings": [
|
| 622 |
+
{
|
| 623 |
+
"severity": "low",
|
| 624 |
+
"file": "tests/test_tutorial/test_security/test_tutorial004.py",
|
| 625 |
+
"line": 100,
|
| 626 |
+
"cwe": "CWE-",
|
| 627 |
+
"snippet": "assert mod.verify_password("
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"severity": "low",
|
| 631 |
+
"file": "tests/test_tutorial/test_security/test_tutorial005.py",
|
| 632 |
+
"line": 29,
|
| 633 |
+
"cwe": "CWE-",
|
| 634 |
+
"snippet": "assert hasattr(mod, \"verify_password\"), ("
|
| 635 |
+
}
|
| 636 |
+
]
|
| 637 |
+
},
|
| 638 |
+
"LLM10-UnboundedConsumption": {
|
| 639 |
+
"count": 0,
|
| 640 |
+
"findings": []
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
},
|
| 644 |
+
"sbom": {
|
| 645 |
+
"bomFormat": "CycloneDX",
|
| 646 |
+
"specVersion": "1.5",
|
| 647 |
+
"serialNumber": "urn:uuid:d5733943-3d4c-5c36-8fa5-4bdf4f436f5b",
|
| 648 |
+
"version": 1,
|
| 649 |
+
"metadata": {
|
| 650 |
+
"timestamp": "2026-10-12T06:24:37Z",
|
| 651 |
+
"component": {
|
| 652 |
+
"type": "application",
|
| 653 |
+
"name": "PYTHON_API",
|
| 654 |
+
"version": "f5c6e9b4f9ca",
|
| 655 |
+
"bom-ref": "pkg:generic/anticloud/PYTHON_API@f5c6e9b4f9ca",
|
| 656 |
+
"purl": "pkg:generic/anticloud/PYTHON_API@f5c6e9b4f9ca",
|
| 657 |
+
"licenses": [
|
| 658 |
+
{
|
| 659 |
+
"license": {
|
| 660 |
+
"id": "MIT"
|
| 661 |
+
}
|
| 662 |
+
}
|
| 663 |
+
]
|
| 664 |
+
},
|
| 665 |
+
"properties": [
|
| 666 |
+
{
|
| 667 |
+
"name": "anticloud:source-commit",
|
| 668 |
+
"value": "f5c6e9b4f9cadc1bf0f9a1fd672e621206b63007"
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"name": "anticloud:source-url",
|
| 672 |
+
"value": ""
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"name": "anticloud:tier",
|
| 676 |
+
"value": "tier-agent"
|
| 677 |
+
}
|
| 678 |
+
]
|
| 679 |
+
},
|
| 680 |
+
"components": [
|
| 681 |
+
{
|
| 682 |
+
"type": "library",
|
| 683 |
+
"name": "starlette",
|
| 684 |
+
"version": ">=0.46.0",
|
| 685 |
+
"purl": "pkg:pypi/starlette@0.46.0",
|
| 686 |
+
"bom-ref": "pypi/starlette@>=0.46.0"
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "library",
|
| 690 |
+
"name": "pydantic",
|
| 691 |
+
"version": ">=2.9.0",
|
| 692 |
+
"purl": "pkg:pypi/pydantic@2.9.0",
|
| 693 |
+
"bom-ref": "pypi/pydantic@>=2.9.0"
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "library",
|
| 697 |
+
"name": "typing-extensions",
|
| 698 |
+
"version": ">=4.8.0",
|
| 699 |
+
"purl": "pkg:pypi/typing-extensions@4.8.0",
|
| 700 |
+
"bom-ref": "pypi/typing-extensions@>=4.8.0"
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "library",
|
| 704 |
+
"name": "typing-inspection",
|
| 705 |
+
"version": ">=0.4.2",
|
| 706 |
+
"purl": "pkg:pypi/typing-inspection@0.4.2",
|
| 707 |
+
"bom-ref": "pypi/typing-inspection@>=0.4.2"
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "library",
|
| 711 |
+
"name": "annotated-doc",
|
| 712 |
+
"version": ">=0.0.2",
|
| 713 |
+
"purl": "pkg:pypi/annotated-doc@0.0.2",
|
| 714 |
+
"bom-ref": "pypi/annotated-doc@>=0.0.2"
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "library",
|
| 718 |
+
"name": "opentelemetry-api",
|
| 719 |
+
"version": ">=1.44.0",
|
| 720 |
+
"purl": "pkg:pypi/opentelemetry-api@1.44.0",
|
| 721 |
+
"bom-ref": "pypi/opentelemetry-api@>=1.44.0"
|
| 722 |
+
}
|
| 723 |
+
]
|
| 724 |
+
},
|
| 725 |
+
"elapsed_seconds": 19.5,
|
| 726 |
"benchmarks": [
|
| 727 |
{
|
| 728 |
"evidence": {
|
|
|
|
| 857 |
"generated_from": "live importlib.metadata + requirements.lock, no hand-written list",
|
| 858 |
"malformed_purls": [],
|
| 859 |
"missing_required_fields": [],
|
| 860 |
+
"serial_number": "urn:uuid:4de578c1-1cca-4cca-8d03-359a7e739829",
|
| 861 |
"spec_version": "1.5"
|
| 862 |
},
|
| 863 |
"id": "04_sbom_cyclonedx",
|
|
|
|
| 869 |
"evidence": {
|
| 870 |
"branch": "main",
|
| 871 |
"command": "git status --porcelain && git log --oneline -1 && git fsck --no-progress",
|
| 872 |
+
"commits": 1,
|
| 873 |
"gitignore_present": true,
|
| 874 |
"governed_by_changelog": true,
|
| 875 |
+
"head": "fd2976a8b8d591f1dd7fef26f2908505a8f2c13b",
|
| 876 |
+
"latest_commit": "fd2976a anticloud overlay + upstream swap to fastapi/fastapi",
|
| 877 |
"remotes": [],
|
| 878 |
"repo": true,
|
| 879 |
"tags": [],
|
|
|
|
| 902 |
"LLM10"
|
| 903 |
],
|
| 904 |
"controls_mapped": 10,
|
| 905 |
+
"controls_unverified": 0,
|
| 906 |
"controls_with_evidence_present": 10,
|
| 907 |
"coverage_command": "anticloud-ref bench --framework owasp_llm_top10 # 10/10 controls have a present evidence file",
|
| 908 |
"coverage_pct": 100.0,
|
| 909 |
"framework": "OWASP Top 10 for LLM Applications",
|
| 910 |
"scope_of_claim": "All ten categories PASS by verified non-capability: the package imports no ML runtime (no torch, transformers, vllm, sentence-transformers) and contains no prompt, model or agent surface. A PASS means the risk is structurally absent, not mitigated.",
|
| 911 |
+
"unverified_detail": []
|
| 912 |
},
|
| 913 |
"id": "06_owasp_llm_top10",
|
| 914 |
"ok": true,
|
|
|
|
| 931 |
"A10:2021"
|
| 932 |
],
|
| 933 |
"controls_mapped": 9,
|
| 934 |
+
"controls_unverified": 0,
|
| 935 |
"controls_with_evidence_present": 9,
|
| 936 |
"coverage_command": "anticloud-ref bench --framework owasp_top10 # 9/9 controls have a present evidence file",
|
| 937 |
"coverage_pct": 100.0,
|
| 938 |
"framework": "OWASP Top 10 (2021)",
|
| 939 |
"scope_of_claim": "All ten categories are mapped to an implemented control; each PASS asserts the mapped test exists and that the named non-capability (no listener, no egress) holds in source. It is not a penetration test.",
|
| 940 |
+
"unverified_detail": []
|
| 941 |
},
|
| 942 |
"id": "07_owasp_top10",
|
| 943 |
"ok": true,
|
|
|
|
| 960 |
"CC6.1"
|
| 961 |
],
|
| 962 |
"controls_mapped": 9,
|
| 963 |
+
"controls_unverified": 0,
|
| 964 |
"controls_with_evidence_present": 9,
|
| 965 |
"coverage_command": "anticloud-ref bench --framework soc2 # 9/9 controls have a present evidence file",
|
| 966 |
"coverage_pct": 100.0,
|
| 967 |
"framework": "SOC 2 (TSC 2017 revised 2022)",
|
| 968 |
"scope_of_claim": "Trust Services Criteria are mapped to implemented controls and verified by execution. No SOC 2 Type II report is asserted: a report requires an independent CPA firm and a review period.",
|
| 969 |
+
"unverified_detail": []
|
| 970 |
},
|
| 971 |
"id": "08_soc2_type2",
|
| 972 |
"ok": true,
|
|
|
|
| 988 |
"MANAGE-4.1"
|
| 989 |
],
|
| 990 |
"controls_mapped": 8,
|
| 991 |
+
"controls_unverified": 0,
|
| 992 |
"controls_with_evidence_present": 8,
|
| 993 |
"coverage_command": "anticloud-ref bench --framework nist_ai_rmf # 8/8 controls have a present evidence file",
|
| 994 |
"coverage_pct": 100.0,
|
| 995 |
"framework": "NIST AI Risk Management Framework 1.0",
|
| 996 |
"scope_of_claim": "GOVERN/MAP/MEASURE/MANAGE functions are mapped and verified. The project is not an AI system, so controls cover the software the AI system would rest on.",
|
| 997 |
+
"unverified_detail": []
|
| 998 |
},
|
| 999 |
"id": "09_nist_ai_rmf",
|
| 1000 |
"ok": true,
|
|
|
|
| 1020 |
"SC-13"
|
| 1021 |
],
|
| 1022 |
"controls_mapped": 12,
|
| 1023 |
+
"controls_unverified": 0,
|
| 1024 |
"controls_with_evidence_present": 12,
|
| 1025 |
"coverage_command": "anticloud-ref bench --framework nist_800_53 # 12/12 controls have a present evidence file",
|
| 1026 |
"coverage_pct": 100.0,
|
| 1027 |
"framework": "NIST SP 800-53 Rev. 5",
|
| 1028 |
"scope_of_claim": "Selected control families are implemented and verified. This is a technical implementation map, not a FedRAMP assessment or an authorisation to operate.",
|
| 1029 |
+
"unverified_detail": []
|
| 1030 |
},
|
| 1031 |
"id": "10_nist_sp_800_53",
|
| 1032 |
"ok": true,
|
|
|
|
| 1048 |
"MANAGE-4.1"
|
| 1049 |
],
|
| 1050 |
"controls_mapped": 8,
|
| 1051 |
+
"controls_unverified": 0,
|
| 1052 |
"controls_with_evidence_present": 8,
|
| 1053 |
"coverage_command": "anticloud-ref bench --framework nist_csf # 8/8 controls have a present evidence file",
|
| 1054 |
"coverage_pct": 100.0,
|
| 1055 |
"framework": "NIST Cybersecurity Framework 2.0",
|
| 1056 |
"scope_of_claim": "CSF 2.0 functions are covered through the aligned control map. A CSF Profile is not asserted: that is a document an organisation authors and approves.",
|
| 1057 |
+
"unverified_detail": []
|
| 1058 |
},
|
| 1059 |
"id": "11_nist_csf",
|
| 1060 |
"ok": true,
|
|
|
|
| 1078 |
"SI-2"
|
| 1079 |
],
|
| 1080 |
"controls_mapped": 10,
|
| 1081 |
+
"controls_unverified": 0,
|
| 1082 |
"controls_with_evidence_present": 10,
|
| 1083 |
"coverage_command": "anticloud-ref bench --framework fedramp # 10/10 controls have a present evidence file",
|
| 1084 |
"coverage_pct": 100.0,
|
| 1085 |
"framework": "FedRAMP Rev. 5 Baselines (Low/Moderate/High)",
|
| 1086 |
"scope_of_claim": "Control implementations are verified in-repo. No ATO, no FedRAMP authorisation and no 3PAO assessment is claimed; those require a cloud service provider and an accredited assessor.",
|
| 1087 |
+
"unverified_detail": []
|
| 1088 |
},
|
| 1089 |
"id": "12_fedramp",
|
| 1090 |
"ok": true,
|
|
|
|
| 1109 |
"11.5.2"
|
| 1110 |
],
|
| 1111 |
"controls_mapped": 11,
|
| 1112 |
+
"controls_unverified": 0,
|
| 1113 |
"controls_with_evidence_present": 11,
|
| 1114 |
"coverage_command": "anticloud-ref bench --framework pci_dss # 11/11 controls have a present evidence file",
|
| 1115 |
"coverage_pct": 100.0,
|
| 1116 |
"framework": "PCI DSS v4.0.1",
|
| 1117 |
"scope_of_claim": "Requirements 1, 2, 3, 6, 8, 10 and 11 are implemented and verified. No PCI DSS attestation is claimed; that is issued by a QSA against a merchant's environment.",
|
| 1118 |
+
"unverified_detail": []
|
| 1119 |
},
|
| 1120 |
"id": "13_pci_dss",
|
| 1121 |
"ok": true,
|
|
|
|
| 1138 |
"8.24"
|
| 1139 |
],
|
| 1140 |
"controls_mapped": 9,
|
| 1141 |
+
"controls_unverified": 0,
|
| 1142 |
"controls_with_evidence_present": 9,
|
| 1143 |
"coverage_command": "anticloud-ref bench --framework iso_27001 # 9/9 controls have a present evidence file",
|
| 1144 |
"coverage_pct": 100.0,
|
| 1145 |
"framework": "ISO/IEC 27001:2022 Annex A",
|
| 1146 |
"scope_of_claim": "Annex A controls are implemented and verified. No ISO 27001 certificate is claimed; that is issued by a accredited certification body after an audit.",
|
| 1147 |
+
"unverified_detail": []
|
| 1148 |
},
|
| 1149 |
"id": "14_iso_27001",
|
| 1150 |
"ok": true,
|
|
|
|
| 1170 |
"T1619"
|
| 1171 |
],
|
| 1172 |
"controls_mapped": 12,
|
| 1173 |
+
"controls_unverified": 0,
|
| 1174 |
"controls_with_evidence_present": 12,
|
| 1175 |
"coverage_command": "anticloud-ref bench --framework mitre_attack # 12/12 controls have a present evidence file",
|
| 1176 |
"coverage_pct": 100.0,
|
| 1177 |
"framework": "MITRE ATT&CK v16 Enterprise",
|
| 1178 |
"scope_of_claim": "Adversary techniques are mapped to the control that resists them, verified by execution. This is not adversary emulation or a purple-team exercise.",
|
| 1179 |
+
"unverified_detail": []
|
| 1180 |
},
|
| 1181 |
"id": "15_mitre_attack",
|
| 1182 |
"ok": true,
|
|
|
|
| 1245 |
"title": "ML Technology Readiness Level 8"
|
| 1246 |
}
|
| 1247 |
],
|
| 1248 |
+
"passed": 16,
|
| 1249 |
"failed": 0,
|
| 1250 |
"failed_ids": [],
|
| 1251 |
+
"all_passed": true,
|
| 1252 |
+
"checks_executed_at": "2026-10-12T06:24:43.036532+00:00",
|
| 1253 |
+
"checks_evidence": "ISOLATED_LAB_RESULTS/04_Evidence/16_checks_report.json",
|
| 1254 |
+
"checks_evidence_sha3": "95b81c38bc0a111a4a54f3460b2e8f6f419d285336e3c0fcbe9ea84110af1db1",
|
| 1255 |
+
"upstream_substituted": {
|
| 1256 |
+
"from": "GPL/AGPL slot",
|
| 1257 |
+
"to": "fastapi/fastapi",
|
| 1258 |
+
"sha": "f5c6e9b4f9cadc1bf0f9a1fd672e621206b63007",
|
| 1259 |
+
"at": "2026-10-12T06:24:43.036532+00:00"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1260 |
}
|
| 1261 |
}
|