DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Agent Security: what you can do with it

What is Agent Security? SolonGate Agent Security is a local, open-source Go gateway that checks AI coding agent tool calls against policy, detects secrets, and writes an on-device audit trail.

How do I use it? git clone https://github.com/solongate/agent-security.git; then cd agent-security; ./scripts/shell/install.sh. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

· GitHub stats as of

4 use cases

  • Stop an AI coding agent from reading your .env secrets

    Install the local guard so an agent is refused when it reaches for a .env file and every decision is logged.

    View prompt
    Install the SolonGate guard from https://github.com/solongate/agent-security by running ./scripts/shell/install.sh in a fresh terminal, then start <agent> in <project-path> and ask it to read the .env file. Expected output: the guard refuses the read and the agent reports the refusal. Verify by running `solongate audit` and confirming a deny entry for .env exists in ~/.solongate/local-logs/solongate-audit.jsonl.
  • Lock files so a coding agent cannot delete or edit them

    Put an OS-level lock on key files and start the agent inside that protection so it cannot remove them.

    View prompt
    Using the SolonGate repo at https://github.com/solongate/agent-security, run `solongate protect <file-path>` and then `solongate run -- claude` in <project-path>. Expected output: the protected file cannot be deleted or written by the agent. Verify by running `solongate protect list` and checking that <file-path> is listed with the lock it is actually held by.
  • Confine a coding agent to one project folder on Linux

    Start an agent in a closed box where only one project directory exists and nothing else on the machine is visible.

    View prompt
    On a Linux machine with bwrap installed, use the SolonGate repo at https://github.com/solongate/agent-security to create a sandbox box from the TUI Sandbox section for <project-path>, then run `solongate sandbox 001 claude`. Expected output: the agent starts with the project at /workspace and home directories absent. Verify by running `solongate sandbox --explain 001` and checking that the listed contents match the project only.
  • Review every tool call an AI coding agent made

    Read the local audit trail and watch live tool calls to see what an agent tried and what the guard decided.

    View prompt
    Using https://github.com/solongate/agent-security, run `solongate audit` after a session with <agent> in <project-path>. Expected output: a list of tool calls with their allow or deny decisions. Verify that ~/.solongate/local-logs/solongate-audit.jsonl contains one JSON object per decision, matching what the audit view shows.

Quick start with Agent Security

  1. Check you have what it needs: A machine where you can run a shell and git (the README installs with git clone and ./scripts/shell/install.sh); Claude Code or Codex installed as the agent you want to guard; A new terminal after install, since hooks load only when a session starts.
  2. Open solongate/agent-security on GitHub and read the README and license.
  3. git clone https://github.com/solongate/agent-security.git
  4. cd agent-security
  5. ./scripts/shell/install.sh
  6. Open a new terminal, then start Claude Code or Codex in your project.

These steps come from our top use case, Stop an AI coding agent from reading your .env secrets, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for solongate/agent-security

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Security and science · Compared in: Best open-source AI repos for securing AI coding agents

About this repo

  • Who it is forDevelopers and security-minded engineers who run AI coding agents on their own machines and want to control what those agents can read, write, and send.
  • Why it is hot155 stars on GitHub as of Nov 6, 2026, launched Sep 27, 2026
  • LanguageGo
  • Sourcegithub.com/solongate/agent-security · Back to Hot repos

Requirements

  • A machine where you can run a shell and git (the README installs with git clone and ./scripts/shell/install.sh)
  • Claude Code or Codex installed as the agent you want to guard
  • A new terminal after install, since hooks load only when a session starts
  • For the sandbox use case: Linux with bubblewrap (bwrap) installed, since the README says it is required and macOS and Windows refuse

Add this badge to your README

Maintain Agent Security? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/solongate/agent-security.svg)](https://dedupedai.com/use-cases/solongate-agent-security/?utm_source=github&utm_medium=badge&utm_campaign=solongate-agent-security)

HTML

<a href="https://dedupedai.com/use-cases/solongate-agent-security/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=solongate-agent-security"><img src="https://dedupedai.com/badge/solongate/agent-security.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Agent Security

What is Agent Security?

SolonGate Agent Security is a local, open-source Go gateway that checks AI coding agent tool calls against policy, detects secrets, and writes an on-device audit trail. It is an open-source project on GitHub: https://github.com/solongate/agent-security.

How do I use Agent Security?

git clone https://github.com/solongate/agent-security.git; then cd agent-security; ./scripts/shell/install.sh. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Agent Security for?

Developers and security-minded engineers who run AI coding agents on their own machines and want to control what those agents can read, write, and send.

What can I do with Agent Security?

4 use cases so far, for example: Stop an AI coding agent from reading your .env secrets; Lock files so a coding agent cannot delete or edit them; Confine a coding agent to one project folder on Linux. Each has steps and a copy-paste agent prompt.

What do I need to run Agent Security?

A machine where you can run a shell and git (the README installs with git clone and ./scripts/shell/install.sh); Claude Code or Codex installed as the agent you want to guard; A new terminal after install, since hooks load only when a session starts; For the sandbox use case: Linux with bubblewrap (bwrap) installed, since the README says it is required and macOS and Windows refuse.

What are alternatives to Agent Security?

Other hot AI repos in Security and science: Failproofai, Codex Security, Chgnet, Semgrep, Mace.

Is Agent Security safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.