AgentShield
A security tool that prevents secret leaks from AI coding agents’ commands and output.
What does it do?
When an agent runs a terminal command, the tool intercepts the command and its standard output and error output to block or mask secrets from .env files or environment variables before they leave the system. It checks staged changes before commits and can block pull requests containing exposed credentials in CI. It also presents a feature for evaluating how files and workspaces handle secrets against security controls.
Key features
- Intercept agents’ terminal commands to block secret access or risky execution.
- Mask credentials in standard output and error output.
- Scan staged changes for secrets before commits.
- Block pull requests with exposed credentials in CI and GitHub Action.
- Run locally by default and work without an internet connection.