Skip to content

Mobius Guard v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 07:53
· 3 commits to main since this release
d312ee1
  • Container images on GitHub's registry, published by each release from 0.3.1:
    ghcr.io/gantrly/mobius-guard:VERSION (the proxy) and :VERSION-onnx (with onnxruntime
    for Fortress-XS or Fortress-Base), each with build provenance and an SBOM
    (deploy.md).
  • Fortress-Base against other detectors
    (results): on the final halves,
    next to Fortress-XS, PIGuard, ProtectAI v2, Horizon-Labs guard-base and keyword rules.
    Fortress-Base catches the most injections inside emails (68.5%) and documents (70.5%)
    among the detectors that did not train on them, blocks 6.0% of real developer messages
    and at most 3.4% of harmless disguised text. The README, the model cards and this page
    show one comparison for both Fortress models.
  • Corrected: Fortress-XS's comparison. PIGuard trained on BIPIA's training split (it is
    in PIGuard's published training set), so its BIPIA score is marked and the averages use
    the 8 families none of the detectors trained on: Fortress-XS 72.3%, PIGuard 42.9%,
    ProtectAI v2 32.3% (previously 66.0%, 44.1% and 28.8% over 9). "Level with PIGuard on
    the non-obfuscated families" no longer holds: on the three plain families none trained
    on, ProtectAI v2 leads.
  • Evaluation: horizon-guard-base as a comparison-only detector, run in 2,048-token
    windows as its card says; scripts/release_charts.py --base for Fortress-Base's charts,
    with trained-on sets marked; docs/datasets.md lists what each compared detector
    trained on.
  • Demo: the in-browser demo runs Fortress-Base as well as Fortress-XS, with the text's
    role (a user's message, or a document or tool output) as Mobius Guard passes it.

Install

pip install mobiusguard==0.3.1          # the proxy
pip install mobiusguard-redact==0.3.1   # the streaming redactor on its own

The wheels attached here are the ones on PyPI; check where they were built with
gh attestation verify <file> -R gantrly/mobius-guard.

What's Changed

Features

  • Container images on each release; Fortress-Base in the demo; scores in the model cards by @imtiaj-007 in #42

Documentation

  • Docs for 0.3: Fortress-Base and red-teaming everywhere by @imtiaj-007 in #39
  • Fortress-Base against other detectors; Fortress-XS comparison corrected by @imtiaj-007 in #40
  • One comparison for both Fortress models by @imtiaj-007 in #41

Dependencies

  • Bump transformers, regex, boto3, sentencepiece, hypothesis and ruff by @imtiaj-007 in #37
  • Bump the actions group across 1 directory with 5 updates by @dependabot[bot] in #34
  • Bump astral-sh/uv from 0.13.7 to 0.13.10 by @dependabot[bot] in #32

Full Changelog: v0.3.0...v0.3.1