atraxsrc

Claude Revoke — Security skill for Claude Code

Security community

Audit and revoke everything Claude Code has been given on Linux: trusted folders, "always allow" rules, saved transcripts, hooks, MCP servers.

How to install Claude Revoke

This entry records only its repository, not the path inside it, so there is no exact command to give. Open atraxsrc/claude-revoke and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Revoke does

Audit and revoke everything Claude Code has been given on Linux: trusted folders, "always allow" rules, saved transcripts, hooks, MCP servers. Quarantine instead of delete, one command to undo. Single Python file, no dependencies.

Alternatives in Security

  • Gdpr Review — Audit the codebase (or a given path/feature) for GDPR compliance and produce a prioritized findings report 172 ★
  • Claudit Sec — Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers 115 ★
  • Kali Pentest — Kali Linux penetration testing skill for AI agents (Claude Code, OpenClaw, Hermes Agent) 100 ★

README

claude-revoke banner

Python 3.8+ No dependencies Linux Pop!_OS COSMIC MIT license


Every time you run Claude Code in a folder and click **"Always allow"**, it remembers. After a year you can have hundreds of trusted folders, auto-approve rules, extra directories and saved transcripts spread across your disk, and no easy way to see them all.

**claude-revoke** is an installer-style terminal UI in reverse. Instead of choosing what to install, you see everything Claude Code has been given, grouped into **STALE**, **RISKY** and **OK**, tick what you want gone, and apply. Nothing is deleted: removed items go to a quarantine folder, and one command undoes a run.

Checklist screen

Features

  • Full inventory: trusted folders, "always allow" rules, extra directories, session transcripts, per-project settings files, hooks and MCP servers.
  • Grouped checkboxes: STALE (folder deleted), RISKY (broad rules such as Bash(*), bypass mode, hooks, leaked secrets) and OK. Tick a whole group or one folder at a time.
  • Secret scan: finds AWS keys, private keys, GitHub/Slack/API tokens and KEY=value lines inside saved transcripts, and shows the file, line and a redacted preview of each, so you know what to rotate. Identifiers and placeholders like your_password_here are filtered out.
  • Hardening: one tick adds deny rules fo