πŸ”¬
Vigil: Documentation
CtrlK
GitHub Repo
  • πŸ›‘οΈVigil
  • Overview
    • πŸ—οΈRelease Blog
    • πŸ› οΈInstall Vigil
      • πŸ”₯Install PyTorch (optional)
    • πŸ§ͺUse Vigil
      • βš™οΈConfiguration
        • πŸ”„Auto-updating vector database
      • πŸ—„οΈLoad Datasets
      • 🌐Web server
        • 🀝API Endpoints
        • πŸͺWeb UI playground
      • 🐍Python library
      • 🎯Scanners
        • πŸ€—Transformer
        • ❕YARA / Heuristics
        • πŸ“‘Prompt-response Similarity
        • πŸ’ΎVector database
        • 🐀Canary Tokens
    • πŸ›‘οΈCustomize Detections
      • 🌟Add custom YARA signatures
      • πŸ”’Add embeddings
      • 🐍Custom scanners
    • πŸͺ„Sample scan results
Powered by GitBook
On this page
  1. Overview
  2. πŸ§ͺUse Vigil
  3. 🎯Scanners

❕YARA / Heuristics

The yara scanner and the accompanying rules act as heuristics detection. Submitted prompts are scanned against the rulesets with matches raised as potential prompt injection.

Custom rules can be used by adding them to the data/yara directory.

Default rules

  • System Instructions

  • API tokens

  • IPv4 address

  • Instruction bypass phrases

  • Guidance terms

PreviousTransformerNextPrompt-response Similarity

Last updated 1 year ago