Scan text for leaked API keys/secrets/tokens (Stripe, GitHub, AWS, PEM private keys,
AI agents call fabler_scan_secrets to retrieve information from X402 Tools without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool performs analysis and detection of secrets within provided text input. While the results could theoretically inform malicious actors about exposed credentials, the tool itself only reads and classifies data—it does not execute commands, modify systems, delete data, or move money.
From the tool's definition Tool name 'fabler_scan_secrets' and description 'Scan text for leaked API keys/secrets/tokens' indicates the tool scans and retrieves information about secrets in text without modifying, deleting, or executing operations.
Attacks that exploit this kind of access
Scan text for leaked API keys/secrets/tokens (Stripe, GitHub, AWS, PEM private keys,. It is categorised as a Read tool in the X402 Tools MCP Server, which means it retrieves data without modifying state.
Register the X402 Tools MCP server in PolicyLayer and add a rule for fabler_scan_secrets: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches X402 Tools. Nothing to install.
fabler_scan_secrets is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the fabler_scan_secrets rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for fabler_scan_secrets. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
fabler_scan_secrets is provided by the X402 Tools MCP server (fablerlabs/x402-tools). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
fabler_scan_secrets is one line of X402 Tools's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →