{
  "id": "workflow.opsec-forbidden-vs-skip",
  "version": 1,
  "category": "safe_workflow",
  "severity": "high",
  "lifecycleStatus": "ACTIVE",
  "lifecycle": {
    "status": "ACTIVE",
    "appliesTo": "Evergreen / Public Repo OPSEC",
    "verifiedAt": 1795800000000,
    "reviewDueAt": 1858872000000,
    "replacedBy": "",
    "retireReason": ""
  },
  "contentOrigin": "HUMAN_ORIGINAL",
  "aiModel": "",
  "summaryEn": "Maintainer OPSEC workflow: place tool cache dirs like `.wrangler` in FORBIDDEN_DIRS rather than SKIP_DIRS in release gates.",
  "match": {
    "field": "filename",
    "containsAny": [
      ".wrangler/cache",
      "wrangler-account.json"
    ]
  },
  "actions": [
    "ALERT_USER",
    "EXPLAIN_TO_USER"
  ],
  "indicators": [
    {
      "type": "filename",
      "value": "wrangler-account.json"
    }
  ],
  "knowledge": {
    "environment": "Automated OPSEC gates scanning public open-source staging repositories",
    "symptom": "Hidden CLI cache folders containing cloud account IDs pass the scanner silently because they were added to SKIP_DIRS.",
    "rootCause": "SKIP_DIRS tells the scanner not to inspect a folder, whereas FORBIDDEN_DIRS fails closed if the folder exists in staging.",
    "verifiedFix": "Exclude `.wrangler` in both `.gitignore` and sync allowlists, AND list `.wrangler` inside `FORBIDDEN_DIRS` in the OPSEC scanner so any accidental copy aborts the release.",
    "verificationCheck": "Place a dummy `.wrangler/test.json` in a temp test dir and confirm the OPSEC gate exits with non-zero status.",
    "commandPattern": "",
    "commandRisk": "READ_ONLY",
    "license": "Apache-2.0",
    "sourceBasis": "MAINTAINER_VERIFIED"
  },
  "playbookSha256": "41e0f5fcb4e097fe5256ae7ce0a2dce46c4341d5c341eaf66b70108cde114b19",
  "snapshotSha256": "116114a19ef52fd932a20216d0c0a4136c3ef2489839d44e6e031683fb594cd2",
  "advisoryOnly": true
}
