fusion-safety
Measure and guard AI agents. Fusion attacks an agent's system prompt with OWASP-mapped attacks, grades the transcripts with a cross-family judge whose accuracy is checked on known answers in every run (the grade is withheld when it falls short), and ships a deterministic runtime guard that redacts secrets, blocks system-prompt dumps, and blocks tool calls (other than reads) the user's request does not cover. Results and their pre-registrations: Trust Report.
Install
pip install fusion-safety # CLI, runs, runtime guardrail
pip install "fusion-safety[serve]" # + local web app: fusion serve
pip install "fusion-safety[mcp]" # + MCP server: fusion-mcp
Use
fusion doctor # what can run here, no model calls
fusion run start --prompt agent.txt --target ollama:llama3.2:1b --grader claude-cli
fusion run finalize --min-grade B
fusion serve # the web app on 127.0.0.1:8765
Targets: ollama:<model>, openai-compat:<url>#<model>, claude-cli:<model>, hosted APIs with your own key
(openai:, anthropic:, hf:, ...; needs FUSION_ALLOW_API_SPEND=1), or any program via cmd:<command>.
Runtime guardrail
from fusion_first.guardrail.guard import Guardrail
from fusion_first.guardrail.policy import GuardConfig
guard = Guardrail(GuardConfig(allowlisted_domains=["your-co.com"], require_authorization=True))
outcome = guard.guard_tool_call(tool_name, tool_args, user_request=user_message,
untrusted_context=True, untrusted_text=tool_results)
if outcome.blocked:
... # don't run it
Claude Code plugin: claude plugin marketplace add "$(fusion plugin-dir)", then
claude plugin install fusion@fusion-first.
Docs and setup options: fusion-first-testing.com/use.
Metadata
Release files for fusion-safety 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fusion_safety-0.1.3.tar.gz | 541.1 kB | With provenance | Details for fusion_safety-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fusion_safety-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for fusion_safety-0.1.3-py3-none-any.whl |
Total release size: 1.1 MB
Release files / fusion_safety-0.1.3.tar.gz
| Download URL | fusion_safety-0.1.3.tar.gz |
|---|---|
| Size | 541.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ad75b21545fcc5b4d9d5facae17a7cfa48c1bfd2c32b3f68df0fc235737c2fb
|
|
BLAKE2b-256 checksum How to use checksums |
609ed6be57f13dd2f7f074014cf21953da40def1ed4bc87f9299cc967b41f606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / fusion_safety-0.1.3-py3-none-any.whl
| Download URL | fusion_safety-0.1.3-py3-none-any.whl |
|---|---|
| Size | 587.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fccd9addf20c30bc4610e30490202c9bb982e9e25e57a276359fa0c7dc7b0c64
|
|
BLAKE2b-256 checksum How to use checksums |
2882121c87875951fe989ef130451b6ba7c9ad8b65fa23aea6a68334a084176a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for fusion-safety 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fusion_safety-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.