
from api-relay-audit427
An 11-step automated security audit for AI API relay/proxy services — detects prompt injection, context truncation, tool-call substitution, stream integrity iss
Provides a one-command, structured 11-step audit for third-party AI API relays (OpenAI-compatible or Anthropic-compatible). Tests include infrastructure recon, model enumeration, token-injection measurement, multiple prompt-extraction methods, jailbreak checks, context-length boundary detection, tool-call substitution probes (AC-1.a), error-response leakage scans (AC-2), SSE stream integrity checks, and optional Web3-specific probes. Produces a Markdown risk report.
Run this skill when you need to verify the safety of a relay service before using it for sensitive workloads: when suspecting hidden prompt injection, unusual billing/token consumption, context truncation, or when onboarding a new third-party relay. Also use when debugging unexpected model behavior that could stem from proxy tampering.
audit.py) designed to run with Python3 + curl; the SKILL.md documents CLI usage and flags.Security and infra-focused agents, DevOps/infosec tooling integrations, and any agent able to run Python CLI tools and analyze Markdown reports.
API Relay Security Audit is a comprehensive 14-step automated security audit for testing third-party AI API relay/proxy services for prompt injection, context truncation, tool-call substitution, and other relay threats. The SKILL.md is exceptionally detailed with clear triggers, step-by-step workflow, and risk interpretation tables. The main audit.py script (82KB) is well-structured but uses subprocess.run with shell=True for DNS/WHOIS/SSL lookups and ssl._create_unverified_context() for cert fetching. All 7 scripts failed to run in isolation: audit.py and context-test.py need the api_relay_audit package; build-standalone.py and sync-version.py need a VERSION file; extract-data.py and process_submission.py are CI helpers requiring specific arguments. The curl download pattern in SKILL.md uses -fsSL which is safer than piped shell but still downloads remote code, mitigated by version pinning.
api_relay_audit (module package)Legitimate security audit tool for testing API relay services. Security deductions: -12 for shell=True subprocess usage, -10 for ssl._create_unverified_context (2x, contextually justified for an SSL cert audit tool), -6 for curl-based remote code download pattern in SKILL.md instructions. Well-designed for its purpose. Scripts are development/CI helpers rather than agent-facing tools, slightly reducing out-of-box quality. Architecture is strong with good frontmatter, clear separation, progressive disclosure. Usefulness is high: API relay security auditing is a genuine and growing need in the AI ecosystem.