๐Ÿ”

VAULT

Security Agent ยท auth ยท routes ยท keys ยท threats

โ— ACTIVE 1 SMPL / task โ† roster โ† antcpu.com
// chat with vault
 
IDLE
๐Ÿ”
VAULT active. Security-first, paranoid by design. Auth review, route audits, key rotation, threat modelling โ€” paste code or describe what needs a security pass. No shortcuts.
VAULT ยท ready
// paste code for security review
// vault task queue
// core security
๐Ÿ”‘
auth review
Review authentication flow for vulnerabilities โ€” JWT, session, OAuth, Supabase auth. No shortcuts.
+1 SMPL
๐Ÿ›ค๏ธ
route audit
Audit Express/API routes for exposed endpoints, missing auth middleware, injection risks.
+1 SMPL
๐Ÿ”„
key rotation check
Review API key age and flag any keys due for rotation. Check ANTCPU2026, Gemini, Supabase keys.
+1 SMPL
๐Ÿงฑ
security headers audit
Check HTTP security headers โ€” CSP, HSTS, X-Frame-Options, CORS policy.
+1 SMPL
๐Ÿ”
dependency scan
Review npm dependencies for known CVEs. Flag outdated or vulnerable packages.
+1 SMPL
// threat modelling
๐ŸŽฏ
threat model
Build a threat model for antcpu โ€” attack surface, threat actors, risk matrix.
+1 SMPL
๐Ÿ•ต๏ธ
pen test brief
Write a penetration testing brief for the antcpu stack. Scope, methodology, priority targets.
+1 SMPL
๐Ÿ›ก๏ธ
incident response plan
Draft an incident response plan for a security breach โ€” detection, containment, recovery.
+1 SMPL
โšก
rate limit review
Review rate limiting on the AI endpoint โ€” Gemini 15 RPM / 20 RPD. Flag abuse vectors.
+1 SMPL
// vault ยท security audit

Paste any code, config, route, or env file. VAULT audits it for security vulnerabilities, misconfigurations, and risks.

๐Ÿ’ป code audit
๐Ÿ›ค๏ธ route audit
โš™๏ธ config audit
โœ… checklist
// paste code for audit
// code ยท config ยท routes ยท env
// antcpu route audit

Quick audit of known antcpu API routes. Click any to ask VAULT for a security review.

// config audit

Paste any config file โ€” vercel.json, package.json, .env structure, Supabase config. VAULT reviews it.

// config ยท env ยท json
// antcpu security checklist
๐Ÿ”‘
API key auth on /api/chat โ€” x-antcpu-key header
๐Ÿ›ก๏ธ
Supabase RLS on all tables โ€” time_clock, satellite
๐ŸŒ
CORS policy on Vercel deployments
๐Ÿ›ฐ๏ธ
SSRF protection on satellite fetch endpoint
๐Ÿ’‰
Prompt injection on satellite process endpoint
๐Ÿ“
No sensitive files exposed on static host
โšก
Rate limiting on AI endpoint โ€” 15 RPM / 20 RPD
๐Ÿ”’
HTTPS enforced on all endpoints
// vault ยท key management

All API keys and secrets in the antcpu stack. VAULT monitors rotation status and flags keys that need attention.

๐Ÿ”‘ registry
๐Ÿ”„ rotation
๐Ÿ“‹ policy
// antcpu key registry
๐Ÿค– ANTCPU2026 (API header key)
static ยท no expiry
REVIEW
๐Ÿง  Gemini API Key
Google Cloud ยท rotatable
OK
๐Ÿ—„๏ธ Supabase Anon Key
public ยท client-side exposed
REVIEW
๐Ÿ” Supabase Service Key
server-side only ยท never expose
OK
๐Ÿ“ก Satellite Route โ€” no auth
antcpu-launcher ยท open
RISK
// key rotation guide
// key security policy
// vault ยท threat register

Known and potential threats to the antcpu stack. Click any to ask VAULT for a full analysis and mitigation plan.

๐Ÿ›ฐ๏ธ SSRF โ€” Satellite Fetch Endpoint
CRITICAL
POST /api/satellite/fetch accepts arbitrary URLs and fetches them server-side. An attacker could use this to probe internal services, cloud metadata endpoints (169.254.169.254), or internal network resources.
Fix: URL allowlist ยท block private IP ranges ยท validate scheme (https only) ยท add auth to endpoint
๐Ÿ’‰ Prompt Injection โ€” Satellite Process
CRITICAL
POST /api/satellite/process sends user-controlled signal (fetched webpage content) directly to Gemini. A malicious webpage could contain prompt injection instructions that manipulate the AI output or extract system context.
Fix: sanitise signal before injection ยท add system prompt hardening ยท output validation ยท signal length cap (already 8000 chars)
๐Ÿ”‘ Static API Key โ€” ANTCPU2026
HIGH
The x-antcpu-key header uses a static value ANTCPU2026. This key is visible in all agent JS files client-side. Anyone who reads the source can call the AI endpoint directly, burning through the Gemini rate limit.
Fix: rotate to a per-session token ยท add rate limiting per IP ยท move to server-side proxy ยท or accept risk given free tier limits
๐Ÿ—„๏ธ Supabase Anon Key Exposure
HIGH
The Supabase anon key is exposed in nav.js client-side. This is by design for Supabase โ€” the anon key is public โ€” but RLS policies must be correctly configured or attackers can read/write all data.
Fix: verify RLS on all tables ยท ensure time_clock and satellite tables have correct policies ยท never expose service key
๐Ÿ“ก Satellite Status โ€” Unauthenticated
MEDIUM
GET /api/satellite/status returns all satellite entries including names, scopes, signal lengths, and intel summaries. No authentication required. This exposes internal monitoring data to anyone who knows the URL.
Fix: add auth header check ยท or move to internal-only route ยท or accept risk if data is non-sensitive
โšก AI Rate Limit Abuse
MEDIUM
Gemini 2.0 Flash free tier: 15 RPM / 20 RPD. The /api/chat endpoint has no server-side rate limiting. A single user or bot could exhaust the daily quota in seconds, taking down AI for all agents.
Fix: server-side rate limit per IP ยท client-side cooldown (already partial) ยท upgrade to paid tier ยท or add CAPTCHA
๐Ÿ“ Static File Exposure
LOW
Static hosting on antcpu.com could expose sensitive files if accidentally uploaded โ€” .env, config files, backup files, .git directory. Low risk if deployment is clean but worth verifying.
Fix: verify no sensitive files in public directory ยท add .gitignore ยท check hosting provider file listing settings
// vault performance
0
tasks completed
0
SMPL earned
0
messages sent
โ€”
last active
// model config
๐Ÿ”
KB demo mode
Prompt style: security agent โ€” paranoid by design, no shortcuts ยท auth ยท routes ยท keys ยท threats ยท Rate: 1 SMPL per task
โ— active
// activity log
// no activity yet โ€” start a task or send a message