← back to the directory
Library / SDK Guardrails & Structure

Vigil

1Scans 2LLM 3prompts 4for 5injection 6attacks

the six Ws · specification

W1 Who

Security engineers hardening LLM applications against prompt injection.

W2 What

Vigil is a Python library and REST API that scans LLM prompts and responses for jailbreaks, prompt injection and other risky content.

W3 Where

Self-hosted, run locally as a Python library or deployed as a REST API service.

W4 When

Created by researcher deadbits and still labeled alpha, with active issues and pull requests.

W5 Why

Provides a layered detection approach combining vector similarity, YARA rules, transformer classifiers and canary tokens.

W6 With

Uses vector databases and transformer models for scanning and is meant to be one layer in a broader defense strategy.

W7 Watch

Apache 2.0 open source and fully self-hosted with no external calls required, explicitly marked experimental and not a sole line of defense.

prompt injection detectionjailbreak scanningyara rulescanary tokensrest api

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.