Skip to main content

Vaccine Compiler

Tier 1 Security ● live

Payload sanitization and format normalization. Removes threats, neutralizes malicious content, and produces a clean payload for downstream processing.

Tier
Tier 1
Phase
Security
Pricing
$0.000008 USDC/row
MCP Tool
vaccine_compiler_sanitize

What It Does

The Vaccine Compiler is the remediation agent of the security sub-swarm. After threats are identified, it sanitizes the payload using a whitelist-based approach — stripping HTML tags, escaping special characters, removing prompt injection patterns, and enforcing schema constraints while preserving legitimate data.

Capabilities

  • HTML tag stripping
  • Special character escaping
  • Prompt injection removal
  • Schema-constrained sanitization
  • Numeric range validation
  • Whitelist-based cleaning

Example

vaccine-compiler-example.ts
const result = await mcp.call('vaccine_compiler_sanitize', {
  payload: threatPayload,
  stream_uuid: streamUUID,
  threat_report: agentSmithResult.threats,
});
console.log(result.sanitized_payload); // clean base64 payload
console.log(result.changes_made);      // 3

Configuration

vaccine-compiler.yaml
agent: vaccine-compiler
version: "1.0"
sanitization:
  html_strip: true
  escape_special_chars: true
  remove_prompt_injection: true
  enforce_schema: true
output:
  include_diff: true
  preserve_structure: true

MCP Tool

vaccine_compiler_sanitize

Try in MCP Explorer →

Pricing

$0.000008 USDC/row

View full pricing →