Skip to content

About

A curated list of awesome AI agent security frameworks, runtime sandboxes, zero-leak redactors, prompt injection defenses, and compliance benchmarks.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Awesome AI Agent Security ๐Ÿ›ก๏ธ

Awesome PRs Welcome License: CC0-1.0 Maintained by RitualDev Lab

A curated list of awesome frameworks, runtime sandboxes, zero-leak redactors, prompt injection defenses, database guardrails, and compliance benchmarks for Autonomous AI Coding Agents (Claude Code, Cursor, Windsurf, Devin, OpenHands, Aider, LangGraph, CrewAI).

Online Playground โ€ข Documentation โ€ข Trust Center โ€ข Contributing


๐Ÿ“‘ Contents


๐ŸŽฏ Threat Models & Taxonomies


๐Ÿ“ฆ Runtime Sandboxes & Process Confinement

Tools providing kernel-level process isolation, syscall filtering, and filesystem boundaries for autonomous coding agents.

  • AgentShield - Enterprise-grade zero-leak secret defense, Landlock/seccomp kernel sandbox, and pseudo-terminal emulator for autonomous AI coding agents.
  • gVisor - Application kernel written in Go that implements a substantial portion of the Linux system call surface for secure container isolation.
  • Firecracker - Minimalist, secure MicroVM hypervisor written in Rust for serverless and agent confinement.
  • nsjail - Light-weight process isolation tool using Linux namespaces, cgroups, and seccomp-bpf.
  • Bubblewrap - Unprivileged sandboxing tool for Linux utilizing user namespaces to restrict directory hierarchies.
  • E2B - Cloud sandboxing platform built for running untrusted AI-generated code in isolated environments.

๐Ÿ”’ Zero-Leak Secret Redaction & Env Defense

Engines preventing agents from reading /proc/self/environ, executing echo $SECRET, or exfiltrating credentials across LLM boundaries.

  • AgentShield Secret Redactor - High-performance dual-pass zero-leak redactor featuring linear-time token verification, environment variable spoofing, and HMAC-SHA256 audit ledgers.
  • Detect-Secrets - An enterprise-friendly tool for finding and preventing secrets in codebases using entropy heuristics.
  • TruffleHog - High-speed git secret scanner with 800+ detector types and credential live-verification.
  • Gitleaks - Fast, lightweight tool for detecting hardcoded secrets like passwords, API keys, and tokens in repositories.

๐Ÿ—„๏ธ Database Guardrails & Wire Proxies

Proxy layers that inspect, validate, and intercept autonomous agent SQL queries before they touch production data.

  • DBShield - Air-gapped database wire proxy that intercepts unindexed queries, blocks destructive DROP/TRUNCATE operations, and orchestrates two-man rule Slack approvals.
  • SQLFluff - Dialect-flexible SQL linter and AST security parser validating agent-generated database queries.
  • Prisma Pulse Guard - Safe database interaction wrappers with row-level permission constraints.

โšก Context Compaction & Token Defense

Engines that compress agent context to prevent context-stuffing denial-of-service and minimize prompt exposure.

  • SkillPrism - JIT progressive skill disclosure and context compaction engine, cutting agent context token overhead by up to 96.7% while preserving instruction fidelity.
  • LLMLingua - Microsoft's prompt compression toolkit using small language models to remove redundant prompt tokens.
  • Selective-Context - Context reduction method based on self-information evaluation.

๐Ÿ”Œ Model Context Protocol (MCP) Hardening

Securing Anthropic's Model Context Protocol (MCP) tool servers and client transports.

  • MCPBuilderKit - Production scaffolding and testing toolkit for Model Context Protocol servers with schema validation and authentication gates.
  • MCP Official SDK - Official TypeScript and Python SDKs for Model Context Protocol.
  • MCP Security Guidelines - Architectural specifications for server-client isolation and authorization scopes.

๐Ÿ›ก๏ธ Prompt Injection & Indirect Jailbreaks

Gateways and guardrails detecting hostile instructions in user prompts and untrusted web inputs.

  • NeMo Guardrails - NVIDIA's open-source toolkit for adding programmable guardrails to LLM conversational systems.
  • Llama Guard 3 - Meta's fine-tuned model for input/output safety classification.
  • Rebuff - Multi-layer prompt injection defense incorporating heuristic filtering, LLM detection, and vector canary tokens.
  • Lakera Guard - Low-latency API layer defending against prompt injection and jailbreaks.

๐Ÿงช Red Teaming & Security Benchmarks

Frameworks for evaluating and adversarial testing of autonomous agents.

  • AgentBench - Multi-dimensional benchmark evaluating LLMs as autonomous agents across operating system, database, and web environments.
  • HarmBench - Standardized evaluation framework for automated red teaming of large language models.
  • Garak - LLM vulnerability scanner checking for hallucinations, data leaks, prompt injection, and misinformation.
  • PyRIT - Python Risk Identification Tool for generative AI by Microsoft.

๐Ÿ” Static Code Analysis for Agent-Generated Code

AST-level analyzers tailored for identifying insecure patterns in code generated by autonomous agents.

  • WebSecAuditor - AST taint analysis and automated GitHub PR security gate detecting SQL injections, SSRF, and prototype pollution in agent pull requests.
  • Semgrep - Fast, lightweight static analysis tool for finding bugs and enforcing code standards.
  • Bandit - Security linter for Python code.

๐Ÿ›๏ธ Regulatory Frameworks & Compliance


๐ŸŽฎ Interactive Playgrounds

  • RitualDev Adversarial Playground - Live, in-browser interactive terminal to test hostile agent payloads (AWS credential dumps, /proc/self/environ reads, ReDoS attacks) and observe real-time zero-leak redaction.

๐Ÿค Contributing

Contributions are welcome! Please read the Contributing Guidelines before submitting a pull request.


๐Ÿท๏ธ Embed Verifiable Badges in Your Repository

Add verifiable cryptographic defense, monetization, and catalog badges to your agent or tool README.md:

1. Runtime Sandboxing & Egress Defense

[![Secured by AgentShield](https://ritualdev.in/badge/secured-by-agentshield.svg)](https://ritualdev.in/agentshield)

Secured by AgentShield

2. Model Context Protocol (MCP) Monetization

[![Monetized with MCP](https://ritualdev.in/badge/monetized-with-mcp.svg)](https://ritualdev.in/mcp-builder)

Monetized with MCP

3. DevShelf Programmatic Registry A+ Verification

[![Verified by DevShelf](https://ritualdev.in/badge/verified-by-devshelf.svg)](https://ritualdev.in/devshelf)

Verified by DevShelf

4. Featured on Awesome AI Agent Security

[![Featured on Awesome AI Agent Security](https://img.shields.io/badge/Awesome-AI%20Agent%20Security-00F59B?style=flat-square&logo=shield)](https://github.com/RitualDev-Lab/awesome-ai-agent-security)

Featured on Awesome AI Agent Security


๐Ÿ“„ License

CC0

To the extent possible under law, RitualDev Lab has waived all copyright and related or neighboring rights to this work.

About

A curated list of awesome AI agent security frameworks, runtime sandboxes, zero-leak redactors, prompt injection defenses, and compliance benchmarks.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors