Best free AI agent security frameworks and testing tools in 2026

Free, public frameworks and open-source tools for threat-modeling and testing LLM agents before you give them tools, data or credentials.

Summary: Free, public frameworks and open-source tools for threat-modeling and testing LLM agents before you give them tools, data or credentials. Every item below is free to use; open-source tools are self-hosted.

Resource Type Best for Cost
OWASP Top 10 for LLM Applications / GenAI Security Project Framework A shared checklist of the main LLM and agent risks (prompt injection, excessive agency, data leakage) Free
MITRE ATLAS Knowledge base Mapping real adversary techniques against AI systems Free
NIST AI Risk Management Framework Framework Governance: who owns AI risk and how it's measured Free
garak Open-source scanner Probing a model endpoint for jailbreaks, prompt injection and leakage Free (open source)
promptfoo Open-source test/red-team CLI Repeatable prompt and red-team tests in CI Free open-source core; paid tiers exist
OSV.dev Vulnerability database Checking the Python/JS packages your agent stack depends on Free

How to combine them

  1. Threat-model with OWASP and ATLAS: list each tool your agent can call and what an injected instruction could make it do.
  2. Test with garak or promptfoo before launch and on every model or prompt change.
  3. Scan dependencies with OSV — agent frameworks pull in many packages.
  4. Use NIST AI RMF to assign an owner and a review cadence.

Disclosure. Agent Field Kit is independent. No vendor paid to be listed, and this page has no affiliate links. SOURCED: each project's official page. Licenses read from each repository's LICENSE file (garak: Apache-2.0; promptfoo: MIT), links checked 2026-11-09.