Mastyf.ai

•
23
•

Provides perimeter defense for LLMs and AI agents through swarm analysis, policy enforcement, adversarial testing, and real-time threat detection.

Mastyf.ai is an open-source AI security platform designed to provide comprehensive perimeter defense for large language models and autonomous AI agents. It acts as a crucial security layer, intercepting every tool call an AI makes to your infrastructure. Utilizing multi-agent swarm analysis, mastyf.ai evaluates these calls against defined security policies, effectively blocking malicious or unauthorized actions such as prompt injection, path traversal, secret exfiltration, and shell injection before they can execute. The platform ensures runtime enforcement, granular policy control, a full audit trail for all AI actions, and continuously hardens its defenses through a unique architecture of coordinated CI and Runtime Swarms that learn and adapt to new threats.

主要功能

01Customizable policy enforcement with YAML rules and multiple enforcement modes
02Real-time perimeter defense for AI agents and LLMs
03Multi-layered threat detection including pattern, schema, and semantic analysis
04Comprehensive dashboard for activity monitoring, threat insights, and cost tracking
05Integrated CI and Runtime Swarms for continuous adversarial testing and defense hardening
0617 GitHub stars

使用案例

01Preventing unauthorized access to sensitive files, databases, and APIs by LLMs
02Protecting AI agents from malicious instructions like prompt injection and data exfiltration
03Ensuring auditable security and compliance for AI interactions with critical infrastructure