Cast Redact

Removes leaked secrets, API keys, tokens, usernames and machine paths from an asciicast .cast recording before publishing - scans and rewrites via a bundled script that catches values split across events and in headers. Use when the user wants to redact, sanitize, scrub, mask or remove a credential from a terminal recording. Not for editing .env files, trimming casts, or rendering.

Paldom Updated
Walkthrough: asciinema records a session, the bundled redact script finds and scrubs a leaked token, agg renders the sanitized cast to a GIF

File contents

Paldom/terminaltor commit bcee807f15

Frequently asked questions

npx get-skill add paldom/cast-redact