MASSAT - Security Audit for AI Agent Systems

Created By
craigmbrown2 months ago
Open-source security audit framework covering all 10 OWASP Agentic AI threat categories (ASI01-ASI10). Scan multi-agent systems for prompt injection, data exfiltration, broken access control, and 7 more categories. Returns risk scores (0-100) with remediation priorities. Free tier: 10 audits/day. Proven on a 94-agent production fleet. Complements Microsoft Agent Governance Toolkit.
Overview

MASSAT - Multi-Agent System Security Audit Toolkit

MASSAT Audited OWASP ASI License: MIT

The open-source security audit framework for AI agent systems. Covers all 10 OWASP Agent Security Index (ASI) categories. Used in production to audit a 94-agent fleet.

Get a Free Audit in 30 Seconds

curl -X POST https://craigmbrown.com/api/audit \
  -H "Content-Type: application/json" \
  -d '{"repo": "https://github.com/your-org/your-agent-repo"}'

Returns JSON with risk score, findings by severity, and link to full HTML report.

What MASSAT Checks

CategoryOWASP IDWhat It Catches
Unbounded AgencyASI01Agents with no permission boundaries or tool restrictions
Unsafe Tool UseASI02Direct shell access, unvalidated file operations, SQL injection
Insecure CommunicationASI03Unencrypted inter-agent messaging, missing TLS
Memory PoisoningASI04RAG injection vectors, unvalidated memory writes
Inadequate SandboxingASI05Code execution without isolation, container escapes
Excessive PermissionsASI06Over-scoped API keys, admin privileges on read-only agents
Identity SpoofingASI07No agent authentication, missing delegation proofs
Weak OversightASI08No human-in-the-loop for critical actions
Supply ChainASI09Unpinned dependencies, unverified model sources
Denial of ServiceASI10No rate limiting, unbounded resource consumption

API Reference

POST /audit - Run Security Audit

# Audit a GitHub repo (free, 10/day)
curl -X POST https://craigmbrown.com/api/audit \
  -H "Content-Type: application/json" \
  -d '{"repo": "https://github.com/user/agent-repo"}'

# Audit with payment (unlimited, full scope)
curl -X POST https://craigmbrown.com/api/audit \
  -H "Content-Type: application/json" \
  -H "X-402-Payment: <ecash-token>" \
  -d '{"repo": "https://github.com/user/agent-repo"}'

Response:

{
  "audit_id": "audit-20260405-004858-f31d9003",
  "risk_score": 4.3,
  "risk_level": "medium",
  "critical": 0,
  "high": 0,
  "medium": 6,
  "low": 4,
  "report_url": "https://craigmbrown.com/audits/audit-20260405-004858-f31d9003.html",
  "get_passport": "https://craigmbrown.com/api/onboard?audit_id=audit-20260405-004858-f31d9003",
  "subscribe": "https://craigmbrown.com/api/subscribe"
}

POST /subscribe - Get Security Updates

curl -X POST https://craigmbrown.com/api/subscribe \
  -H "Content-Type: application/json" \
  -d '{"email": "you@company.com", "name": "Your Name", "company": "Acme AI"}'

GET /audit/{id} - Retrieve Full Report

curl https://craigmbrown.com/api/audit/audit-20260405-004858-f31d9003

GET /health - Service Status

curl https://craigmbrown.com/api/audit/health

Blog Posts

Real Audit Examples

See examples/ for sanitized production audit reports from 5 different fleet types:

  • SFA Fleet (19 Single File Agents) - Score: 4.3
  • Orchestrator Fleet (13 coordination agents) - Score: 4.3
  • Communication Fleet (6 WhatsApp/notification agents) - Score: 4.3
  • Marketplace Fleet (25 BlindOracle DeFi agents) - Score: 4.3
  • MCP Server (Context Oracle tool server) - Score: 4.5

Connection to BlindOracle

MASSAT is the security layer for the BlindOracle agent marketplace:

  • Every marketplace agent must pass a MASSAT audit before activation
  • Audit results are embedded in ERC-8004 agent passports
  • Continuous auditing available for marketplace operators ($99/mo)
  • Delegation proofs (15 kinds) are verified against MASSAT findings
Agent Onboarding Flow:
  1. curl /api/audit     -> Get security score
  2. curl /api/onboard   -> Get ERC-8004 passport (includes audit results)
  3. curl /api/subscribe  -> Join mailing list for security updates
  4. Marketplace active   -> Agent listed on BlindOracle with verified badge

Repository Structure

massat-framework/
  README.md              # This file
  LICENSE                # MIT
  api/
    openapi.yaml         # OpenAPI spec for the audit API
  blog/
    security-auditing-94-agent-fleet.md
    93-percent-zero-security.md
    owasp-asi-guide.md
  examples/
    audit-reports/       # Sanitized production audit JSON
    curl/                # Ready-to-run curl examples
  docs/
    getting-started.md   # Quick start guide
    api-reference.md     # Full API docs
    threat-model.md      # OWASP ASI01-10 detailed threat model
  assets/
    massat-badge.svg     # Badge for GitHub READMEs

License

MIT - See LICENSE for details.


Built by Craig Brown | Powered by BlindOracle

Server Config

{
  "mcpServers": {
    "massat": {
      "command": "python",
      "args": [
        "-m",
        "massat.server"
      ],
      "env": {
        "MASSAT_API_URL": "https://craigmbrown.com/api/v1/massat"
      }
    }
  }
}
Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
craigmbrown
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Juhedeepsearch

9 hours ago
Thiri Chord Intelligence
@BluesPrince

### Deterministic Music Theory for Claude, Cursor, and Autonomous AI Agents Large Language Models (LLMs) frequently hallucinate music theory, leading to incorrect notes, false Roman numerals, and broken voice leading. **THIRI** solves this by providing a deterministic, mathematical music-theory engine (pitch-class-set theory over ℤ/12) directly to your AI. It gives AI assistants precise, reproducible harmonic reasoning in milliseconds, allowing them to write correct musical scores, analyze progressions, and generate playable arrangements. #### 🎷 Key Features: * **Chord Analysis (`analyze_chord`):** Parse any symbol (e.g., `Cmaj7/E`, `G7#11`) to retrieve root, quality, intervals, Roman numerals, and diatonic or chromatic harmonic functions. * **Note Resolution (`resolve_chord`):** Resolve chord symbols to spelled notes (enharmonically correct), frequencies (Hz), MIDI numbers, and scale recommendations. * **Voicing Engine (`generate_voicing`):** Generate instrument-ready voicings (rootless, shell, triad, pad, drop-2, drop-3) and calculate voice-leading scores for transitions. * **Reharmonization (`reharmonize`):** Substitute progressions using classic jazz techniques, including Tritone Substitution, ii-V Insertion, Modal Interchange, Coltrane Changes, and Backdoor cadences. *Ideal for developers building AI music assistants, digital audio workstation (DAW) agents, educational theory tools, and automated composition workflows.*

21 hours ago