ONNX
security
malware-detection
File size: 2,789 Bytes
3550d1c
 
2a721f7
 
 
 
3550d1c
2a721f7
 
 
aee05c5
 
 
 
 
2a721f7
 
 
 
 
 
 
 
 
 
d2507b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a721f7
 
 
33df34a
 
2a721f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9bb9782
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
license: openmdw-1.1
tags:
- security
- malware-detection
- onnx
---

# Vigil

Vigil is a compact classifier designed to run directly on laptops, desktops,
and other endpoint devices. It scans complete AI agent skill packages, including
instructions and supporting files, to identify credential theft, data
exfiltration, unsafe execution, persistence, and other harmful behavior before
a skill is trusted.

## Model

- Format: ONNX
- Family: hashed word/character linear classifier
- Input: `features` (65,552 features produced by Vigil's preprocessing contract)
- Output: uncalibrated maliciousness score
- Recommended threshold: `0.0000019818544387817383`
- Model size: 262,828 bytes

The repository includes the model weights, complete runtime source, prebuilt
runtimes for supported devices, and a local browser scanner.

## Getting started

Install Git and Python 3.10 or newer, then run:

```bash
git clone https://huggingface.co/turenlabs/Vigil
cd Vigil
python3 tools/local-harness/server.py
```

On Windows, use:

```powershell
git clone https://huggingface.co/turenlabs/Vigil
cd Vigil
python tools/local-harness/server.py
```

The launcher detects the device, installs the matching runtime from this
repository, verifies its SHA-256 hash, starts the scanner, and opens the browser.
Choose a skill folder and select **Scan package**. Skill files are staged
temporarily and are never executed.

Supported devices are macOS Apple Silicon, Linux AMD64 and ARM64, and Windows
AMD64 and ARM64. See [`tools/local-harness`](tools/local-harness/README.md) for
harness details, [`runtime`](runtime/README.md) for prebuilt packages, and
[`source`](source/README.md) for the complete runtime source.

## Evaluation

Evaluated on all 7,944 packages from
[MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills](https://arxiv.org/abs/2606.07131):

- F1: `0.9000`
- Precision: `0.8874`
- Recall: `0.9130`

## Limitations

The output is a ranking score, not a calibrated probability. Vigil can produce
false positives and false negatives and should be used as one layer of skill
review, not as a sandbox or a guarantee of safety.

Training data is not included in this release.

License: [OpenMDW-1.1](https://openmdw.ai/license/). See `LICENSE`.

## Citation

```bibtex
@misc{bowyer2026vigil,
  author       = {Tom Bowyer},
  title        = {Vigil: A Compact Classifier for Malicious AI Agent Skills},
  year         = {2026},
  organization = {Turen Labs, Inc.},
  url          = {https://huggingface.co/turenlabs/Vigil}
}
```

## References

- Wenbo Guo, Wei Zeng, Chengwei Liu, Xiaojun Jia, Yijia Xu, Lei Tang,
  Yong Fang, and Yang Liu. [MalSkillBench: A Runtime-Verified Benchmark of
  Malicious Agent Skills](https://arxiv.org/abs/2606.07131). arXiv:2606.07131,
  2026.