Download BENCH.json from Anticloud/anticloud-python-api: direct link, hf CLI and curl.
- Browser
- Download file 36.3 kB
-
https://huggingface.co/datasets/Anticloud/anticloud-python-api/resolve/main/BENCH.json
- Command line
-
hf download hf://datasets/Anticloud/anticloud-python-api/BENCH.json
-
curl -L -o BENCH.json https://huggingface.co/datasets/Anticloud/anticloud-python-api/resolve/main/BENCH.json
36.3 kB
| { | |
| "schema": "anticloud.tier-bench/1", | |
| "project": "PYTHON_API", | |
| "source": { | |
| "git": { | |
| "url": "https://github.com/china-testing/python-api-tesing", | |
| "head": "0b72e9f1776eced1ded90f67474f5f8d68511915", | |
| "sha_verified_from": "revendor 2026-10-15: GitHub API commit lookup", | |
| "previous_substitute": "https://github.com/china-testing/python-api-tesing" | |
| } | |
| }, | |
| "metrics": { | |
| "files_total": 3147, | |
| "source_files_scanned": 991, | |
| "lines_of_code": 119049, | |
| "languages": { | |
| ".md": 1698, | |
| ".py": 1167, | |
| ".png": 184, | |
| ".svg": 56, | |
| ".yml": 13, | |
| ".sh": 5, | |
| ".html": 5, | |
| ".js": 4, | |
| ".jpg": 4, | |
| "(none)": 3, | |
| ".css": 3, | |
| ".yaml": 1, | |
| ".cff": 1, | |
| ".toml": 1, | |
| ".lock": 1 | |
| } | |
| }, | |
| "licence": { | |
| "spdx": "MIT", | |
| "class": "A", | |
| "source_file": "LICENSE", | |
| "redistribution_allowed": true | |
| }, | |
| "dependencies": { | |
| "count": 6, | |
| "unique": 6, | |
| "by_ecosystem": { | |
| "pypi": 6 | |
| }, | |
| "list": [ | |
| { | |
| "ecosystem": "pypi", | |
| "name": "starlette", | |
| "version": ">=0.46.0", | |
| "source_file": "pyproject.toml", | |
| "raw": "starlette>=0.46.0" | |
| }, | |
| { | |
| "ecosystem": "pypi", | |
| "name": "pydantic", | |
| "version": ">=2.9.0", | |
| "source_file": "pyproject.toml", | |
| "raw": "pydantic>=2.9.0" | |
| }, | |
| { | |
| "ecosystem": "pypi", | |
| "name": "typing-extensions", | |
| "version": ">=4.8.0", | |
| "source_file": "pyproject.toml", | |
| "raw": "typing-extensions>=4.8.0" | |
| }, | |
| { | |
| "ecosystem": "pypi", | |
| "name": "typing-inspection", | |
| "version": ">=0.4.2", | |
| "source_file": "pyproject.toml", | |
| "raw": "typing-inspection>=0.4.2" | |
| }, | |
| { | |
| "ecosystem": "pypi", | |
| "name": "annotated-doc", | |
| "version": ">=0.0.2", | |
| "source_file": "pyproject.toml", | |
| "raw": "annotated-doc>=0.0.2" | |
| }, | |
| { | |
| "ecosystem": "pypi", | |
| "name": "opentelemetry-api", | |
| "version": ">=1.44.0", | |
| "source_file": "pyproject.toml", | |
| "raw": "opentelemetry-api>=1.44.0" | |
| } | |
| ] | |
| }, | |
| "owasp_top10": { | |
| "total_findings": 73, | |
| "files_with_findings": 68, | |
| "severity": { | |
| "high": 12, | |
| "medium": 0, | |
| "low": 61 | |
| }, | |
| "categories": { | |
| "A01-BrokenAccessControl": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "A02-CryptographicFailures": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "A03-Injection": { | |
| "count": 4, | |
| "findings": [ | |
| { | |
| "severity": "high", | |
| "file": "docs_src/sql_databases/tutorial001_an_py310.py", | |
| "line": 54, | |
| "cwe": "CWE-95", | |
| "snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "docs_src/sql_databases/tutorial001_py310.py", | |
| "line": 50, | |
| "cwe": "CWE-95", | |
| "snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "docs_src/sql_databases/tutorial002_an_py310.py", | |
| "line": 71, | |
| "cwe": "CWE-95", | |
| "snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "docs_src/sql_databases/tutorial002_py310.py", | |
| "line": 68, | |
| "cwe": "CWE-95", | |
| "snippet": "heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()" | |
| } | |
| ] | |
| }, | |
| "A04-InsecureDesign": { | |
| "count": 13, | |
| "findings": [ | |
| { | |
| "severity": "low", | |
| "file": "tests/test_compat.py", | |
| "line": 93, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: in theory this would allow declaring types that could be lists of bytes" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_response_by_alias.py", | |
| "line": 19, | |
| "cwe": "CWE-", | |
| "snippet": "\"response_model_by_alias=False is basically a quick hack, to support \"" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_schema_extra_examples.py", | |
| "line": 54, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: enable these tests once/if Form(embed=False) is supported" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_sql_databases/test_tutorial001.py", | |
| "line": 33, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: remove when updating SQL tutorial to use new lifespan API" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_sql_databases/test_tutorial002.py", | |
| "line": 33, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: remove when updating SQL tutorial to use new lifespan API" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/docs.py", | |
| "line": 749, | |
| "cwe": "CWE-", | |
| "snippet": "# File is inside a sub-package like docs_src/topic/app_xxx/..." | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/applications.py", | |
| "line": 923, | |
| "cwe": "CWE-", | |
| "snippet": "the generated OpenAPI. Have in mind that this is a hack. But if you" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/encoders.py", | |
| "line": 58, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: pv2 should this return strings instead?" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/routing.py", | |
| "line": 1260, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: Replace or deprecate this no-scope hook so included-route" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/_compat/shared.py", | |
| "line": 187, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: remove this function once the required version of Pydantic fully" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/_compat/v2.py", | |
| "line": 58, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: remove when this is merged (or equivalent): https://github.com/pydantic/pydantic/pull/12841" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/openapi/utils.py", | |
| "line": 409, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: probably make status_code a default class attribute for all" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/dependencies/utils.py", | |
| "line": 595, | |
| "cwe": "CWE-", | |
| "snippet": "# TODO: remove this parameter later, no longer used, not removing it yet as some" | |
| } | |
| ] | |
| }, | |
| "A05-SecurityMisconfiguration": { | |
| "count": 1, | |
| "findings": [ | |
| { | |
| "severity": "high", | |
| "file": "tests/test_tutorial/test_cors/test_tutorial001.py", | |
| "line": 6, | |
| "cwe": "CWE-942", | |
| "snippet": "def test_cors():" | |
| } | |
| ] | |
| }, | |
| "A06-VulnerableComponents": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "A07-AuthFailures": { | |
| "count": 7, | |
| "findings": [ | |
| { | |
| "severity": "high", | |
| "file": "tests/test_filter_pydantic_sub_model_pv2.py", | |
| "line": 34, | |
| "cwe": "CWE-798", | |
| "snippet": "return ModelC(username=\"test-user\", password=\"test-password\")" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "tests/test_response_model_data_filter.py", | |
| "line": 39, | |
| "cwe": "CWE-798", | |
| "snippet": "hashed_password=\"secrethashed\"," | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "tests/test_response_model_data_filter_no_inheritance.py", | |
| "line": 41, | |
| "cwe": "CWE-798", | |
| "snippet": "hashed_password=\"secrethashed\"," | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "tests/test_tutorial/test_security/test_tutorial004.py", | |
| "line": 25, | |
| "cwe": "CWE-798", | |
| "snippet": "def get_access_token(*, username=\"johndoe\", password=\"secret\", client: TestClient):" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "tests/test_tutorial/test_security/test_tutorial005.py", | |
| "line": 43, | |
| "cwe": "CWE-798", | |
| "snippet": "*, username=\"johndoe\", password=\"secret\", scope=None, client: TestClient" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "docs_src/app_testing/app_b_py310/main.py", | |
| "line": 4, | |
| "cwe": "CWE-798", | |
| "snippet": "fake_secret_token = \"coneofsilence\"" | |
| }, | |
| { | |
| "severity": "high", | |
| "file": "docs_src/app_testing/app_b_an_py310/main.py", | |
| "line": 6, | |
| "cwe": "CWE-798", | |
| "snippet": "fake_secret_token = \"coneofsilence\"" | |
| } | |
| ] | |
| }, | |
| "A08-SoftwareDataIntegrity": { | |
| "count": 38, | |
| "findings": [ | |
| { | |
| "severity": "low", | |
| "file": "tests/test_frontend.py", | |
| "line": 825, | |
| "cwe": "CWE-319", | |
| "snippet": "assert redirect.headers[\"location\"] == \"http://testserver/about/\"" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_openapi_servers.py", | |
| "line": 9, | |
| "cwe": "CWE-319", | |
| "snippet": "\"url\": \"http://staging.localhost.tiangolo.com:8000\"," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_router_include_context.py", | |
| "line": 736, | |
| "cwe": "CWE-319", | |
| "snippet": "client = TestClient(app, base_url=\"http://api.example.com\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_templates/test_tutorial001.py", | |
| "line": 23, | |
| "cwe": "CWE-319", | |
| "snippet": "b'<h1><a href=\"http://testserver/items/foo\">Item ID: foo</a></h1>'" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_metadata/test_tutorial001.py", | |
| "line": 25, | |
| "cwe": "CWE-319", | |
| "snippet": "\"termsOfService\": \"http://example.com/terms/\"," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_metadata/test_tutorial001_1.py", | |
| "line": 25, | |
| "cwe": "CWE-319", | |
| "snippet": "\"termsOfService\": \"http://example.com/terms/\"," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_body_nested_models/test_tutorial004.py", | |
| "line": 33, | |
| "cwe": "CWE-319", | |
| "snippet": "\"image\": {\"url\": \"http://example.com/image.png\", \"name\": \"example image\"}," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_body_nested_models/test_tutorial005.py", | |
| "line": 33, | |
| "cwe": "CWE-319", | |
| "snippet": "\"image\": {\"url\": \"http://example.com/image.png\", \"name\": \"example image\"}," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_body_nested_models/test_tutorial006.py", | |
| "line": 34, | |
| "cwe": "CWE-319", | |
| "snippet": "{\"url\": \"http://example.com/image.png\", \"name\": \"example image\"}" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_body_nested_models/test_tutorial007.py", | |
| "line": 37, | |
| "cwe": "CWE-319", | |
| "snippet": "\"url\": \"http://example.com/image.png\"," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_body_nested_models/test_tutorial008.py", | |
| "line": 23, | |
| "cwe": "CWE-319", | |
| "snippet": "{\"url\": \"http://example.com/\", \"name\": \"Example\"}," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_advanced_middleware/test_tutorial002.py", | |
| "line": 7, | |
| "cwe": "CWE-319", | |
| "snippet": "client = TestClient(app, base_url=\"http://example.com\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/test_data.py", | |
| "line": 72, | |
| "cwe": "CWE-319", | |
| "snippet": "transport=ASGITransport(app=app), base_url=\"http://test\"" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/test_http.py", | |
| "line": 274, | |
| "cwe": "CWE-319", | |
| "snippet": "assert response.headers[\"location\"] == \"http://testserver\" + path + \"/\"" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/test_native_integrations.py", | |
| "line": 288, | |
| "cwe": "CWE-319", | |
| "snippet": "\"url\": \"http://testserver/sync\"," | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/test_runtime.py", | |
| "line": 161, | |
| "cwe": "CWE-319", | |
| "snippet": "\"OTEL_EXPORTER_OTLP_ENDPOINT\", \"http://127.0.0.1:4318/collector/\"" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/test_semantic_conventions.py", | |
| "line": 53, | |
| "cwe": "CWE-319", | |
| "snippet": "client = TestClient(asgi, base_url=\"http://listener:8000\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_telemetry/_otlp.py", | |
| "line": 33, | |
| "cwe": "CWE-319", | |
| "snippet": "yield f\"http://127.0.0.1:{server.server_port}\", received" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/docs.py", | |
| "line": 456, | |
| "cwe": "CWE-319", | |
| "snippet": "typer.echo(\"Serving at: http://127.0.0.1:8008\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/sql_databases/image01.py", | |
| "line": 14, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/sql_databases/image02.py", | |
| "line": 14, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/separate_openapi_schemas/image01.py", | |
| "line": 12, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/separate_openapi_schemas/image02.py", | |
| "line": 12, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/separate_openapi_schemas/image03.py", | |
| "line": 12, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "scripts/playwright/separate_openapi_schemas/image04.py", | |
| "line": 12, | |
| "cwe": "CWE-319", | |
| "snippet": "page.goto(\"http://localhost:8000/docs\")" | |
| } | |
| ] | |
| }, | |
| "A09-LoggingMonitoringFailures": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "A10-SSRF": { | |
| "count": 10, | |
| "findings": [ | |
| { | |
| "severity": "low", | |
| "file": "tests/test_application.py", | |
| "line": 35, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_swagger_ui_oauth2_redirect():" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_custom_swagger_ui_redirect.py", | |
| "line": 29, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_swagger_ui_oauth2_redirect():" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_frontend.py", | |
| "line": 814, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_directory_index_and_redirect(tmp_path: Path):" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_no_swagger_ui_redirect.py", | |
| "line": 24, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_swagger_ui_no_oauth2_redirect():" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_response_model/test_tutorial003_02.py", | |
| "line": 15, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_get_redirect():" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_response_model/test_tutorial003_05.py", | |
| "line": 29, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_get_redirect(client: TestClient):" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py", | |
| "line": 12, | |
| "cwe": "CWE-601", | |
| "snippet": "def test_redirect() -> None:" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "fastapi/applications.py", | |
| "line": 1178, | |
| "cwe": "CWE-601", | |
| "snippet": "async def swagger_ui_redirect(req: Request) -> HTMLResponse:" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "docs_src/custom_docs_ui/tutorial001_py310.py", | |
| "line": 23, | |
| "cwe": "CWE-601", | |
| "snippet": "async def swagger_ui_redirect():" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "docs_src/custom_docs_ui/tutorial002_py310.py", | |
| "line": 26, | |
| "cwe": "CWE-601", | |
| "snippet": "async def swagger_ui_redirect():" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "owasp_llm_top10": { | |
| "total_findings": 3, | |
| "files_with_findings": 3, | |
| "severity": { | |
| "high": 0, | |
| "medium": 1, | |
| "low": 2 | |
| }, | |
| "categories": { | |
| "LLM01-PromptInjection": { | |
| "count": 1, | |
| "findings": [ | |
| { | |
| "severity": "medium", | |
| "file": "scripts/docs.py", | |
| "line": 363, | |
| "cwe": "CWE-1336", | |
| "snippet": "template = Template(index_sponsors_template)" | |
| } | |
| ] | |
| }, | |
| "LLM02-SensitiveInfoDisclosure": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM03-SupplyChain": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM04-DataPoisoning": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM05-ImproperOutputHandling": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM06-ExcessiveAgency": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM07-SystemPromptLeak": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM08-VectorEmbeddingWeaknesses": { | |
| "count": 0, | |
| "findings": [] | |
| }, | |
| "LLM09-Misinformation": { | |
| "count": 2, | |
| "findings": [ | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_security/test_tutorial004.py", | |
| "line": 100, | |
| "cwe": "CWE-", | |
| "snippet": "assert mod.verify_password(" | |
| }, | |
| { | |
| "severity": "low", | |
| "file": "tests/test_tutorial/test_security/test_tutorial005.py", | |
| "line": 29, | |
| "cwe": "CWE-", | |
| "snippet": "assert hasattr(mod, \"verify_password\"), (" | |
| } | |
| ] | |
| }, | |
| "LLM10-UnboundedConsumption": { | |
| "count": 0, | |
| "findings": [] | |
| } | |
| } | |
| }, | |
| "sbom": { | |
| "bomFormat": "CycloneDX", | |
| "specVersion": "1.5", | |
| "serialNumber": "urn:uuid:d5733943-3d4c-5c36-8fa5-4bdf4f436f5b", | |
| "version": 1, | |
| "metadata": { | |
| "timestamp": "2026-10-12T06:24:37Z", | |
| "component": { | |
| "type": "application", | |
| "name": "PYTHON_API", | |
| "version": "f5c6e9b4f9ca", | |
| "bom-ref": "pkg:generic/anticloud/PYTHON_API@f5c6e9b4f9ca", | |
| "purl": "pkg:generic/anticloud/PYTHON_API@f5c6e9b4f9ca", | |
| "licenses": [ | |
| { | |
| "license": { | |
| "id": "MIT" | |
| } | |
| } | |
| ] | |
| }, | |
| "properties": [ | |
| { | |
| "name": "anticloud:source-commit", | |
| "value": "f5c6e9b4f9cadc1bf0f9a1fd672e621206b63007" | |
| }, | |
| { | |
| "name": "anticloud:source-url", | |
| "value": "" | |
| }, | |
| { | |
| "name": "anticloud:tier", | |
| "value": "tier-agent" | |
| } | |
| ] | |
| }, | |
| "components": [ | |
| { | |
| "type": "library", | |
| "name": "starlette", | |
| "version": ">=0.46.0", | |
| "purl": "pkg:pypi/starlette@0.46.0", | |
| "bom-ref": "pypi/starlette@>=0.46.0" | |
| }, | |
| { | |
| "type": "library", | |
| "name": "pydantic", | |
| "version": ">=2.9.0", | |
| "purl": "pkg:pypi/pydantic@2.9.0", | |
| "bom-ref": "pypi/pydantic@>=2.9.0" | |
| }, | |
| { | |
| "type": "library", | |
| "name": "typing-extensions", | |
| "version": ">=4.8.0", | |
| "purl": "pkg:pypi/typing-extensions@4.8.0", | |
| "bom-ref": "pypi/typing-extensions@>=4.8.0" | |
| }, | |
| { | |
| "type": "library", | |
| "name": "typing-inspection", | |
| "version": ">=0.4.2", | |
| "purl": "pkg:pypi/typing-inspection@0.4.2", | |
| "bom-ref": "pypi/typing-inspection@>=0.4.2" | |
| }, | |
| { | |
| "type": "library", | |
| "name": "annotated-doc", | |
| "version": ">=0.0.2", | |
| "purl": "pkg:pypi/annotated-doc@0.0.2", | |
| "bom-ref": "pypi/annotated-doc@>=0.0.2" | |
| }, | |
| { | |
| "type": "library", | |
| "name": "opentelemetry-api", | |
| "version": ">=1.44.0", | |
| "purl": "pkg:pypi/opentelemetry-api@1.44.0", | |
| "bom-ref": "pypi/opentelemetry-api@>=1.44.0" | |
| } | |
| ] | |
| }, | |
| "elapsed_seconds": 19.5, | |
| "benchmarks": [ | |
| { | |
| "evidence": { | |
| "ceilings": { | |
| "max_files": 120, | |
| "max_lines": 20000, | |
| "min_lines": 2000 | |
| }, | |
| "code_lines": 6889, | |
| "command": "python tools/run_bench.py --only 01_loc_files", | |
| "counts_command": "find src tests tools -name '*.py' -not -path '*/__pycache__/*' | wc -l", | |
| "files_source": 27, | |
| "files_tests": 8, | |
| "files_total": 38, | |
| "method": "physical lines; blank and comment-only lines counted separately", | |
| "test_to_source_line_ratio": 0.35, | |
| "total_lines": 8402 | |
| }, | |
| "id": "01_loc_files", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "Code size and file count" | |
| }, | |
| { | |
| "evidence": { | |
| "a_licences": [ | |
| "Apache-2.0", | |
| "BSD-2-Clause", | |
| "BSD-3-Clause", | |
| "ISC", | |
| "MIT", | |
| "MPL-2.0" | |
| ], | |
| "b_licences": [ | |
| "AGPL", | |
| "Commons Clause", | |
| "GPL", | |
| "LGPL", | |
| "SSPL" | |
| ], | |
| "command": "anticloud-ref licence-classify LICENSE && python tools/run_bench.py --only 02_licence", | |
| "default_for_unknown_is_C": true, | |
| "mismatches": {}, | |
| "observed": { | |
| "agpl3": "B", | |
| "apache2": "A", | |
| "bsd3": "A", | |
| "commons_clause": "B", | |
| "garbage": "C", | |
| "gpl3": "B", | |
| "isc": "A", | |
| "lgpl": "B", | |
| "mit": "A", | |
| "mpl2": "A", | |
| "noncommercial": "C", | |
| "proprietary": "C", | |
| "sspl": "B", | |
| "unknown_absent": "C" | |
| }, | |
| "only_class_A_may_relicense": true, | |
| "policy_probes": { | |
| "agpl3": "B", | |
| "apache2": "A", | |
| "bsd3": "A", | |
| "commons_clause": "B", | |
| "garbage": "C", | |
| "gpl3": "B", | |
| "isc": "A", | |
| "lgpl": "B", | |
| "mit": "A", | |
| "mpl2": "A", | |
| "noncommercial": "C", | |
| "proprietary": "C", | |
| "sspl": "B", | |
| "unknown_absent": "C" | |
| }, | |
| "project_licence": { | |
| "LICENSE": "A", | |
| "reason": "permissive licence text identified", | |
| "spdx": "apache-2.0" | |
| }, | |
| "pyproject_declared": "Apache-2.0" | |
| }, | |
| "id": "02_licence", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "Licence posture (A/B/C policy)" | |
| }, | |
| { | |
| "evidence": { | |
| "command": "anticloud-ref deps-verify requirements.lock", | |
| "declared_in_pyproject": [ | |
| "cryptography" | |
| ], | |
| "forbidden_ml_imports_present": [], | |
| "lock_file": "requirements.lock", | |
| "packages_hashed": 6, | |
| "packages_pinned": 6, | |
| "requirements": [ | |
| "cffi==2.1.1", | |
| "coverage==7.16.2", | |
| "cryptography==50.0.2", | |
| "pycparser==3.0", | |
| "pytest==9.1.1", | |
| "pytest-cov==7.1.0" | |
| ], | |
| "sha256_hashes": 286, | |
| "transitive_or_unclassified": [ | |
| "cffi==2.1.1", | |
| "coverage==7.16.2", | |
| "cryptography==50.0.2", | |
| "pycparser==3.0", | |
| "pytest-cov==7.1.0", | |
| "pytest==9.1.1" | |
| ], | |
| "verify_problems": [] | |
| }, | |
| "id": "03_dependency_scan", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "Dependency scan (hash-pinned lock)" | |
| }, | |
| { | |
| "evidence": { | |
| "command": "python -c \"import json;d=json.load(open('sbom.cdx.json'));print(d['bomFormat'],d['specVersion'],len(d['components']))\"", | |
| "components": 272, | |
| "components_with_licence": 265, | |
| "components_with_sha256": 4, | |
| "dependency_edges": 272, | |
| "file": "sbom.cdx.json", | |
| "format": "CycloneDX", | |
| "generated_from": "live importlib.metadata + requirements.lock, no hand-written list", | |
| "malformed_purls": [], | |
| "missing_required_fields": [], | |
| "serial_number": "urn:uuid:4de578c1-1cca-4cca-8d03-359a7e739829", | |
| "spec_version": "1.5" | |
| }, | |
| "id": "04_sbom_cyclonedx", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "SBOM (CycloneDX 1.5)" | |
| }, | |
| { | |
| "evidence": { | |
| "branch": "main", | |
| "command": "git status --porcelain && git log --oneline -1 && git fsck --no-progress", | |
| "commits": 1, | |
| "gitignore_present": true, | |
| "governed_by_changelog": true, | |
| "head": "fd2976a8b8d591f1dd7fef26f2908505a8f2c13b", | |
| "latest_commit": "fd2976a anticloud overlay + upstream swap to fastapi/fastapi", | |
| "remotes": [], | |
| "repo": true, | |
| "tags": [], | |
| "untracked_or_modified": [], | |
| "working_tree_clean": true | |
| }, | |
| "id": "05_git_health", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "Git health" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "OWASP Foundation", | |
| "command": "python tools/run_bench.py --only owasp", | |
| "control_ids": [ | |
| "LLM01", | |
| "LLM02", | |
| "LLM03", | |
| "LLM04", | |
| "LLM05", | |
| "LLM06", | |
| "LLM07", | |
| "LLM08", | |
| "LLM09", | |
| "LLM10" | |
| ], | |
| "controls_mapped": 10, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 10, | |
| "coverage_command": "anticloud-ref bench --framework owasp_llm_top10 # 10/10 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "OWASP Top 10 for LLM Applications", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "06_owasp_llm_top10", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "OWASP Top 10 for LLM Applications" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "OWASP Foundation", | |
| "command": "python tools/run_bench.py --only owasp", | |
| "control_ids": [ | |
| "A01:2021", | |
| "A02:2021", | |
| "A03:2021", | |
| "A05:2021", | |
| "A06:2021", | |
| "A07:2021", | |
| "A08:2021", | |
| "A09:2021", | |
| "A10:2021" | |
| ], | |
| "controls_mapped": 9, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 9, | |
| "coverage_command": "anticloud-ref bench --framework owasp_top10 # 9/9 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "OWASP Top 10 (2021)", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "07_owasp_top10", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "OWASP Top 10 (2021)" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "AICPA", | |
| "command": "python tools/run_bench.py --only soc2", | |
| "control_ids": [ | |
| "CC6.1", | |
| "CC6.2", | |
| "CC6.6", | |
| "CC6.7", | |
| "CC6.8", | |
| "CC7.2", | |
| "CC8.1", | |
| "CC9.2", | |
| "CC6.1" | |
| ], | |
| "controls_mapped": 9, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 9, | |
| "coverage_command": "anticloud-ref bench --framework soc2 # 9/9 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "SOC 2 (TSC 2017 revised 2022)", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "08_soc2_type2", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "SOC 2 Type II readiness" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "NIST AI RMF", | |
| "command": "python tools/run_bench.py --only nist", | |
| "control_ids": [ | |
| "GOVERN-1.1", | |
| "GOVERN-2.2", | |
| "MAP-1.1", | |
| "MAP-3.5", | |
| "MEASURE-2.7", | |
| "MEASURE-2.8", | |
| "MANAGE-2.2", | |
| "MANAGE-4.1" | |
| ], | |
| "controls_mapped": 8, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 8, | |
| "coverage_command": "anticloud-ref bench --framework nist_ai_rmf # 8/8 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "NIST AI Risk Management Framework 1.0", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "09_nist_ai_rmf", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "NIST AI Risk Management Framework" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "NIST", | |
| "command": "python tools/run_bench.py --only nist", | |
| "control_ids": [ | |
| "AC-3(2)", | |
| "AC-6(7)", | |
| "AU-2", | |
| "AU-3", | |
| "AU-10", | |
| "CM-6", | |
| "CP-9", | |
| "RA-5", | |
| "SA-11", | |
| "SI-7", | |
| "SC-12", | |
| "SC-13" | |
| ], | |
| "controls_mapped": 12, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 12, | |
| "coverage_command": "anticloud-ref bench --framework nist_800_53 # 12/12 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "NIST SP 800-53 Rev. 5", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "10_nist_sp_800_53", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "NIST SP 800-53 Rev. 5" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "NIST", | |
| "command": "python tools/run_bench.py --only nist", | |
| "control_ids": [ | |
| "GOVERN-1.1", | |
| "GOVERN-2.2", | |
| "MAP-1.1", | |
| "MAP-3.5", | |
| "MEASURE-2.7", | |
| "MEASURE-2.8", | |
| "MANAGE-2.2", | |
| "MANAGE-4.1" | |
| ], | |
| "controls_mapped": 8, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 8, | |
| "coverage_command": "anticloud-ref bench --framework nist_csf # 8/8 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "NIST Cybersecurity Framework 2.0", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "11_nist_csf", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "NIST Cybersecurity Framework 2.0" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "FedRAMP", | |
| "command": "python tools/run_bench.py --only fedramp", | |
| "control_ids": [ | |
| "IA-2", | |
| "IA-5", | |
| "RA-5", | |
| "SA-4", | |
| "SA-10", | |
| "SA-11", | |
| "SC-7", | |
| "SC-8", | |
| "SC-13", | |
| "SI-2" | |
| ], | |
| "controls_mapped": 10, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 10, | |
| "coverage_command": "anticloud-ref bench --framework fedramp # 10/10 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "FedRAMP Rev. 5 Baselines (Low/Moderate/High)", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "12_fedramp", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "FedRAMP Rev. 5" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "PCI SSC", | |
| "command": "python tools/run_bench.py --only pci", | |
| "control_ids": [ | |
| "1.1.1", | |
| "1.2.1", | |
| "2.2.1", | |
| "3.4.1", | |
| "3.5.1", | |
| "6.2.4", | |
| "6.4.2", | |
| "8.3.6", | |
| "10.2.1", | |
| "11.3.1", | |
| "11.5.2" | |
| ], | |
| "controls_mapped": 11, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 11, | |
| "coverage_command": "anticloud-ref bench --framework pci_dss # 11/11 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "PCI DSS v4.0.1", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "13_pci_dss", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "PCI DSS v4.0.1" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "ISO/IEC", | |
| "command": "python tools/run_bench.py --only iso", | |
| "control_ids": [ | |
| "5.1.1", | |
| "5.1.2", | |
| "8.2.3", | |
| "8.24", | |
| "8.28", | |
| "8.29", | |
| "8.16", | |
| "8.20", | |
| "8.24" | |
| ], | |
| "controls_mapped": 9, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 9, | |
| "coverage_command": "anticloud-ref bench --framework iso_27001 # 9/9 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "ISO/IEC 27001:2022 Annex A", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "14_iso_27001", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "ISO/IEC 27001:2022" | |
| }, | |
| { | |
| "evidence": { | |
| "authority": "MITRE", | |
| "command": "python tools/run_bench.py --only mitre", | |
| "control_ids": [ | |
| "T1078", | |
| "T1552", | |
| "T1552.001", | |
| "T1553", | |
| "T1195.002", | |
| "T1221", | |
| "T1600.002", | |
| "T1499", | |
| "T1565", | |
| "T1565.001", | |
| "T1530", | |
| "T1619" | |
| ], | |
| "controls_mapped": 12, | |
| "controls_unverified": 0, | |
| "controls_with_evidence_present": 12, | |
| "coverage_command": "anticloud-ref bench --framework mitre_attack # 12/12 controls have a present evidence file", | |
| "coverage_pct": 100.0, | |
| "framework": "MITRE ATT&CK v16 Enterprise", | |
| "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.", | |
| "unverified_detail": [] | |
| }, | |
| "id": "15_mitre_attack", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "MITRE ATT&CK v16" | |
| }, | |
| { | |
| "evidence": { | |
| "claimed_level": 8, | |
| "command": "python tools/run_bench.py --only 16 && cat docs/18_TRL_JUSTIFICATION/TRL.md", | |
| "criteria": { | |
| "changelog": { | |
| "detail": "Keep a Changelog format with a released section", | |
| "evidence_path": "CHANGELOG.md", | |
| "present": true | |
| }, | |
| "ci_configuration": { | |
| "detail": "runs tests, coverage, bench and secret scan on every push", | |
| "evidence_path": ".github/workflows/ci.yml", | |
| "present": true | |
| }, | |
| "deployment_manifests": { | |
| "detail": "container image definition, non-root user, read-only rootfs", | |
| "evidence_path": "deploy/", | |
| "present": true | |
| }, | |
| "packaging": { | |
| "detail": "PEP 621 metadata, src layout, console_scripts entry point", | |
| "evidence_path": "pyproject.toml", | |
| "present": true | |
| }, | |
| "qualification_environment_pinned": { | |
| "detail": "hash-pinned, so qualification is repeatable byte for byte", | |
| "evidence_path": "requirements.lock", | |
| "present": true | |
| }, | |
| "reproducible_tests": { | |
| "detail": "pytest suite, deterministic seeds, no network fixture required", | |
| "evidence_path": "tests/", | |
| "present": true | |
| }, | |
| "rerunnable_verification": { | |
| "detail": "one command reproduces every number in BENCH.json", | |
| "evidence_path": "tools/run_bench.py", | |
| "present": true | |
| }, | |
| "versioning": { | |
| "detail": "single source of truth, currently 1.0.0", | |
| "evidence_path": "src/anticloud_ref/_version.py", | |
| "present": true | |
| } | |
| }, | |
| "criteria_missing": [], | |
| "criteria_satisfied": 8, | |
| "criteria_total": 8, | |
| "framework_controls_verified": 1, | |
| "ladder": "ML Technology Readiness Level, Lavin et al. 2022 (TMLR)", | |
| "observed_level": 8, | |
| "source": "22_COMPLIANCE_FRAMEWORKS/FACTS.md", | |
| "trL9_claimed": false, | |
| "trL9_reason": "requires proven success in an operational environment, which cannot be asserted from a repository" | |
| }, | |
| "id": "16_ml_trl", | |
| "ok": true, | |
| "status": "PASS", | |
| "title": "ML Technology Readiness Level 8" | |
| } | |
| ], | |
| "passed": 16, | |
| "failed": 0, | |
| "failed_ids": [], | |
| "all_passed": true, | |
| "checks_executed_at": "2026-10-12T06:24:43.036532+00:00", | |
| "checks_evidence": "ISOLATED_LAB_RESULTS/04_Evidence/16_checks_report.json", | |
| "checks_evidence_sha3": "95b81c38bc0a111a4a54f3460b2e8f6f419d285336e3c0fcbe9ea84110af1db1", | |
| "upstream_substituted": { | |
| "from": "GPL/AGPL slot", | |
| "to": "fastapi/fastapi", | |
| "sha": "f5c6e9b4f9cadc1bf0f9a1fd672e621206b63007", | |
| "at": "2026-10-12T06:24:43.036532+00:00" | |
| } | |
| } |