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.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.