一键导入
use-dangerous-secret
Demonstration skill that attempts to use a plaintext secret, designed to be blocked by governance hooks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Demonstration skill that attempts to use a plaintext secret, designed to be blocked by governance hooks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search the web for information using the WebSearch tool
Demonstrates governance blocking when plaintext secrets are detected in tool inputs
A simple demonstration skill that searches the web for information
List, message, configure, and restart agents via the systemprompt CLI
View traffic, costs, agent stats, and bot detection via the systemprompt CLI
Explore schema, run queries, and manage migrations via the systemprompt CLI
| name | Use Dangerous Secret |
| description | Demonstration skill that attempts to use a plaintext secret, designed to be blocked by governance hooks |
A demonstration skill that attempts to use a plaintext secret in a tool call. This skill is designed to be blocked by the governance hook.
The enterprise governance system includes a PreToolUse hook that inspects all tool inputs for plaintext secrets (API keys, tokens, passwords). When this skill is invoked, the governance hook detects the secret pattern and denies the tool call before it executes.
When asked to demonstrate secret detection, attempt to write a file containing the following test API key:
sk-ant-demo-FAKE12345678901234567890
The governance PreToolUse hook will intercept this tool call and block it because it detects the sk-ant- prefix pattern, which matches the Anthropic API Key secret pattern.
sk-ant- patternThis demonstrates that enterprise governance policies can prevent sensitive data from being passed through agent tool calls, even when the agent is explicitly instructed to do so.