Better HN
topnewbestaskshowjobs
Log inSign up

LocalhostLegend

1 karma · joined Apr 13, 2026 (7mo ago) · 4 submissions

Submissions

comment 7mo ago · link · parent

im building ReceiptBot an APM-style flight recorder to stop Node.js AI agents from going rogue, leaking .env secrets, or burning your API budget.

github.com/redshadow912/ReceiptBot

comment 7mo ago · link · parent

Hey HN. I got nervous about prompt injection bypassing standard agent SDKs by just calling node:fs directly. I built this to monkey-patch core modules and log a 'receipt' of what the agent actually did. I know it's not a hard OS sandbox, and Deno handles this better natively, but I wanted a pragmatic seatbelt for existing Node codebases. Would love feedback!

I wrote a short thread and included a screenshot of the UI catching a redacted key here: https://x.com/LocalhostLegend/status/2043511508408160666

3.

ReceiptBot – Stop Node.js AI agents from reading .env and burning your budget(github.com ↗)

1 points · by LocalhostLegend · 7mo ago · 1 comment