c51e0f88a3597ad65dc799b3b6b7f04364dfeb7a
C1 (V17) action-gate.sh: gates the ACTION, not just the tool name. Outcome model ALLOW/WARN/REQUIRE_APPROVAL/BLOCK. BLOCK on sensitive-file writes (.env, *.pem, id_rsa, .github/workflows, .ssh, .aws/credentials, .npmrc) and destructive/ remote-exec commands (rm -rf /, curl|bash, chmod 777, git push --force); REQUIRE_APPROVAL on dependency installs and non-local network egress (clears only with an audited CASAN_ACTION_APPROVER). Decisions logged to action-gate.jsonl. C2 (V18) supply-chain-gate.sh + supply-chain-scan.py: diffs package.json / requirements.txt / pom.xml / build.gradle against a baseline (explicit or git HEAD). BLOCK on denylisted/known-malicious packages, typosquats (edit-distance 1 to a known package), and dangerous lifecycle scripts (pre/post/install); REQUIRE_APPROVAL on any new dependency. Emits a dep-diff report and records which live scanners (npm audit / pip-audit / osv-scanner) are available. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
No description provided
648 MiB
Languages
Python
33.4%
Shell
32.4%
TypeScript
23.7%
PowerShell
4.5%
JavaScript
4.2%
Other
1.7%