aradotso avatar

Crabtrap Llm Proxy

If you're shipping AI agents that make HTTP calls, this is a security layer that sits between your agent and the internet. Every outbound request hits static rules first, then gets evaluated by an LLM judge against a natural language policy before it reaches the actual API. You get SSRF protection, audit logs in Postgres, and a 403 with reasoning when something's blocked. It's overkill for demos but makes sense if your agent has write access to production APIs or you're worried about prompt injection leading to unauthorized calls. Ships as a Docker container with an admin UI for managing rules and policies per user.

skills.sh installs
257
GitHub stars
26
last updated
Jun 3, 2026

Install

$ npx -y skills add aradotso/trending-skills --skill crabtrap-llm-proxy --agent claude-code

Installs into .claude/skills of the current project.

Files

CrabTrap LLM Proxy

Skill by ara.so — Daily 2026 Skills collection.

CrabTrap is a transparent HTTP/HTTPS forward proxy that sits between AI agents and external APIs. Every outbound request is intercepted, checked against deterministic static rules, then evaluated by an LLM judge against a natural-language security policy. Blocked requests return a 403 with a reason; all decisions are logged to PostgreSQL.

Architecture Overview

Agent → CrabTrap Proxy (:8080) → [Static Rules] → [LLM Judge] → External API
                ↓
         Admin UI (:8081)
                ↓
           PostgreSQL

Key concepts:

  • Static rules — deterministic prefix/exact/glob URL matching, checked first (no LLM call)
  • LLM judge — natural-language policy evaluated only when no static rule matches
  • Audit log — every request, decision, and response stored in PostgreSQL
  • SSRF protection — blocks RFC 1918, loopback, link-local, and other private ranges

Installation

Docker Compose (Recommended)

Sponsors

Details

Repository
github.com/aradotso/trending-skills
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from aradotso/trending-skills

All 251
1octagonai avatarsec-proxy-analysisoctagonai/skillsAnalyze proxy statements (DEF 14A) to extract executive compensation, governance information, and shareholder voting matters using Octagon MCP. Use when researc252skills.sh installs
2daffy0208 avatarapi-integration-builderdaffy0208/ai-dev-standardsBuild reliable third-party API integrations including OAuth, webhooks, rate limiting, error handling, and data sync. Use when integrating with external services244skills.sh installs
3firebase avatarfirebase-firestore-enterprise-native-modefirebase/skillsfirebase firestore enterprise native mode240skills.sh installs
4yonatangross avatardatabase-patternsyonatangross/orchestkitDatabase design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schem238skills.sh installs
5yonatangross avatarreact-server-components-frameworkyonatangross/orchestkitUse when building Next.js 16+ apps with React Server Components. Covers App Router, Cache Components (replacing experimental_ppr), streaming SSR, Server Actions227skills.sh installs
6davila7 avatarhmdb-databasedavila7/claude-code-templatesAccess Human Metabolome Database (220K+ metabolites). Search by name/ID/structure, retrieve chemical properties, biomarker data, NMR/MS spectra, pathways, for m222skills.sh installs