Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 0

redactx: scrub secrets before you paste into AI

Context packs and log dumps are useful until they contain an API key. redactx is a local, zero-dependency filter that redacts common secrets before the text leaves your machine. pip install git+https://github.com/Sybi

Context packs and log dumps are useful until they contain an API key. redactx is a local, zero-dependency filter that redacts common secrets before the text leaves your machine.

pip install git+https://github.com/SybilGambleyyu/redactx.git
ctxpack -b main | redactx > safe-pack.md

Catches AWS keys, GitHub tokens, JWTs, PEM blocks, PASSWORD= assignments, connection strings, Bearer headers, and emails.

Pairs with ctxpack.

Source: github.com/SybilGambleyyu/redactx.

Canonical: https://sybilgambleyyu.github.io/posts/redactx/

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.