πAdd custom YARA signatures
Custom YARA signatures can be saved to the data/yara
directory. Any valid YARA rule saved here will be loaded when the yara
scanner loads.
Vigil returns the following information when a prompt matches a YARA signature:
Rule name
Rule tags
Rule category
"category" metadata field
Sample Rule Template
rule MyRule_custom: customTag
{
meta:
category = "Prompt Injection"
description = "Detects prompts that contain some custom strings"
strings:
...
condition:
...
}
Last updated