maisecrets プラグイン
Intercepts detected secrets and PII before they reach the cloud model: deterministic detection, a local vault with TTL, placeholders resolved only where the real call happens. Free and open source, by mcpgate.de.
maisecrets プラグインのインストール方法
両方のコマンドを Claude Code 内で実行してください。最初のコマンドで marketplace を一度追加し、2 番目のコマンドでプラグインをインストールします。
/plugin marketplace add Mcpgate-de/maisecrets
/plugin install maisecrets@maisecretsmaisecrets の内容
プラグイン自身のファイルから読み込まれた 21 個のパーツ です。
コマンド 14
/maisecrets:name として実行- /maisecrets:audit[n]
The last uses of your stored values - when, in which session, which placeholder, which tool and command. No value is shown.
- /maisecrets:forget<key> [key ...]
Delete stored values by key, for example /maisecrets:forget SECRET_c3, or an import of values with /maisecrets:forget import:ID as your own prompt. A placeholder for a deleted key no longer resolves.
- /maisecrets:guard[install | remove | status]
Install a guard outside the plugin folder that blocks the session when an update left maisecrets not running.
- /maisecrets:list
Show what maisecrets keeps on this computer - each stored value in its masked form, its type, age, uses and when it expires. No value is printed.
- /maisecrets:ner[on | local | url URL | gateway URL | fallback url URL | fallback off | prompts
Names in tool results from a named-entity service - local (a container on this computer), url URL (a service of your team), gateway URL (the gateway of your login) or off. Without an argument it shows the source and whether it answers.
- /maisecrets:put
Store the value in your clipboard and get a placeholder back (for a password maisecrets does not find by itself). The value never reaches the AI.
- /maisecrets:report[last | bug <text> | feature <text> | incident [code/cause]]
Report to the maisecrets maintainers - a false positive (last detection), a bug, a feature request, or the incident record. Prints the issue text and a prefilled link; the person opens the link and decides in GitHub's form. Carries no value.
- /maisecrets:rules
Show the detection rules of your own - each rule folder, how many rules it loaded, its hash, and each rule that was left out with the check it failed. No value is printed.
- /maisecrets:send
Send the last blocked prompt as maisecrets rewrote it (placeholders instead of values). No copying, works over SSH and in Remote Control.
- /maisecrets:settings[--all | KEY on|off|default | hints reset]
Show the maisecrets settings you decide - value, state (not decided, set by you, set by a policy) and meaning. To change one, send /maisecrets:settings KEY VALUE as your own prompt.
- /maisecrets:shortcut[name | --remove]
Install a short personal /ms command for /maisecrets:send (works over SSH and in Remote Control).
- /maisecrets:sref[status | login [NAME] | logout [NAME]]
Sensitive References of your gateway - status (the default) shows which MCP server offers them and whether maisecrets is logged in, login [NAME] logs in once in the browser, logout [NAME] forgets the login. No value is printed.
- /maisecrets:status
Show what maisecrets is and does on this machine - version, plugin folder, Python, store, policy, counts. No value is printed.
- /maisecrets:term[add NAME | remove NAME]
Your term lists - names, case numbers and customer names that maisecrets masks. Add one with /maisecrets:term add NAME, remove one with /maisecrets:term remove NAME (as your own prompt). No term is printed.
SKILL 1
タスクが一致したときに Claude が読み込みます- secret-hygiene
Protect secrets from the AI and clean up those that already leaked. Use when the user wants to protect passwords, keys or personal data from the AI or to install maisecrets; when the user asks whether a repository, its git history, a file or their past AI agent sessions contain passwords, API keys, tokens or private keys; when the user says a key or password was pasted into a chat, committed, pushed, logged or shared; when the user wants a log, config or stack trace made safe to post in an issue, ticket or chat; or when you are about to read a file full of secrets, such as a password export, a .har recording, a .vcf or an .ics file; or when a placeholder such as ⟦EMAIL_c1⟧ must go into a document or a file. Never shows a secret value.
Hook 6
以下のイベントで実行されます- PostToolUsecommand
ファイルに説明がありません。
- PostToolUseFailurecommand
ファイルに説明がありません。
- PreToolUsecommand
Bash|PowerShell|Write|Edit|MultiEdit|NotebookEdit|Read|Grep|, apply_patch, SendMessage
- SessionEndcommand
ファイルに説明がありません。
- SessionStartcommand
ファイルに説明がありません。
- UserPromptSubmitcommand
ファイルに説明がありません。
Claude Code での maisecrets の使用方法
Claude Code セッションでコマンドを入力してください:
/maisecrets:audit [n]
/maisecrets:forget <key> [key ...]
/maisecrets:guard [install | remove | status]SKILL にコマンドは不要です。リクエストが説明と一致したときに Claude が読み込みます。
更新、オフ、または削除
- プラグインを更新 (shell)
- claude plugin update maisecrets@maisecrets
- marketplace を更新
- /plugin marketplace update maisecrets
- 一時的にオフにする
- /plugin disable maisecrets@maisecrets
- 削除する
- /plugin uninstall maisecrets@maisecrets
maisecrets のスキル
- secret-hygieneMcpgate-de/maisecrets
Protect secrets from the AI and clean up those that already leaked. Use when the user wants to protect passwords, keys or personal data from the AI or to install maisecrets; when the user asks whether a repository, its git history, a file or their past AI agent sessions contain passwords, API keys, tokens or private keys; when the user says a key or password was pasted into a chat, committed, pushed, logged or shared; when the user wants a log, config or stack trace made safe to post in an issue, ticket or chat; or when you are about to read a file full of secrets, such as a password export, a .har recording, a .vcf or an .ics file; or when a placeholder such as ⟦EMAIL_c1⟧ must go into a document or a file. Never shows a secret value.
10件のファイル8スター
maisecrets プラグインに関する質問
maisecrets プラグインをインストールするにはどうすればよいですか。
Claude Code で /plugin marketplace add Mcpgate-de/maisecrets を実行し、続いて /plugin install maisecrets@maisecrets を実行します。
maisecrets プラグインには何が含まれていますか。
maisecrets には 14 件のコマンド, 1 件のスキル, フック が含まれています。
maisecrets プラグインにはどのようなコマンドが追加されますか?
/maisecrets:audit, /maisecrets:forget, /maisecrets:guard, /maisecrets:list, /maisecrets:ner, /maisecrets:put +8 が追加されます。Claude Code でプラグインのプレフィックスを使用して、例えば /maisecrets:audit のように実行してください。
maisecrets プラグインを更新または削除するにはどうすればよいですか?
shell で claude plugin update maisecrets@maisecrets を使用して更新するか、/plugin の Installed タブから行ってください。削除するには /plugin uninstall maisecrets@maisecrets を使用してください。
maisecrets プラグインのライセンスは何ですか?
プラグインのマニフェストに記載されている Apache-2.0 です。