Vaccine Compiler
Payload sanitization and format normalization. Removes threats, neutralizes malicious content, and produces a clean payload for downstream processing.
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
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
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 Related Agents
Agent Smith Prime
Security sub-swarm orchestrator. Coordinates Code Injection Specialist, Cognitive Defense Agent, and Vaccine Compiler for comprehensive threat analysis.
Code Injection Specialist
OWASP/OSINT/YARA scanning specialist. Detects SQL injection, XSS, command injection, and known malware signatures in data payloads.
Cognitive Defense Agent
NLP prompt injection and jailbreak detection. Guards against adversarial text designed to manipulate downstream AI systems.