Scan prompts, code, and text for prompt injection patterns, secret leaks, unsafe instructions, and PII exposure.
Free online prompt injection scanner and AI security audit tool. Detect direct and indirect prompt injections, jailbreaks, role hijacking, instruction overrides, and delimiter smuggling in real time. Scan prompts, source code, and RAG retrieval chunks for hardcoded secrets including OpenAI and Anthropic API keys, AWS credentials, GitHub tokens, JWTs, private keys, and database connection strings. Identify unsafe tool-call markers, markdown exfiltration vectors, and PII exposures such as emails, phone numbers, and credit cards. Automatically generate sanitized and redacted outputs with structured risk scores for LLM guardrails. Runs 100% client-side in your browser for zero-telemetry confidential privacy.
Keywords: prompt injection scanner, ai security scanner, llm vulnerability scanner, secret leak detector, api key scanner, credential scanner, pii redaction tool, prompt safety check, jailbreak detection tool, owasp llm top 10 scanner, ai guardrails scanner, prompt injection detection, llm security testing, hardcoded secrets scanner, bearer token detector, jwt token scanner, private key detector, database url scanner, credit card leak detector, email address scanner, phone number detector, prompt redaction tool, llm prompt auditor, ai input validator, free prompt security tool, client-side security scanner, no data leaves browser, openai security tool, anthropic claude security, llm safety checker
Tags: ai, prompt, security, injection, secrets, redaction, pii, privacy, token, leak, scanner, jailbreak, guardrails
Prompt Injection & Secret Scanner is also known as: Prompt Injection Detector, AI Jailbreak Scanner, LLM Security Scanner, Secret Leak Detector, Prompt Guardrails Scanner, AI Prompt Auditor, LLM Vulnerability Scanner, API Key Scanner, Prompt Redaction Tool, OWASP LLM01 Scanner.
Paste or type your system prompt, user query, RAG context chunk, source code, or configuration file into the input editor.
Configure your target scanning categories using the top toggle bar: Prompt Injection, Secret Leaks, Unsafe Instructions, and PII Exposure.
Optionally specify custom comma-separated regular expressions in the Custom input field to detect proprietary tokens, internal project IDs, or organization-specific DLP markers.
Toggle the Redact option to automatically replace identified sensitive tokens and injection payloads with normalized [REDACTED:CATEGORY] placeholders.
Click Scan or press ⌘↵ to execute the real-time security audit entirely within your local browser sandbox.
Inspect detected vulnerabilities in the Findings tab, expanding individual rows to review line numbers, column offsets, matched token fragments, and actionable remediation guidance.
Switch to the Redacted tab (⌘⇧C) to copy the sanitized prompt for safe AI model ingestion, or switch to the JSON tab for programmatic export into CI/CD security pipelines.
Comprehensive OWASP LLM Top 10 Coverage: Audits inputs against LLM01 (Prompt Injection), LLM02 (Sensitive Information Disclosure), and LLM03 (Insecure Output Handling).
Direct Injection & Jailbreak Detection: Identifies adversarial role hijacking, instruction overrides ("ignore previous instructions", "system override"), and DAN personas.
Indirect RAG Poisoning Defense: Surfaces malicious instructions hidden inside external context blocks, customer tickets, scraped web text, and multi-turn chat turns.
Multi-Cloud Secret & Token Scanning: Recognizes AWS Access Keys (AKIA), AWS Secret Keys, GitHub PATs, OpenAI API keys (sk-proj), Anthropic keys (sk-ant), Stripe keys, and Bearer tokens.
Cryptographic Key & Database URI Extraction: Detects RSA, EC, DSA, and OpenSSH PEM private keys along with connection strings containing plaintext database credentials.
JWT Token Inspection: Pinpoints three-part dot-separated JSON Web Tokens and high-entropy API key hashes before they are passed to third-party LLM providers.
Unsafe Agent & Tool Call Detection: Flags injected tool invocation syntax ([TOOL_CALL], <function>, Action:) that could trigger unintended downstream execution.
Out-of-Band Exfiltration Analysis: Detects markdown image exfiltration exploits () and base64 data URL smuggling vectors.
Automated PII Discovery: Identifies sensitive personal data including RFC 5322 email addresses, IPv4/IPv6 addresses, telephone numbers, and Luhn-validated credit cards.
Weighted Risk Scoring Engine: Calculates an aggregate 0–100 risk score and classifies inputs into Safe, Low, Medium, High, or Critical risk tiers.
Non-Destructive In-Place Redaction: Produces clean, structural redacted copies preserving prompt layout while replacing sensitive tokens with type-safe placeholders.
Custom Enterprise DLP Rules: Extends heuristic scanners with custom regular expressions for compliance with HIPAA, GDPR, PCI-DSS, and internal security policies.
Full Keyboard Navigation: Accelerate audit workflows with ⌘↵ to scan, ⌘⇧C to copy redacted output, and ⌘⇧K to clear input buffers.
Persistent URL & Local State: Configuration flags synchronize with URL query parameters for team sharing, while inputs auto-save locally to prevent data loss.
Automated CI/CD REST API: Access the identical deterministic scanning engine via POST /api/tools/prompt-scanner for pre-commit hooks and pipeline gates.
Zero-Telemetry Confidential Privacy: 100% client-side JavaScript execution guarantees that sensitive prompts, keys, and proprietary code never leave your machine.
The Prompt Injection & Secret Scanner supports 6 syntax formats and dialects for accurate parsing and processing.
A comprehensive developer guide to writing production-grade Dockerfiles: mastering BuildKit cache invalidation, multi-stage builds, non-root execution, and security linting.
Master the art of reading cryptic regular expressions by breaking patterns down into visual abstract syntax trees, grouping constructs, lookarounds, and quantifiers.
Slash your OpenAI, Anthropic, and Gemini API bills by 60–80%. Master prompt caching, tiered model routing, token budgeting, and batch processing economics.
Understand BPE tokenization, calculate prompt vs output token consumption, utilize prompt caching, and budget context windows to optimize AI inference costs.
A technical guide to authoring, validating, and debugging JSON Schema tool definitions for Model Context Protocol (MCP) servers in AI agents and LLM applications.
A developer security guide to identifying direct, indirect, and multi-turn prompt injection vulnerabilities in LLM applications and agent pipelines.
Understand NFA regular expression engine backtracking, diagnose exponential runtime traps, and fix Regular Expression Denial of Service (ReDoS) vulnerabilities.
A Dockerfile is a declarative text document containing sequential instructions used by the Docker daemon or BuildKit engine to automate container image builds.
Prompt engineering is the practice of structuring, refining, and designing inputs for Large Language Models to maximize accuracy, consistency, and alignment.
Prompt injection is an AI security vulnerability where untrusted inputs subvert system instructions, leading to data exfiltration, jailbreaks, or unauthorized tool calls.
Compare per-token rates, prompt caching discounts, and context windows across leading LLMs (GPT-4o, Claude 3.5 Sonnet, Gemini 2.5 Flash, DeepSeek, and more) in our verified catalog.