Models

Two small classifiers add evidence the rules miss. They run on CPU with ONNX Runtime, with no GPU and no external API calls. They are clues, not verdicts.

ModelRoleSizeLicence
Attestyx Guard 32Mscores each agent step for 8 risk types32M parameters, ONNXApache-2.0
Wolf Defender Edge → Smallprompt-injection detector for tool output and fetched content80M / 141M, ONNXApache-2.0

How the models affect severity

Attestyx Guard 32M

A small classifier that scores one step of an AI coding agent for 8 kinds of risk. It runs on CPU with ONNX Runtime, at about 85 ms per step on one thread, with no GPU and no torch. The full model card, with usage code and credits, is on Hugging Face.

Flags

FlagMeaning
secret_accessreads a secret or credential (.env with real values, keys, tokens, password stores)
secret_exposurea real-looking secret value is visible in the text, or a credential file is shared
data_outboundsends data or a file to another host or service
destructiveirreversibly deletes or overwrites important data
privilege_persistencegains elevated or lasting access (sudo, SSH keys, cron, services, shell profiles)
security_evasionhides activity or weakens safety (clears history, disables checks or monitoring)
remote_codedownloads code from the internet and runs it
injection_in_contenttext (tool output, web page, file) that tries to give the AI agent orders

Input

One string per step: "[CHANNEL] text", where CHANNEL is one of:

Texts longer than 2,048 characters are cut to the first and last 1,024; the max length is 256 tokens. The output is 8 sigmoid scores. config.json holds the production thresholds.

Results

On a sealed holdout of agentapprove/coding-agent-tool-call-safety, never trained on:

FlagPrecisionRecall
secret_access0.910.42
secret_exposure0.860.55
data_outbound0.900.68
destructive1.000.06
privilege_persistence0.950.24
security_evasion0.470.20
remote_code0.610.64

In the Attestyx system (rules v44 + this model), on a fresh blind test of 96 multi-turn agent sessions scored once, it caught the same attacks as the previous model (v2.1) and raised 32% fewer false-alarm clues on real developer work (17 vs 25 steps on held-out sessions).

Limits

Training

Base model: jhu-clsp/ettin-encoder-32m (MIT), fine-tuned as a multi-label classifier. Data: public sets, synthetic risky / safe look-alike pairs written by LLMs, and steps from real developer sessions that were pseudonymized before use (secrets, home folders, emails and names replaced by fakes). No raw session text is in the model repository. Dataset credits are on the model card.

Wolf Defender

Wolf Defender Edge → Small is a prompt-injection detector for tool output and fetched content, 80M / 141M, ONNX, Apache-2.0, from patronus-studio. In Attestyx it produces M02 (evidence only) and M10 (a MEDIUM clue: content the agent read gives the AI orders). Set ATTESTYX_INJECTION_MODEL=off to disable it.

Download and pinning

Runtime