io. github. jamesdfinance-dev/ lazaretto
by jamesdfinance-dev · remote · local (npm) · no sign-in to list tools · v1.3.0 · published by GitHub user jamesdfinance-dev
Free lockfile malware check plus paid behavioral scan of packages, agent skills and MCP tools.
9 tools: 1 do something that can't be undone, 6 change things and 2 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone1Claude Code: ask: see these tools
- Changes things6Claude Code: ask: see these tools
- Only reads2Claude Code: allow: see these tools
4 checks matched something in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http lazaretto https://lazaretto.dev/mcpFindings
Matches of fixed checks, with the text they matched.
- Warnscan_mcp_server
The description contains "ANOTHER server", wording about other tools or servers.
What this check looks forMatched text
description: "...conversation out, standing orders about ANOTHER server's tools (cross-server shadowing), and i..."
- Warncheck_mcp_tools
The description contains "ANOTHER server", wording about other tools or servers.
What this check looks forMatched text
description: "...conversation out, standing orders about ANOTHER server's tools, and invisible-unicode payloads..."
- Infoscan_artifact
The description mentions "credential".
What this check looks forMatched text
description: "...skill, or file for malicious behavior (credential theft, data exfiltration, obfuscation,..."
The description mentions "credential".
What this check looks forMatched text
description: "...he code of each package and screens for credential theft, exfiltration, obfuscation, promp..."
Tools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
9 tools
Can't be undone 1Claude Code: ask
get_free_keyGet a free developer key for the metered tools on this server, without leaving this session.No findings
Why it is in this group
- The name "get_free_key" says "get": a word for reading.
- The description says "cannot be recovered".
Description, as the server wrote it Get a free developer key for the metered tools on this server, without leaving this session. No payment, no account, no card. The key holds a small daily allowance that refills every day, and one credit is consumed per verdict, nothing on an error. Present it as the X-API-Key header on this MCP connection, or hand it to whoever configures your client. Throttled exactly as the equivalent HTTP endpoint is: one key per source per window, so calling this again shortly after will be refused rather than minting a second key. Store the key when you get it: it is shown once and cannot be recovered.
Annotations the server declares
- title: Get a free developer key (free)
- readOnlyHint: false
- destructiveHint: false
- idempotentHint: false
- openWorldHint: false
Changes things 6Claude Code: ask
check_lockfileCheck EXACTLY-PINNED npm dependencies against published malicious-package advisories (OSV/OpenSSF).No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Description, as the server wrote it Check EXACTLY-PINNED npm dependencies against published malicious-package advisories (OSV/OpenSSF). Free, anonymous, one call for the whole set. Give EITHER `lockfile`, the full text of a package-lock.json, yarn.lock or pnpm-lock.yaml, OR `packages`, a list of "name@version" strings, which is the one to reach for when you only care about a few dependencies or when an 800-package tree would not fit in your context. Give one or the other, never both. Only exact versions can be answered: a range like ^5.0.0 has no definitive answer because a compromised release usually sits between clean ones. Fail-closed: anything that could not be checked is returned in `unverified`, so an empty `malicious` list is an all-clear only when `unverified` is empty too AND `truncated` is false. `truncated: true` means the lockfile ran past the per-request package limit and the packages past it went into NEITHER list: they were never looked at, `checked` counts only the ones that were, and the rest are unchecked rather than clean. When that happens, send the remainder as `packages` (name@version strings) in a second call, or split the lockfile by workspace, before telling anyone the tree is clean.
Annotations the server declares
- title: Lockfile malware check (free, whole tree)
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: true
check_mcp_toolsCheck tool definitions you ALREADY HOLD, with no network call to anyone.1 finding
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Findings
- Warn
The description contains "ANOTHER server", wording about other tools or servers.
What this check looks forMatched text
description: "...conversation out, standing orders about ANOTHER server's tools, and invisible-unicode payloads..."
Description, as the server wrote it Check tool definitions you ALREADY HOLD, with no network call to anyone. Most MCP servers run locally over stdio and have no endpoint that can be reached, so this is the only way to check them, and your client already read their tool list at startup. Paste that JSON: a whole tools/list response, a {"tools":[...]} object, or a bare array. Analyzes the same text as scan_mcp_server and applies the same rules, so a payload cannot be caught over the wire and missed here. Detects tool poisoning (hidden directive blocks, orders pointing the agent at private keys or an agent config file), parameters whose real purpose is to carry secrets or your conversation out, standing orders about ANOTHER server's tools, and invisible-unicode payloads. Metered like scan_artifact.
Annotations the server declares
- title: Check tool definitions you already have (metered, no network)
- readOnlyHint: false
- destructiveHint: false
- idempotentHint: true
- openWorldHint: false
scan_artifactDeterministically analyze a package, repo, skill, or file for malicious behavior (credential theft, data exfiltration, obfuscation, prompt injection aimed at the agent, install scr…1 finding
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Findings
- Info
The description mentions "credential".
What this check looks forMatched text
description: "...skill, or file for malicious behavior (credential theft, data exfiltration, obfuscation,..."
Description, as the server wrote it Deterministically analyze a package, repo, skill, or file for malicious behavior (credential theft, data exfiltration, obfuscation, prompt injection aimed at the agent, install scripts) and return a verdict (malicious, flagged, clear, error) with the exact evidence and a hash of what was scanned. Metered: present an X-API-Key holding credits. If you hold a wallet instead of an account, pay per call over x402 at POST https://lazaretto.dev/v1/scan ($0.03 USDC on Base, no signup). A free key with a daily allowance is available at POST https://lazaretto.dev/v1/trial. For checks that are always free, use check_lockfile or known_bad_lookup.
Annotations the server declares
- title: Full behavioral scan (metered)
- readOnlyHint: false
- destructiveHint: false
- idempotentHint: false
- openWorldHint: true
scan_lockfile_deepBehaviorally scan the exactly-pinned dependencies in a lockfile, not just their identities: reads the code of each package and screens for credential theft, exfiltration, obfuscati…1 finding
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Findings
- Info
The description mentions "credential".
What this check looks forMatched text
description: "...he code of each package and screens for credential theft, exfiltration, obfuscation, promp..."
Description, as the server wrote it Behaviorally scan the exactly-pinned dependencies in a lockfile, not just their identities: reads the code of each package and screens for credential theft, exfiltration, obfuscation, prompt injection and install-time droppers. Each result carries a verdict, a risk level, the ids of the rules that fired and a risk summary. It does not carry file-and-line evidence: for that, run scan_artifact on the package you want to look at. This is the paid counterpart to check_lockfile, which only matches names and versions against advisories. Metered: one credit per package that returns a verdict, nothing for one that errors. Capped at 25 packages per call, in lockfile order, so calling it again with the same lockfile rescans the same first 25. To continue, pass the not_scanned.packages list from the result (name@version strings) as `packages` instead of `lockfile`. Use it before installing a tree you have not vetted.
Annotations the server declares
- title: Deep scan a whole lockfile (metered, one credit per package)
- readOnlyHint: false
- destructiveHint: false
- idempotentHint: false
- openWorldHint: true
scan_mcp_serverCheck an MCP server BEFORE you connect to it.1 finding
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Findings
- Warn
The description contains "ANOTHER server", wording about other tools or servers.
What this check looks forMatched text
description: "...conversation out, standing orders about ANOTHER server's tools (cross-server shadowing), and i..."
Description, as the server wrote it Check an MCP server BEFORE you connect to it. Asks the server to introduce itself and list its tools, then analyzes the text it hands an agent: tool names, descriptions, parameter schemas and server instructions. Catches tool poisoning (hidden directives that point the agent at private keys or at an agent config file), parameters whose real purpose is to carry secrets or your conversation out, standing orders about ANOTHER server's tools (cross-server shadowing), and invisible-unicode payloads. Returns a verdict with the exact tool and line as evidence, plus a hash of what was advertised, so a server that changes its tools later does not inherit the old verdict. Metered like scan_artifact: an X-API-Key with credits, or pay per call over x402 at POST https://lazaretto.dev/v1/scan with target type mcp_server ($0.03 USDC on Base, no signup).
Annotations the server declares
- title: Scan an MCP server before connecting (metered)
- readOnlyHint: false
- destructiveHint: false
- idempotentHint: false
- openWorldHint: true
verify_attestationVerify a Lazaretto scan attestation that another agent (or a README, or a lockfile) handed you, WITHOUT re-scanning or paying.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Description, as the server wrote it Verify a Lazaretto scan attestation that another agent (or a README, or a lockfile) handed you, WITHOUT re-scanning or paying. Free and anonymous. Returns whether the signature is valid and Lazaretto's, the attested claims (verdict, risk, and the subject the verdict is about), and a `contradicted` flag if a previously-clear subject is now known-bad. You MUST still confirm the artifact you are about to run matches `claims.sub` (its sha256, or its package identity).
Annotations the server declares
- title: Verify a scan attestation (free)
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: true
Only reads 2Claude Code: allow
find_attestationAsk whether anyone has already attested an artifact, BEFORE you install it or pay to scan it.No findings
Why it is in this group
- The name "find_attestation" says "find": a word for reading.
Description, as the server wrote it Ask whether anyone has already attested an artifact, BEFORE you install it or pay to scan it. Free and anonymous. 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, which you can verify offline against https://lazaretto.dev/.well-known/jwks.json, plus freshness: whether the corpus has since contradicted it and whether it was attested under an older rules version. A miss is not a verdict, it only means nobody has scanned this yet. When nobody has attested an npm package identity, the answer falls back to a free identity check against published advisories: `answer: "identity_check"` with an `identity_check` object, and `found` still false, because an identity check is unsigned, looks at the identity rather than the code, and absence from the corpus is not a verdict. `identity_check.listed_as_malware: true` comes back as an error result, so a published malware version cannot be read as "nothing found"; `null` there means the corpus could not be consulted, which is unchecked and never clear.
Annotations the server declares
- title: Find an existing attestation (free)
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: true
known_bad_lookupCheck a SHA-256 against Lazaretto's known-bad indicator set (refreshed daily from abuse.ch).No findings
Why it is in this group
- The name "known_bad_lookup" says "lookup": a word for reading.
Description, as the server wrote it Check a SHA-256 against Lazaretto's known-bad indicator set (refreshed daily from abuse.ch). Free and anonymous. A miss only means this exact hash is not in the indicator set; it is not a clean verdict on the artifact.
Annotations the server declares
- title: Known-bad hash lookup (free)
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: true
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.3.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http lazaretto https://lazaretto.dev/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__lazaretto__known_bad_lookup",
"mcp__lazaretto__find_attestation"
],
"ask": [
"mcp__lazaretto__check_lockfile",
"mcp__lazaretto__scan_artifact",
"mcp__lazaretto__scan_lockfile_deep",
"mcp__lazaretto__scan_mcp_server",
"mcp__lazaretto__check_mcp_tools",
"mcp__lazaretto__verify_attestation",
"mcp__lazaretto__get_free_key"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as lazaretto. Review it before you use it.
