Open Source Proxy for Agents
github.com·14w·
Discuss: Hacker News

AgentShield Proxy

A minimal PII-safe proxy on AWS (API Gateway + Lambda) using the Serverless Framework. It redacts emails & SSNs from request bodies and (optionally) tests Postgres connectivity.

✨ Features

  • 🔒 PII redaction: emails → [REDACTED_EMAIL], SSNs → [REDACTED_SSN]
  • 🐘 Optional DB check: SELECT 1 via psycopg2 when PG_DSN is set
  • 🔑 API key required in prod (via API Gateway usage plan)
  • 🧱 Tiny bundles: deps live in an AWS Lambda Layer; function zip stays small
  • 🛡️ Security blocks: Automatic blocking of admin DELETE operations

🚀 Quick Start

Prerequisites

  • Node 18+ and npx
  • AWS CLI configured with deploy permissions
  • Python 3.9 (only for building the psycopg2 layer)

1️⃣ Build the psycopg2 Layer

chmod +x...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help