Open Source Proxy for Agents
github.comยท18hยท
Discuss: Hacker News
Flag this post

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...