{
  "schema_version": 1,
  "run_id": "cvas22--decascan-claude-haiku-5-5-1795068097439769927",
  "date": "2026-11-19T06:03:23.585920+00:00",
  "repo": "cvas22/decascan",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "a7913f3194c13f549aca6f304042c310057f6508",
  "outcome": "pass",
  "time_to_working_s": 74.10449322406203,
  "install_s": 32.34,
  "first_use_s": 18.95,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "decascan scan a source directory and report OWASP Top 10 findings",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "DecaScan scans Python and TypeScript source mapped to three OWASP Top 10 lists",
      "source": "**A security scanner for Python and TypeScript code, mapped to three OWASP Top 10 lists:\nthe MCP Top 10, the Top 10 for LLM Applications, and the web Top 10.**",
      "input": "tests/fixtures/vulnerable_ts",
      "expected": "MCP01 finding for a committed GitHub token",
      "command": "<guest-path> scan tests/fixtures/vulnerable_ts --no-fail",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: GitHub token committed to source",
      "evidence": "…GitHub token committed to source\n  src/server.ts:11\n  │ const GITHUB_TOKEN = \"ghp_********************\";\n  A live-looking GitHub token appears in `src/server.ts`. Anything in the \nrepository is readable by every developer, every CI job, and every MCP client \nthat can read the workspace — treat this credential as compromised.\n  Fix: Revoke and rotate the credential now — removing the line does not un-leak\nit. Load it from the environment instead (`os.environ[...]` / \n`process.env[...]`) and keep the value in a secret manager or an untracked \n`.env` file.\n  CWE-798 · confidence 95%\n\n CRITICAL  M",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": " with what arguments, on whose behalf. The incident \nresponse for this server is reading the shell history of the developer who \ninstalled it and hoping.\n  Fix: Log every tool invocation at the dispatch boundary — tool name, \narguments, caller, outcome — before the handler runs, and log the result after. \nSend it somewhere the server itself cannot rewrite. Redact the arguments that \ncarry secrets; the point is a reconstructable timeline, not a transcript.\n  CWE-778 · confidence 80%\n\nSeverity  Count\nCRITICAL      5\nHIGH          6\nMEDIUM        4\n\n15 finding(s) across 3 files (26 rules, 0.02s)\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "scan source code for OWASP Top 10 risks",
      "source": "README.md",
      "input": "tests/fixtures/vulnerable_ts",
      "command": "<guest-path> scan tests/fixtures/vulnerable_ts -o json --no-fail",
      "evidence": "eloper who installed it and hoping.\",\n      \"file_path\": \"src/server.ts\",\n      \"line\": 16,\n      \"snippet\": \"const output = exec(command);\",\n      \"remediation\": \"Log every tool invocation at the dispatch boundary \\u2014 tool name, arguments, caller, outcome \\u2014 before the handler runs, and log the result after. Send it somewhere the server itself cannot rewrite. Redact the arguments that carry secrets; the point is a reconstructable timeline, not a transcript.\",\n      \"cwe_id\": \"CWE-778\",\n      \"confidence\": 0.8,\n      \"metadata\": {\n        \"calls\": \"2\"\n      }\n    }\n  ],\n  \"errors\": []\n}",
      "deferred": false,
      "expected": "MCP01-001 finding",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "loper who installed it and hoping.\",\n      \"file_path\": \"src/server.ts\",\n      \"line\": 16,\n      \"snippet\": \"const output = exec(command);\",\n      \"remediation\": \"Log every tool invocation at the dispatch boundary \\u2014 tool name, arguments, caller, outcome \\u2014 before the handler runs, and log the result after. Send it somewhere the server itself cannot rewrite. Redact the arguments that carry secrets; the point is a reconstructable timeline, not a transcript.\",\n      \"cwe_id\": \"CWE-778\",\n      \"confidence\": 0.8,\n      \"metadata\": {\n        \"calls\": \"2\"\n      }\n    }\n  ],\n  \"errors\": []\n}\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README.md and CLI reference (decascan scan/rules/standards); the tool is a one-shot scanner with no cron, loop, webhook, --once or --now entrypoint.",
      "evidence": "Inspected README.md and CLI reference (decascan scan/rules/standards); the tool is a one-shot scanner with no cron, loop, webhook, --once or --now entrypoint.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "a7913f3194c13f549aca6f304042c310057f6508",
    "ci_read_at": "2026-11-19T05:18:27Z",
    "ci_state": "SUCCESS",
    "commits_90d": 96,
    "last_commit_at": "2026-11-19T05:10:14Z",
    "last_release_at": "2026-11-19T05:14:13Z",
    "median_reply_hours": null,
    "merged_prs_90d": 42,
    "note": "actively maintained: last commit 0 days ago; 96 commits and 42 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-19",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.10+ (3.12.3 used)",
    "click",
    "rich",
    "PyYAML"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README 'pip install decascan' does not resolve yet (pre-release); used the documented clone install 'pip install .' instead"
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 hardcoded secret, 10 known vulnerability. 10 static matches retained as context.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip",
          "python3"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "GHSA-3qhf-m339-9g5v"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "GHSA-9h52-p55h-vw2f"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "GHSA-j975-95f5-7wqh"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "GHSA-jpw9-pfvf-9f58"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "GHSA-vj7q-gjh5-988w"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "PYSEC-2026-1616"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "PYSEC-2026-1617"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "PYSEC-2026-1618"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "PYSEC-2026-3482"
      },
      {
        "package": "mcp",
        "version": "1.0",
        "advisory": "PYSEC-2026-3483"
      }
    ],
    "secrets": 11,
    "secrets_in_tests": 10,
    "download_lines_in_tests": 0,
    "dependency_versions": 3,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-a80bc3acad5fac891647f95a01e501baccf13903675c382c305344090687517d",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "hosts_withheld": 2
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
