agent-config-audit drops to secure AI coding agents
agent-config-audit is an open-source security tool that inventories and scans repository configuration files across Claude Code, Cursor, Codex, and VS Code for malicious startup hooks, backdoors, and exposed secrets. It flags dangerous execution paths and credential leaks before developers run untrusted agent sessions.
As coding agents gain autonomous bash execution and background hooks, repository configuration files have quietly become prime vectors for supply-chain attacks and credential theft.
- –Read-only scanning prevents triggering payload execution from startup hooks like SessionStart or VS Code folderOpen tasks before developers issue their first prompt.
- –Targets real-world attack vectors, including malicious hook injections in .claude/settings.json and poisoned PyPI .pth files.
- –Redacts secrets by default and audits conversation history traces to catch credentials saved during automatic permission grants.
- –Solves a major blind spot in tools where trust is folder-scoped and fails to re-prompt when malicious hooks are pulled into previously trusted repositories.
DISCOVERED
31m ago
2026-11-23
PUBLISHED
33m ago
2026-11-23
RELEVANCE
AUTHOR
Cole Medin
