Lazaretto
v1.3.6Supply chain security: free npm lockfile malware check, paid scan of packages, skills, MCP servers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_lockfile Check a whole lockfile for known-malicious dependencies (free, no API key)
Checks every exactly-pinned dependency in a lockfile against published malicious-package advisories (OSV / OpenSSF). One call covers the entire dependency tree. WHEN TO USE: before installing dependencies, or when auditing a project you did not write. This is the broadest and cheapest check, so start here. Prefer scan_artifact when you need to know what a specific package DOES rather than whether it is already known malware, and scan_lockfile_deep to ask that of every package in the tree. Prefer known_bad_lookup when you already hold a sha256 of a file rather than a lockfile. COST AND EFFECT…
| Parameter | Type | Description |
|---|---|---|
lockfile | string | Full text contents of a lockfile, for when it is not on disk (for example fetched from a PR diff). Supplying this skips reading from disk. Prefer omitting it and letting the tool read the file, which… |
packages | array | Exact name@version identities to check instead of a lockfile, e.g. ["chalk@5.6.1", "@babel/core@7.24.0"]. Use it when you know which versions you care about. Give this or `path` or `lockfile`, not mor… |
path | string | Lockfile path relative to the working directory, e.g. "package-lock.json" or "apps/web/pnpm-lock.yaml". Omit to auto-detect package-lock.json, npm-shrinkwrap.json, yarn.lock, or pnpm-lock.yaml in the… |
known_bad_lookup Look up one sha256 content hash against the known-bad indicator store (free, no API key)
Checks a single sha256 content hash against Lazaretto's known-bad indicator store, which is refreshed daily from abuse.ch feeds (URLhaus / ThreatFox). WHEN TO USE: when you already have the hash of a file or artifact and want an instant yes/no on identity. Prefer check_lockfile when you have a dependency tree instead of a hash. Prefer scan_artifact when you have a package, repo, or skill and need to know how it behaves rather than whether its hash is already listed. COST AND EFFECTS: free, no API key, no payment. Read-only, a single HTTPS lookup. LIMITS: this is an EXACT hash match. It perf…
| Parameter | Type | Description |
|---|---|---|
sha256 * | string | A sha256 content hash as 64 hex characters, with or without a leading "sha256:" prefix. This is the hash of the artifact bytes themselves (for example `shasum -a 256 file.tgz`), not of a URL or a pack… |
find_attestation Find an existing signed verdict before you install or pay to scan (free, no API key)
Asks whether anyone has already attested an artifact, BEFORE you install it or pay to scan it. Give a package identity like "chalk@5.6.1", an MCP server endpoint URL, or a sha256 content hash. Returns the signed verdict if one exists, plus freshness: whether the known-bad corpus has since contradicted it and whether it was attested under an older rules version. WHEN TO USE: as the first question about one specific artifact, since it is free and instant. Use verify_attestation instead when someone already handed you an attestation token. Use scan_artifact (or scan_lockfile_deep for a whole tre…
| Parameter | Type | Description |
|---|---|---|
subject * | string | What to look up: a package identity such as "chalk@5.6.1" (pin an exact version), an MCP server endpoint URL such as "https://example.com/mcp", or a sha256 content hash as 64 hex characters, with or w… |
verify_attestation Verify a signed scan attestation another agent shared with you (free, no API key)
Verifies a Lazaretto attestation: the compact-JWS token that a scan verdict ships with. It confirms the signature is genuinely Lazaretto's and returns the attested claims, so a verdict another agent (or a README, or a lockfile) handed you can be trusted WITHOUT re-scanning the artifact yourself. WHEN TO USE: when you receive a verdict out of band and want to rely on it. Prefer this over re-running scan_artifact when someone already scanned the exact artifact and gave you the token, since verification is free and instant. Use scan_artifact instead when no attestation exists yet. COST AND EFFE…
| Parameter | Type | Description |
|---|---|---|
attestation * | string | The compact-JWS attestation string from a scan report (the `attestation` field of a scan verdict): three base64url segments separated by dots. |
scan_artifact Deterministically scan a package, repo, or skill for malicious behavior before installing it
Fetches a third-party artifact WITHOUT executing it and analyzes it with deterministic rules (no LLM in the serving path), returning a verdict together with the file, line, and evidence that triggered each finding. WHEN TO USE: when you need to know what an artifact DOES, not merely whether it is already listed as malware. Run check_lockfile first when you have a dependency tree, since it is free and covers every package at once. Use known_bad_lookup instead when all you hold is a sha256. DETECTS: credential access, data exfiltration, obfuscation, prompt injection aimed at the calling agent,…
| Parameter | Type | Description |
|---|---|---|
target_type * | string | What kind of artifact `ref` identifies. npm_package for a registry package, pypi_package for a Python one, github_repo for a repository, clawhub_skill for a ClawHub skill, mcp_server for an MCP endpoi… |
content | string | Raw text to analyze directly. Required when target_type is inline, ignored otherwise. Use this for a snippet or file you already hold and do not want fetched from the network. |
depth | string | How much work to do. "full" runs the complete behavioral rule set and returns evidence. "lookup" only matches known-bad indicators and skips the rules, so it is faster and returns no findings. Use "fu… |
ref | string | The locator, matching target_type: "name@1.2.3" for npm_package (ALWAYS pin an exact version, since a compromised release usually sits between clean ones), "owner/repo" for github_repo, "owner/slug" f… |
scan_lockfile_deep Behaviorally scan every pinned dependency in a lockfile (paid, one credit per package)
Behaviorally scans EVERY exactly-pinned dependency in a lockfile, not just their identities: reads the code of each package, without executing it, and reports credential theft, exfiltration, obfuscation, prompt injection and install-time droppers. This is the paid counterpart to check_lockfile, which only matches names and versions against advisories. WHEN TO USE: before installing a tree you have not vetted. Run the free check_lockfile first, since it covers every package at once for nothing. Use scan_artifact instead for one package, or when you need the file, line and evidence behind a fin…
| Parameter | Type | Description |
|---|---|---|
lockfile | string | The full text contents of a package-lock.json, yarn.lock, or pnpm-lock.yaml, for when it is not on disk. Supplying this skips reading from disk. Prefer omitting it and letting the tool read the file,… |
packages | array | Exact name@version identities to scan instead of a lockfile, at most 25, e.g. ["chalk@5.6.1", "@babel/core@7.24.0"]. Use it to continue a run: when a result lists `not_scanned.packages`, call again wi… |
path | string | Lockfile path relative to the working directory, e.g. "package-lock.json" or "apps/web/pnpm-lock.yaml". Omit to auto-detect package-lock.json, npm-shrinkwrap.json, yarn.lock, or pnpm-lock.yaml in the… |
scan_mcp_server Check what an MCP server advertises before you connect to it
Asks an MCP server to introduce itself and list its tools, then analyzes the text that server hands an agent: tool names, descriptions, parameter schemas, and its server-level instructions. WHEN TO USE: before adding a server you did not write to a client, and again after it changes. That advertised text is documentation a model OBEYS, so it is an instruction channel the server controls. Use scan_artifact instead when you have the server's source package rather than a live endpoint. DETECTS: tool poisoning (hidden directive blocks, orders that point the agent at private keys or at an agent c…
| Parameter | Type | Description |
|---|---|---|
url * | string | The MCP server's https endpoint, for example https://example.com/mcp. Streamable HTTP and SSE replies are both read. |
check_mcp_tools Check tool definitions you already hold, without contacting anyone
Analyzes MCP tool definitions you already have, with NO network call to any server. WHEN TO USE: for a server that runs locally over stdio, which is most of them. Nothing can connect to those from outside, so scan_mcp_server cannot help, but your client already read their tool list at startup. Paste that JSON. Use scan_mcp_server instead when the server has a reachable https endpoint and you want us to ask it directly what it currently advertises. INPUT: a whole tools/list response, a {"tools":[...]} object, or a bare array of tool objects. DETECTS: the same things as scan_mcp_server, using…
| Parameter | Type | Description |
|---|---|---|
tools_json * | string | The tool definitions as JSON text: a tools/list response, {"tools":[...]}, or an array of tool objects. This is what your MCP client received when it connected to the server. |