Плагин 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. Первая один раз добавляет маркетплейс; вторая устанавливает плагин.
/plugin marketplace add Mcpgate-de/maisecrets
/plugin install maisecrets@maisecretsЧто внутри maisecrets
1 часть прочитано из файлов самого плагина.
Команды 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.
Skills 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.
Хуки 6
Запускается при этих событиях- PostToolUsecommand
В файле нет описания.
- PostToolUseFailurecommand
В файле нет описания.
- PreToolUsecommand
Bash|PowerShell|Write|Edit|MultiEdit|NotebookEdit|Read|Grep|, apply_patch, SendMessage
- SessionEndcommand
В файле нет описания.
- SessionStartcommand
В файле нет описания.
- UserPromptSubmitcommand
В файле нет описания.
Использование maisecrets в Claude Code
Введите команду в сессии Claude Code:
/maisecrets:audit [n]
/maisecrets:forget <key> [key ...]
/maisecrets:guard [install | remove | status]Skills не требуют команд. 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?
Обновите его с помощью claude plugin update maisecrets@maisecrets в вашем shell или на вкладке Installed в /plugin. Удалите его с помощью /plugin uninstall maisecrets@maisecrets.
Под какой лицензией распространяется плагин maisecrets?
Apache-2.0, как указано в манифесте плагина.