block/model-ledger
Open-source model inventory & governance. Discovers every model, rule, and pipeline across all your platforms as one immutable, agent-queryable graph — git for models.
93be51a248ecmodel-ledger0.7.13 in pyproject.tomlio.github.block/model-ledgerPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 12 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 16 tools, 6 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (22: 16 tools, 6 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
backends_resourceresource Active backend configuration.
Active backend configuration.
backends_resourceresource Active backend configuration.
Active backend configuration.
overviewresource Inventory statistics — model count, event count, type breakdown.
Inventory statistics — model count, event count, type breakdown.
overviewresource Inventory statistics — model count, event count, type breakdown.
Inventory statistics — model count, event count, type breakdown.
schema_resourceresource JSON Schema definitions for all tool I/O models.
JSON Schema definitions for all tool I/O models.
schema_resourceresource JSON Schema definitions for all tool I/O models.
JSON Schema definitions for all tool I/O models.
changelogtool View cross-model event history with time range filtering.
View cross-model event history with time range filtering.
Returns events sorted newest-first with pagination. Defaults
to the last 7 days if no time range is specified.changelogtool View cross-model event history with time range filtering.
View cross-model event history with time range filtering.
Returns events sorted newest-first with pagination. Defaults
to the last 7 days if no time range is specified.discovertool Import models from external sources into the ledger.
Import models from external sources into the ledger.
Supports inline model dicts, JSON files, or named connectors.
Returns counts of models added/skipped and links created.discovertool Import models from external sources into the ledger.
Import models from external sources into the ledger.
Supports inline model dicts, JSON files, or named connectors.
Returns counts of models added/skipped and links created.investigatetool Deep-dive into a single model — history, metadata, dependencies.
Deep-dive into a single model — history, metadata, dependencies.
Returns owner, type, status, recent events, upstream/downstream
dependencies, and group memberships.investigatetool Deep-dive into a single model — history, metadata, dependencies.
Deep-dive into a single model — history, metadata, dependencies.
Returns owner, type, status, recent events, upstream/downstream
dependencies, and group memberships.list_tagstool Return all tags attached to a model.
Return all tags attached to a model.
list_tagstool Return all tags attached to a model.
Return all tags attached to a model.
querytool Search and filter the model inventory.
Search and filter the model inventory.
Supports text search (fuzzy name/purpose match) and structured
filters (platform, model_type, owner, status) with pagination.querytool Search and filter the model inventory.
Search and filter the model inventory.
Supports text search (fuzzy name/purpose match) and structured
filters (platform, model_type, owner, status) with pagination.recordtool Register a new model or record an event on an existing model.
Register a new model or record an event on an existing model.
Use event='registered' to create a new model. Any other event
value appends to an existing model's history.recordtool Register a new model or record an event on an existing model.
Register a new model or record an event on an existing model.
Use event='registered' to create a new model. Any other event
value appends to an existing model's history.tagtool Create or move a named tag to the latest snapshot of a model.
Create or move a named tag to the latest snapshot of a model.
Tags are mutable pointers used for release markers, version labels,
or "latest-X" references. Calling with the same ``tag_name`` moves
the tag forward to the current latest snapshot.tagtool Create or move a named tag to the latest snapshot of a model.
Create or move a named tag to the latest snapshot of a model.
tracetool Traverse a model's dependency graph.
Traverse a model's dependency graph.
Walks upstream (models this one depends on) and/or downstream
(models that depend on this one). Returns dependency nodes with
depth and relationship metadata.tracetool Traverse a model's dependency graph.
Traverse a model's dependency graph.
Walks upstream (models this one depends on) and/or downstream
(models that depend on this one). Returns dependency nodes with
depth and relationship metadata.Text the model reads (22)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
discover tool
Import models from external sources into the ledger.
Supports inline model dicts, JSON files, or named connectors.
Returns counts of models added/skipped and links created.record tool
Register a new model or record an event on an existing model.
Use event='registered' to create a new model. Any other event
value appends to an existing model's history.investigate tool
Deep-dive into a single model — history, metadata, dependencies.
Returns owner, type, status, recent events, upstream/downstream
dependencies, and group memberships.query tool
Search and filter the model inventory.
Supports text search (fuzzy name/purpose match) and structured
filters (platform, model_type, owner, status) with pagination.trace tool
Traverse a model's dependency graph.
Walks upstream (models this one depends on) and/or downstream
(models that depend on this one). Returns dependency nodes with
depth and relationship metadata.changelog tool
View cross-model event history with time range filtering.
Returns events sorted newest-first with pagination. Defaults
to the last 7 days if no time range is specified.tag tool
Create or move a named tag to the latest snapshot of a model.
Tags are mutable pointers used for release markers, version labels,
or "latest-X" references. Calling with the same ``tag_name`` moves
the tag forward to the current latest snapshot.list_tags tool
Return all tags attached to a model.
discover tool
Import models from external sources into the ledger.
Supports inline model dicts, JSON files, or named connectors.
Returns counts of models added/skipped and links created.record tool
Register a new model or record an event on an existing model.
Use event='registered' to create a new model. Any other event
value appends to an existing model's history.investigate tool
Deep-dive into a single model — history, metadata, dependencies.
Returns owner, type, status, recent events, upstream/downstream
dependencies, and group memberships.query tool
Search and filter the model inventory.
Supports text search (fuzzy name/purpose match) and structured
filters (platform, model_type, owner, status) with pagination.trace tool
Traverse a model's dependency graph.
Walks upstream (models this one depends on) and/or downstream
(models that depend on this one). Returns dependency nodes with
depth and relationship metadata.changelog tool
View cross-model event history with time range filtering.
Returns events sorted newest-first with pagination. Defaults
to the last 7 days if no time range is specified.tag tool
Create or move a named tag to the latest snapshot of a model.
list_tags tool
Return all tags attached to a model.
overview resource
Inventory statistics — model count, event count, type breakdown.
schema_resource resource
JSON Schema definitions for all tool I/O models.
backends_resource resource
Active backend configuration.
overview resource
Inventory statistics — model count, event count, type breakdown.
schema_resource resource
JSON Schema definitions for all tool I/O models.
backends_resource resource
Active backend configuration.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 22 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
Where the code is: 22 handlers in 1 file at commit 93be51a248ec
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 22 capabilities; 22 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| Servers in the code | 2 (model-ledger) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-09-17 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.block/model-ledger |
|---|---|
| Listed in | 4 catalogs (github_search, glama, mcp_registry, mcp_toplist) |
| License | Apache-2.0 |
| Created | 2026-03-24 |
| Topics | ai-governance ai-safety audit-trail compliance eu-ai-act lineage mcp mcp-server mlops model-context-protocol |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.