{
  "version": "1.0.0",
  "scope": "Fixture-only pattern checks; not proof of vulnerability absence",
  "before": [
    {
      "ruleId": "DTG009",
      "title": "Literal credential assignment",
      "severity": "high",
      "confidence": "medium",
      "cwe": "CWE-798",
      "path": "before.js",
      "line": 2,
      "column": 7,
      "fix": "Remove the literal, rotate any real exposed credential, and load it from a secret manager. Reports omit source values."
    },
    {
      "ruleId": "DTG001",
      "title": "Dynamic code execution",
      "severity": "high",
      "confidence": "medium",
      "cwe": "CWE-95",
      "path": "before.js",
      "line": 3,
      "column": 17,
      "fix": "Replace dynamic execution with a constrained parser or an explicit operation map."
    },
    {
      "ruleId": "DTG002",
      "title": "HTML injection sink",
      "severity": "high",
      "confidence": "medium",
      "cwe": "CWE-79",
      "path": "before.js",
      "line": 4,
      "column": 32,
      "fix": "Use textContent for text. For necessary rich HTML, use a maintained sanitizer and a restrictive CSP."
    },
    {
      "ruleId": "DTG004",
      "title": "SQL query interpolation",
      "severity": "high",
      "confidence": "medium",
      "cwe": "CWE-89",
      "path": "before.js",
      "line": 5,
      "column": 4,
      "fix": "Use driver-bound query parameters. Do not interpolate values or identifiers from requests."
    },
    {
      "ruleId": "DTG005",
      "title": "TLS certificate validation disabled",
      "severity": "high",
      "confidence": "high",
      "cwe": "CWE-295",
      "path": "before.js",
      "line": 6,
      "column": 17,
      "fix": "Enable certificate and hostname validation. Configure a trusted CA for private services."
    }
  ],
  "after": []
}