Home / Claude Code mods / Security / phi-guard-tw

phi-guard-tw

phi-guard-tw is a Claude Code mod by liangRXdev that 在模型讀到之前遮罩台灣身分證/居留證號與有標籤的病歷號、健保卡號;擋下會把遮罩值寫回來源的工具呼叫.

Updated 2026-10-13

What is phi-guard-tw?

phi-guard-tw is a Claude Code mod by liangRXdev that 在模型讀到之前遮罩台灣身分證/居留證號與有標籤的病歷號、健保卡號;擋下會把遮罩值寫回來源的工具呼叫. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorliangRXdev
RepositoryliangRXdev/phi-guard-tw
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (88/100)
Rank#3,802 of 5,272 Claude Code mods; #402 in Security
LicenseMIT
Last commit2026-10-13
Hooks4 events
Seesevery prompt, every tool call
Draws onnothing

Is phi-guard-tw safe to install?

phi-guard-tw scores 88/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.fs.statreads files
$.session.root
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install phi-guard-tw?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/liangRXdev/phi-guard-tw
    claude plugin validate ./phi-guard-tw/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add liangRXdev/phi-guard-tw && claude plugin install phi-guard-tw@phi-guard-tw

Or ask Claude to set it up

Paste this into Claude Code and it installs phi-guard-tw for you:

Install the "phi-guard-tw" Claude Code mod from https://github.com/liangRXdev/phi-guard-tw. Run claude plugin validate on it first and show me what it can access before you enable it.