All shelves / Mods / Safety
pdpa-thai
By Boom-Vitt
pdpa-thai is a Claude Code safety mod by Boom-Vitt.
Refuses a tool call that repeats a placeholder for Thai or other personal data it redacted before sending, and masks that data on screen.
DrawsHolds a command
Install
The marketplace name is boombignose-mods.
claude plugin marketplace add Boom-Vitt/boombignose-mods claude plugin install pdpa-thai@boombignose-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.3.0
- License
- MIT
- Repo stars
- 5
- Last change
- 2026-10-08
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
The guard's toasts and the /pdpa-guard replies are in Thai. boombignose-mods is a set of Claude Code mods: this guard, a context bar, an agents pane, and a multi-agent workflow. PDPA is Thailand's Personal Data Protection Act. The guard starts as redact, with the on-screen mask on and recording mode off. Those settings are not saved, and Claude Code starts that way again. redact replaces each detected value with a placeholder before the text is sent. block refuses to send a prompt that contains detected personal data. off turns off redaction and the tool-call refusal. The mask is separate: /pdpa-blur on, off, or record. While redact or block is on, a tool call that contains a placeholder issued in this session, written exactly as issued, is refused, and Claude is told to ask you for the real value. The mask draws a detected value in your messages and Claude's messages as a grey block. Hover reveals it, except in recording mode, and only in the terminal and the desktop app. The status line shows PDPA and the mode. Detection runs in the Claude Code process. The mod makes no network call of its own. The redacted conversation is still sent to your configured model provider, Anthropic by default. The author says the rules will miss some personal data and will flag some harmless text, that this is not a secret scanner, and that installing it does not make an organization compliant and is not legal advice. If a hook errors or runs past Claude Code's time limit, the text is sent unchanged, with no notice. Tested only with Claude Code 2.1.289.
The marketplace name is boombignose-mods. The marketplace also holds context-bar, agents-panel, and bbnw. This one installs on its own. The tool-call refusal is why this page files it under safety. It guards Thai and international personal data, such as a national ID number, a phone number, or an email address, in what is sent and on screen. display-redaction masks email addresses and secret-shaped text in what Claude Code draws, and leaves the transcript, the model's context, and the files unchanged. wp-credential-guard masks a WordPress username and application password, refuses a slash command that carries one, and denies Bash when a placeholder is unknown. This one guards personal data rather than credentials, replaces it before it is sent, and refuses a tool call that repeats a placeholder it issued. The redacted conversation still goes to the configured model provider on the login Claude Code already holds, so this page does not list that send as network access. The source writes the redaction toasts and the /pdpa-guard replies in Thai. The blur replies are in English.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/pdpa-guard/pdpa-blurprompt.submitWhen you send a promptsession.appendWhen an entry is written to the transcriptprompt.attachmentA Claude Code eventprompt.contextA Claude Code eventtool.callAround a tool call, where it can hold oneui.renderDraws into the sessionAssistantMessageUserMessage
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 2
/pdpa-guardPDPA guard: redact | block | off (no argument shows the current mode)/pdpa-blurPDPA blur in the transcript: on | off | record (record = no hover reveal, for screen recording)
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- Boom-Vitt
- Category
- Safety
- Marketplace
- boombignose-mods
- Folder
- pdpa-thai
- Version
- 0.3.0
- License
- MIT
- Repo stars
- 5
- Last change
- 2026-10-08
- Language
- Shell
- Files
- 8