Using Claude with full privileges to self-build an open-source software security firewall

huangyun_122 · x · 2026-11-27

After the T3 Code supply-chain incident, the author gave Claude top privileges on an isolated bastion host and let it design open-source software defense policies autonomously. Within an hour Claude produced a working setup: run untrusted code only in a disposable VMware VM (no access to host files/LAN), scan before execution, and accept that static scanning alone is unreliable — the author's own malicious test repos were caught, but per 2026 research 55% of malicious packages evade static scans via encoding tricks or runtime payload downloads. The toolchain: GuardDog, Chainguard malcontent (16k YARA rules), OSV-Scanner, ClamAV, Socket Firewall, with a safebox try <repo> one-command workflow. Remaining gap: VM can still reach host ports 22/445 pending a firewall script. The author credits Claude with a 1-2 month information head start and speculates frontier labs may already have undisclosed stronger models.

Original post →

More from coding & agent

coding & agent channel →