Skip to content

Best Open Source AI security and guardrails Software (2026)

36 open source tools in this category · top 30 ranked · Data checked November 24, 2026 · By , founder & editor

AI security and guardrail tools filter and control what goes into and out of LLM applications and agents. When choosing, check for prompt injection detection, PII masking, output moderation and custom policy rules. For agents, look at action guards, sandboxing, audit logging and human approval. Vulnerability scanning, red teaming and CI/CD integration help you test before release.

The open source tools are specialized. garak and promptfoo probe and red-team LLM apps. NeMo-Guardrails and presidio add safeguards and PII handling. PasteGuard and aulite work as self-hosted proxies. OpenShell sandboxes agents, and SkillSpector scans agent skills. No proprietary product is listed for this category.

Ranked AI security and guardrails tools

  1. 1

    SkillSpector

    AI security and guardrails

    Command-line scanner that checks AI agent skills for security risks before you install

    27k 2.5k today Thriving Apache-2.0

  2. 2

    OpenShell

    AI security and guardrails

    Sandboxed runtime that limits what autonomous AI agents can access, for teams running

    22k 2.2k today Thriving Apache-2.0

  3. 3

    iFixAi

    AI security and guardrails

    Python CLI that audits AI agents for overreach in a simulated business

    47k 1.8k 3 days ago Thriving Apache-2.0

  4. 4

    promptfoo

    AI security and guardrails

    CLI and library for testing and red-teaming LLM apps, run locally or in CI

    28k 2.8k today Thriving MIT

  5. 5

    garak

    AI security and guardrails

    Command-line scanner that probes LLM apps for jailbreaks, leaks and prompt injection

    10k 1.5k today Thriving Apache-2.0

  6. 6

    aulite

    AI security and guardrails

    Self-hosted proxy that audits AI API traffic for EU AI Act and GDPR risks

    198 5 months ago Dormant BUSL-1.1

  7. 7

    PasteGuard

    AI security and guardrails

    Self-hosted proxy that masks PII and secrets before prompts reach AI providers

    840 50 yesterday Thriving Apache-2.0

  8. 8

    agent-safe-pipeline

    AI security and guardrails

    Open-source gateway that authorizes AI agent actions before they run

    661 57 yesterday Thriving Apache-2.0

  9. 9

    Adrian

    AI security and guardrails

    Runtime security monitor that checks AI agent actions and reasoning for attacks

    599 97 34 days ago Slowing Apache-2.0

  10. 10

    aifw

    AI security and guardrails

    415 3 30 days ago Slowing Unknown

  11. 11

    gateway

    AI security and guardrails

    Self-hosted proxy that filters prompts and responses between your app and LLM APIs

    181 20 17 months ago Dormant BUSL-1.1

  12. 12

    shellward

    AI security and guardrails

    Scanner and runtime guard that checks AI projects against Chinese compliance rules

    140 23 2 months ago Active Apache-2.0

  13. 13

    localmod

    AI security and guardrails

    Offline moderation API that flags toxicity, PII, spam and prompt injection in text and

    116 22 32 days ago Slowing MIT

  14. 14

    jev-as-a-judge

    AI security and guardrails

    115 18 2 months ago Dormant Unknown

  15. 15

    Claw-Hunter

    AI security and guardrails

    Script that finds OpenClaw AI agent installs on endpoints for IT security teams

    89 8 9 months ago Dormant MIT

  16. 16

    skill-audit

    AI security and guardrails

    63 3 10 months ago Dormant Unknown

  17. 17

    clawsecure-openclaw-security

    AI security and guardrails

    Security scanner for OpenClaw agent skills, checked against the OWASP ASI Top 10

    41 4 2 months ago Slowing MIT

  18. 18

    agent-browser-shield

    AI security and guardrails

    Browser extension that cleans pages and blocks prompt injection for browsing AI agents

    35 3 18 days ago Active PolyForm-Shield-1.0.0

  19. 19
  20. 20

    onequery

    AI security and guardrails

    16 2 4 months ago Slowing Apache-2.0

  21. 21

    leashed

    AI security and guardrails

    12 9 months ago Dormant MIT

  22. 22
  23. 23
  24. 24

    Proxed AI

    AI security and guardrails

    9 AGPL-3.0

  25. 25

    reflex

    AI security and guardrails

    4 2 months ago Slowing MIT

  26. 26

    jev-guard

    AI security and guardrails

    3 today Active MIT

  27. 27

    jev-guardbench

    AI security and guardrails

    3 2 months ago Slowing Unknown

  28. 28

    jev-sec-bench

    AI security and guardrails

    3 2 months ago Dormant MIT

  29. 29
  30. 30

    jevguard-mcp

    AI security and guardrails

    2 2 months ago Slowing MIT

Self-hosted ai security and guardrails software

12 of these run on your own server: OpenShell, promptfoo, aulite, PasteGuard, agent-safe-pipeline, Adrian, aifw, gateway and more.

What to look for in ai security and guardrails software

The features we check for every tool in this category; they drive the parity scores on alternatives pages.

Prompt injection detection
Detects or blocks prompt injection and jailbreak attempts in LLM inputs or retrieved content.
PII detection and masking
Finds personal data or secrets in prompts and outputs and redacts, masks or anonymizes them.
Output content moderation
Filters or blocks harmful, toxic or off-topic content in model responses.
Custom policy rules
Lets users define their own safety rules or policies in code, config or natural language.
LLM vulnerability scanning
Probes models or apps with automated attacks to find weaknesses.
Red teaming and adversarial testing
Generates adversarial test cases and reports results for models or agents.
Agent action guards
Checks or blocks agent tool calls and actions before they run.
Agent sandboxing
Runs agents or tools in isolated environments with restricted access to files, network or credentials.
Gateway or proxy mode
Sits between applications and LLM providers as a proxy that inspects traffic.
Audit logging
Records decisions, requests and policy outcomes for review.
Compliance reporting
Produces reports or mappings against regulations or frameworks such as the EU AI Act or OWASP.
Human approval workflows
Escalates risky decisions to a human for approval.
MCP and agent skill scanning
Analyzes MCP servers, tools or agent skills for malicious or risky behavior.
Multi-provider LLM support
Works with several LLM providers and frameworks.
CI/CD integration
Runs checks automatically in build pipelines.

Frequently asked questions

Which tool can test my LLM app for prompt injection?

garak probes LLM apps for jailbreaks, leaks and prompt injection. promptfoo runs red-team tests locally or in CI.

How can I mask PII before it reaches an AI provider?

PasteGuard is a self-hosted proxy that masks PII and secrets in prompts. presidio is also built for PII detection.

What can I use to add guardrails to an LLM application?

NeMo-Guardrails is a Python library for programmable safeguards on LLM apps and agents. agent-safe-pipeline authorizes agent actions before they run.

How do I limit what an AI agent can access?

OpenShell is a sandboxed runtime that limits agent access. SkillSpector scans agent skills for risks before you install them.

Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.