agent-development
Audited by Socket on Feb 15, 2026
1 alert found:
Obfuscated FileThe supplied fragment is not malicious code, but it prescribes an overly-permissive agent permission model that materially increases the risk of data exposure and unauthorized modification. Key risky elements: unrestricted WebFetch(domain:*), giving all tools to all agents, inclusion of Bash control-structure tokens, and write/edit commands that enable staging. Recommend applying least-privilege: remove or narrow WebFetch domain scope, restrict Bash to atomic read-only operations (avoid control tokens), separate agents by required privileges, add explicit deny-lists or protections for common secret paths, require human approval for sensitive operations, and implement logging/monitoring of agent network/file actions.