by solongate
Local-first, open-source security gateway for AI coding agents. Enforce tool-call policies, detect secrets, and audit actions on-device.
# Add to your Claude Code skills
git clone https://github.com/solongate/agent-securityGuides for using ai agents skills like agent-security.
Last scanned: 10/14/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-14T09:19:33.632Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how agent-security compares with popular alternatives.
agent-security is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by solongate. Local-first, open-source security gateway for AI coding agents. Enforce tool-call policies, detect secrets, and audit actions on-device. It has 710 GitHub stars.
Yes. agent-security passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/solongate/agent-security" and add it to your Claude Code skills directory (see the Installation section above).
agent-security is primarily written in Go. It is open-source under solongate on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-security against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
SolonGate Agent Security is SolonGate's open source, local first security gateway for AI coding agents. It checks tool calls against your policies before they run, with secret detection, rate limits and a local audit trail.
This repository is the Agent Security gateway. The rest of the portfolio is at solongate.com.
Everything stays on the machine. The policy is a file, the audit trail is a file, and the guard makes no network calls. No account, no telemetry.
Requires git to clone this repo. Go 1.26+ is needed too; install.sh
downloads the official go.dev build for you if it is not already there,
regardless of OS.
git clone https://github.com/solongate/agent-security.git
cd agent-security
./scripts/install.sh
solongate
Then open a new terminal. Hooks load when a session starts, so an already open one is not guarded yet.
A real Claude Code session: the agent reaches for a .env, the guard refuses it,
and the agent says so rather than quietly working around it.
| Layer | What it does |
|---|---|
| Policy rules | Allow or deny by path, command, filename or URL, scoped to READ, WRITE, EXECUTE or NETWORK. |
| DLP | 70+ built in secret patterns plus your own, in four modes: off, detect, redact, block. |
| Egress | In block mode, refuses an upload whose file holds a secret, which pattern matching on the call alone cannot see. |
| Rate limits | A cap per minute, hour or day. |
| The prompt | A shim masks the outbound request body on Claude Code, which no tool call hook can reach. |
| Tamper protection | The guard's own state is unreachable from a tool call, and a policy in a repository cannot switch it off. |
| Protected paths | A path the OS itself refuses the agent, rather than a rule matched against the words in a tool call. |
| Sandbox | The agent's whole root is a new, minimal filesystem holding only the project; everything else is not refused, it is not there. |
solongate the TUI: policies, audit, settings
solongate policy list, create and edit the policy
solongate dlp secret detection
solongate ratelimit the rate limit
solongate policy protect <path> lock a path, and say what the lock is worth
solongate policy protect list what is actually holding each path, read from disk
solongate sandbox list the boxes this machine has, and their ids
solongate sandbox 001 claude start the agent inside box 001
solongate sandbox --explain 001 everything that is in that box
solongate run claude start an agent with protected paths out of reach
solongate audit browse the audit trail
solongate watch live tail tool calls
solongate trace what the guard saw in this directory
solongate doctor health check
solongate repair restore the guard, hooks and settings
solongate update pull the newest version and reinstall
solongate range how far an update is allowed to move
solongate range short every commit on the branch
solongate range long tagged releases only, reliable (the default)