Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomeVault security rules

The public, versioned scan rules behind the safety check in every TomeVault verdict.

Why this repository exists

TomeVault grades the files that steer AI agents (CLAUDE.md, AGENTS.md, GEMINI.md, SKILL.md, Cursor rules, Copilot instructions, Windsurf rules, and related formats) on four things: whether they load, whether they're clear enough to follow, whether they're safe, and whether they hold up across models. This repository holds the rules behind the safety check, the patterns we match for credential leaks, prompt injection, and data exfiltration. They live here in the open, so anyone can audit exactly what the scanner looks for, propose changes, and watch the rule set evolve.

A scanner whose rules are hidden asks you to trust the result. One whose rules are public lets you check it. A verdict is only as credible as the rules behind it, so the rules are not a secret. And we don't sell the models or tools we grade for, which is the one position a model vendor scoring its own model can't hold.

The full standard, and how we grade, sign, and ratify: tomevault.io/standards. How security scanning works: tomevault.io/standards/security-scanning.

Layout

v1/
  credential.yaml     API keys, tokens, private keys
  command.yaml        destructive shell patterns, privilege escalation
  exfiltration.yaml   secrets-to-URL, reverse shells
  injection.yaml      prompt-injection patterns (jailbreak, override, etc.)
  file_access.yaml    /etc/passwd, SSH keys, /proc, docker socket
  obfuscation.yaml    base64 blobs, zero-width chars, encoded payloads

Each rule has:

  • id: stable identifier used in scan results and creator dashboards.
  • severity: one of critical, high, medium, low.
  • pattern: Python-style regex.
  • flags: optional list, currently only IGNORECASE.

The AST10 category mapping appears at the top of each YAML file.

Proposing a change

Open an issue using the RFC template (see RFC.md). Changes ratify per the process described at tomevault.io/standards/ratification.

Ratified changes land as tagged releases (v1.0.0, v1.1.0, ...). Scanners pick up the latest ratified release automatically on the next scan cycle.

Versioning

Semantic versioning, scoped to behavior change:

  • Major: a change that would reclassify existing indexed files across grade boundaries (e.g., demoting a rule from critical to medium, adding a wide-reaching rule).
  • Minor: additive rules or clarifications that do not move existing files across grades.
  • Patch: documentation, pattern tightening that reduces false positives without adding coverage.

License

MIT. Rules may be used and adapted by anyone.

About

The public, versioned scan rules behind every TomeVault verdict. RFC-governed: https://tomevault.io/standards/ratification

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors