Skip to main content Switch to mobile version open-agent-security 3.4.1 Find known-dangerous AI agent setups: disabled permission checks, unpinned MCP servers, secrets in agent config, lethal capability combinations.
pip install open-agent-security Copy PIP instructions
Find known-dangerous AI agent setups in a repository, in seconds. Part of the BRACE framework for securing AI agents.
It reads files and matches fixed patterns. It starts no server, runs no model, sends nothing over the network and needs no dependencies beyond Python 3.11 or newer.
uvx open-agent-security . # or: pipx run open-agent-security . uvx open-agent-security . --host # also check the agent settings on this machine pip install open-agent-security # to install the command open-agent-security . --fail-on high # exit 1 on a high or worse finding Each problem is reported with its file and line, why it matters and how to fix it.
The same package installs a second command, brace, for teams that keep a BRACE sign-off record. brace scan is the scanner above. The other commands need the [record] extra (PyYAML and jsonschema); without it they exit 2 and say so:
pip install "open-agent-security[record]" brace init # create the .brace/ record brace check --approvals off # check it against the 53 BRACE items brace map build . -o brace-topology.cdx.json # CycloneDX map of what the agent connects to brace plan brace-findings.json brace-topology.cdx.json -o brace-action-plan.md brace --help # every command The scanner itself never imports PyYAML, jsonschema or the brace tools.
Details and fixes: https://braceframework.org/anti-patterns/
Text (default), JSON, SARIF 2.1.0 for GitHub code scanning, a Markdown summary, a GitLab SAST report and JUnit XML. Secrets are redacted in all of them. Use --output NAME=FILE, for example --output sarif=results.sarif. Exit code 0 means nothing at or above the threshold, 1 means findings or an incomplete scan.
Silence a reviewed finding with open-agent-security: ignore on the line, an .open-agent-security-ignore file or .open-agent-security.toml; suppressed findings stay visible in SARIF and JSON.
Full guide (options, configuration, GitHub Action, pre-commit, GitLab CI, limits): https://braceframework.org/tools/brace/SCAN.md (rules in detail: https://braceframework.org/tools/brace/SCAN-DETAILS.md). Website: https://braceframework.org
A clean scan means none of these patterns was found. It is not a security review and not BRACE compliance. For that, use BRACE Starter or the sign-off checklist.
Code: Apache License 2.0 (see LICENSE and NOTICE). BRACE documentation: CC BY 4.0.
Apache-2.0 View SPDX License List
ai-agents security mcp prompt-injection llm
Development Status 4 - Beta
Intended Audience Developers
Programming Language Python :: 3
Software Development :: Quality Assurance
Release files for open-agent-security 3.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 659.3 kB
Release files / open_agent_security-3.4.1.tar.gz
Security for open-agent-security 3.4.1
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.
None of the files in this release were uploaded with provenance metadata.
A 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.
Release history Release notifications | RSS feed
Nov 27, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




