iCreatAI News
Skip to content
Hacker News AI· Mnr39X·· 14 hr agoAI score58

Show HN: 200-line local Python harness to audit AI agent sandbox leaks

Show HN: 200-line local Python harness to audit AI agent sandbox leaks

AI summary

agent-canary is a zero-dependency, localhost-only Python harness that runs a read-only four-check audit of an AI agent sandbox's credential isolation, .env secret hygiene, blast-radius reachability (cloud metadata and local databases), and outbound egress. It also provides an init command to create a canary sandbox with fake keys and a prompt-injection fixture, plus a 127.0.0.1:9999 listener that logs when an agent exfiltrates a canary. The author cites the November 17 PyPI compromise of Microsoft's agent-framework (v1.26.1/v1.26.2) and Signal's November 20 default OS screenshot blocking as motivation, and includes a UFW hardening script for Ubuntu 24.04.

Source: Hacker News AI · github.com