Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

agentgov-scanner

Discover AI agents, map their capabilities, and flag security risk. Read-only static analysis.

agentaigovernancelangchainmcpsastsecurity
Published10 Sept 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

AgentGov Scanner

Read-only static analysis that discovers AI agents across frameworks, maps each agent's tools into a capability graph, and produces an evidence-backed risk register. Never imports or executes the code it scans.

Zero runtime dependencies (Python stdlib only). Python 3.10+.

Frameworks

FrameworkAgents recognisedTools recognised
MCPFastMCP(...), Server(...)@mcp.tool / @server.tool()
LangChainAgentExecutor, create_*_agent, initialize_agent@tool
CrewAIAgent(role=..., llm=...)@tool
OpenAIassistants.create(...) (synthetic)function schemas {"type":"function",...}

Rules

IDSeverityWhat
AGT001criticalTool parameter reaches a shell / code-exec call
AGT002highTool parameter reaches an outbound HTTP call (SSRF)
AGT003highTool parameter reaches a filesystem call (path traversal)
AGT004mediumTool description advertises unbounded capability
AGT005mediumTool parameter not constrained by the generated input schema
AGT010criticalTool carries a hardcoded secret
AGT020high/medTool exposes a destructive/financial/send/deploy capability with no approval gate

Use

pip install agentgov-scanner
agentgov path/to/repo                 # terminal risk register
agentgov path/to/repo --format json   # machine form: inventory + graph + findings
agentgov path/to/repo --format markdown > report.md
agentgov path/to/repo --fail-on high  # exit 1 if any high+ finding (CI gate)

Exit codes: 0 clean, 1 findings at/above --fail-on, 2 usage error.

Develop

cd scanner
python3 -m venv .venv && .venv/bin/pip install pytest
.venv/bin/python -m pytest -q

Lineage

The engine is lifted from mcpscan (taint tracking, dataflow rules, report) and oiscan (secret patterns), widened from "one MCP server" to "agents across frameworks". See the root CLAUDE.md.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7; extra == "dev"runtime

Distribution files

2 collected
agentgov_scanner-0.1.0-py3-none-any.whl

bdist_wheel · 29.04 KB · Python py3

Source file
agentgov_scanner-0.1.0.tar.gz

sdist · 23.52 KB · Python source

Source file

Repository

PENDING
m1k0/agentgov

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:14d824665aeb94a6287234e94f8c65b3ec7ca65fb2f625d4f3f2e07b9c772ebd

Other collected versions

View all collected versions →