meta/agents/security-agent/skills/08-api-security/SKILL.md
Audit all internal API endpoints for authentication, CORS, and rate limiting gaps
npx skillsauth add abzhaw/juliaz_agents api-securityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Every HTTP endpoint is a potential entry point. This skill probes all local services to check if auth is enforced, CORS is sane, and error messages don't leak internals.
| Service | Base URL | Auth Expected | |---------|----------|---------------| | Backend API | http://localhost:3000 | Yes (JWT or session) | | Bridge | http://localhost:3001 | Internal only | | Frontend | http://localhost:3002 | Public (but no sensitive routes) | | Cowork MCP | http://localhost:3003 | Internal only |
Access-Control-Allow-Origin: * set on the backend? (bad)# Test unauthenticated access to backend
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/api/health
# Check CORS headers
curl -s -I -H "Origin: https://evil.com" http://localhost:3000/api/ \
| grep -i "access-control"
# Test for stack trace in 500 errors
curl -s http://localhost:3000/api/nonexistent | head -5
| Finding | Severity | |---------|----------| | Auth bypass on sensitive endpoint | 🔴 Critical | | CORS wildcard with credentials | 🔴 Critical | | Stack trace in error response | 🟠 High | | Bridge/MCP exposed to external network | 🟠 High | | No rate limiting on auth endpoints | 🟡 Medium |
API SECURITY
backend (3000): ✅ auth enforced, CORS restricted
bridge (3001): ✅ localhost only, no public exposure
frontend (3002): ✅ no sensitive routes
cowork-mcp (3003): ⚠️ returns stack trace on 500 errors
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.