Skip to main content

Security scanner for AI agent workflows - find vulnerabilities in LangChain, CrewAI, and other agent frameworks

Project description

igris

Security scanner for AI agent workflows.

Find vulnerabilities in LangChain, CrewAI, OpenAI Agents SDK, and other AI agent frameworks before attackers do.

PyPI License: MIT

What It Does

igris connects to running AI agents and tests them for security vulnerabilities:

  • Prompt Injection — Can attackers override the agent's instructions?
  • System Prompt Extraction — Can attackers leak the agent's configuration?
  • Jailbreaks — Can attackers bypass safety guardrails?
  • Tool Abuse — Can attackers make the agent misuse its tools?
  • Multi-Turn Escalation — Can attackers manipulate the agent over conversation?

Quick Start

# Install
pip install igris

# Scan an agent
igris scan --http http://localhost:8000/chat

# Map agent capabilities
igris map --http http://localhost:8000/chat

Example Output

🔒 Scan Starting
Target: http://localhost:8000/chat
✓ Connected successfully

Discovering agent capabilities...
File Access:      ✓
Code Execution:   ✓
Web Access:       ✗
Memory:           ✓

Running security scans...

🚨 Found 4 Vulnerabilities
Critical: 1  High: 2  Medium: 1  Low: 0

┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Severity ┃ Title                    ┃ Category         ┃ Confidence ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ CRITICAL │ Dangerous Tool Execution │ tool_abuse       │ confirmed  │
│ HIGH     │ System Prompt Extraction │ prompt_injection │ likely     │
│ HIGH     │ Multi-Turn Escalation    │ multi_turn       │ confirmed  │
│ MEDIUM   │ Potential Override       │ prompt_injection │ possible   │
└──────────┴──────────────────────────┴──────────────────┴────────────┘

Installation

pip install igris

Or with AI-powered analysis:

pip install igris[ai]

Usage

Scan an Agent

# Basic scan
igris scan --http http://localhost:8000/chat

# With authentication
igris scan --http https://api.example.com/agent --auth "Bearer sk-xxx"

# Save report
igris scan --http http://localhost:8000/chat --output report.json

# Verbose output
igris scan --http http://localhost:8000/chat --verbose

Map Agent Architecture

# Discover what the agent can do
igris map --http http://localhost:8000/chat

Supported Frameworks

igris works with any AI agent that exposes an HTTP endpoint:

  • ✅ LangChain / LangGraph
  • ✅ CrewAI
  • ✅ OpenAI Agents SDK
  • ✅ AutoGen
  • ✅ Custom agents

Why igris?

Traditional security tools test code. igris tests behavior.

AI agents make decisions at runtime. They interpret instructions, choose tools, and act on user input. Static analysis can't find these bugs — you need to actually talk to the agent and see what it does.

igris does exactly that: sends adversarial inputs, observes agent behavior, and reports when the agent does something dangerous.

From the Creator of mcpsec

igris is built by the creator of mcpsec, which has reported 12+ vulnerabilities ranging from Medium to Critical severity in popular MCP implementations.

Same approach, one layer up: mcpsec tests MCP servers (the transport layer), igris tests agent workflows (the orchestration layer).

License

MIT

Author

Manthan Ghasadiya

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

igris-0.2.2.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

igris-0.2.2-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file igris-0.2.2.tar.gz.

File metadata

  • Download URL: igris-0.2.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for igris-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7a457b249aed3d5d588d66467f90ed690712c3654310ebb39b951975e95b44f1
MD5 0566b80339dc7387bb9c7a25e9052b0a
BLAKE2b-256 9488017d5c5f20e07cb15ff9aa13d41c2a3d8aabb0b7bed7b77152d643acd5c3

See more details on using hashes here.

File details

Details for the file igris-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: igris-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for igris-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb895c9539178efb31b02169c309c57dfbb320649f0f83cf623fa46a002c7eaa
MD5 0690b15f301d0f914531083ee3d8955f
BLAKE2b-256 64ab332f7d507c4a2f0b50fa43a55904eff9925c9b4bd0ed0f62e0796809a77e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page