AI Security Scanner

ForgeGuard Tool

7-layer security scanning for AI inputs and outputs.

All Tools

ForgeGuard

AI Security Scanner

ForgeGuard runs a 7-layer security pipeline on any text before it reaches your LLM. Detect prompt injection attacks, PII leakage (SSNs, emails, credit cards), and embedded API keys or secrets. Get a safety score and threat classification in under 50ms.

$15
/month
Subscribe

Features

  • 7-layer security scan pipeline
  • PII detection (16+ entity types)
  • PII redaction mode
  • Secret/API key scanning
  • Prompt injection detection
  • Safety score (0-1.0)
  • Configurable layer selection
  • Sub-50ms scan times

API Endpoints

POST
/v1/tools/forgeguard/scan

Full 7-layer security scan

POST
/v1/tools/forgeguard/pii

PII detection & redaction

POST
/v1/tools/forgeguard/secrets

Secret scanning

GET
/v1/tools/forgeguard/health

Health check

Use Cases

Scan user inputs before sending to LLMs
Detect and redact PII in AI responses
Prevent API key leakage in code generation
Compliance scanning for regulated industries

Quick Start

const res = await fetch('https://api.optima-forge.com/v1/tools/forgeguard/scan', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ftk_forgeguard_your_key_here',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    text: userInput,
    layers: [1, 2, 3, 4, 5, 6, 7],
  }),
});

const { safe, score, threats_detected, pii_found, secrets_found } = await res.json();
// safe: true, score: 0.95
if (!safe) blockRequest();

Ready to start?

Get your API key in seconds. $15/month, cancel anytime.

Subscribe Now