HNHacker News
TopNewBestAskShowJobs

CriptoSeguro25

1 karma · joined January 22, 2026

Crypto user concerned about security. I enjoy testing lightweight tools that respect privacy and prevent simple user errors.
submissionscomments
CriptoSeguro25··on Ask HN: Best practice securing secrets on local machines working with agents?
You ar absolutely right. Obfuscation like Base64 or rot13 will always beat static Regex. I was thinking more in terms of a seatbelt for accidental leaks user error rather than a defense against adversarial prompt injection. It's about reducing the blast radius of clumsy mistakes, not stopping a determined attacker.
CriptoSeguro25··on Ask HN: Best practice securing secrets on local machines working with agents?
TBH, the best pattern I've seen is just nuking the secrets at the input level. Run a local regex watcher in-memory that flags anything looking like a PK or seed phrase before it even hits the agent's context window. Keeps it off the network stack entirely