Sample deep report — $10 tier

This is the shape of the paid POST /api/v1/deep-scan response, for a deliberately vulnerable snippet:

import os, pickle, requests

def handle(request):
    code = request.args.get("code")
    exec(code)                      # dynamic code execution
    os.system("ls " + request.args.get("path"))  # shell injection
    data = pickle.loads(request.data)            # unsafe deserialization
    requests.get(request.args.get("url"), verify=False)  # TLS verification off

Findings

Real output of the free deterministic scan for this snippet (7 findings, max severity critical); the deep report additionally computes the risk score and severity counts shown below.

SeverityRuleCategoryWhat it catchesRemediation
criticalPY-DANGEROUS-EXECdynamic_executionexec() of untrusted inputNever evaluate untrusted text; use an allow-list parser.
criticalPY-OS-SYSTEMshell_executionos.system() with string interpolationsubprocess with an argument list and shell=False.
criticalPY-UNSAFE-DESERIALIZEdeserializationpickle.loads() on request dataUse a safe format (JSON) and schema validation.
criticalPWN-PY-EXECdynamic_executionpattern detector for dynamic executionRemove eval/exec on user input.
criticalPWN-PY-PICKLE-LOADSdeserializationpattern detector for pickle.loadsUse JSON or a signed serialization format.
highPWN-NET-SSRF-USER-URLssrfuser-controlled URL passed to an outbound requestAllow-list destinations, block link-local ranges.
mediumPY-NETWORKnetworkTLS verification disabled (verify=False)Remove verify=False; pin a CA bundle if needed.

Report envelope

{
  "product": "scanpay.deep",
  "findings_count": 7,
  "severity_counts": {"critical": 5, "high": 1, "medium": 1, "low": 0},
  "max_severity": "critical",
  "risk_score": "",
  "risk_band": "",
  "findings": [ ... every finding with line ranges, evidence and remediation ... ],
  "source_sha256": "",
  "engine_version": "1.1.0"
}

Deterministic rules, no code execution, no model call. The same source always produces the same report. Buy one at POST /api/v1/deep-scan for $10 (x402 in USDC on Base or Solana), or use the direct on-chain rail with POST /api/v1/deep-scan/manual.

← Back to ScanPay