accueil / serveurs / Dev & Code / io.github.jamesdfinance-dev/lazaretto
io.github.jamesdfinance-dev/lazaretto
serveur MCP (Model Context Protocol) · lazaretto 1.0.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.jamesdfinance-dev/lazaretto est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.jamesdfinance-dev/lazaretto » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 9 outils
- check_lockfile≈ 877 tokens
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.
Paramètres, retour & exemple (2)
Paramètreslockfile· string · optionnel
The full text contents of a package-lock.json, yarn.lock, or pnpm-lock.yaml.packages· array · optionnel
Exactly pinned packages, as "name@version" strings (for example ["chalk@5.6.1","debug@4.4.2"]). Use instead of `lockfile` when you know which dependencies you care about, so a whole tree need not pass through your context. Mutually exclusive with `lockfile`.
Exemple d'appel{"name": "check_lockfile", "arguments": {"lockfile": "texte", "packages": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"note": "texte", "format": "texte", "checked": 1, "skipped": 1, "malicious": [], "truncated": true, "disclaimer": "texte", "unverified": []}} - check_mcp_tools≈ 628 tokens
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.
Paramètres, retour & exemple (1)
Paramètrestools_json· string · requis
The tool definitions as JSON text: a tools/list response, {"tools":[...]}, or an array of tool objects.
Exemple d'appel{"name": "check_mcp_tools", "arguments": {"tools_json": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"risk": "critical", "verdict": "clear", "findings": [], "confidence": "high", "disclaimer": "texte", "scanned_at": "texte", "attestation": "texte", "target_hash": "texte", "risk_summary": "texte", "rules_version": "texte"}} - find_attestation≈ 722 tokens
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.
Paramètres, retour & exemple (1)
Paramètressubject· string · requis
A package identity ("chalk@5.6.1"), an MCP server endpoint URL, or a sha256 content hash, optionally sha256: prefixed.
Exemple d'appel{"name": "find_attestation", "arguments": {"subject": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"risk": "texte", "found": true, "answer": "texte", "verdict": "clear", "age_days": 1, "attestation": "texte", "attested_at": "texte", "stale_rules": true, "contradicted": {}, "identity_check": {}}} - get_free_key≈ 333 tokens
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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "get_free_key", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"tier": "texte", "error": "texte", "api_key": "texte", "credits": 1, "daily_limit": 1, "retry_after_hours": 1}} - known_bad_lookup≈ 323 tokens
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.
Paramètres, retour & exemple (1)
Paramètressha256· string · requis
64 hex chars, optionally sha256: prefixed
Exemple d'appel{"name": "known_bad_lookup", "arguments": {"sha256": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"known_bad": {}, "disclaimer": "texte", "target_hash": "texte"}} - scan_artifact≈ 872 tokens
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.
Paramètres, retour & exemple (5)
Paramètresref· string · optionnel
The locator: an npm spec (name@version), a PyPI spec (name==version), a GitHub repo URL, a ClawHub skill id, or a raw file URL. Omit for type=inline.name· string · optionnel
Filename for type=inline, for example SKILL.md or index.js. Which rules run depends on the kind of file, so pass the real name when you have it; without it the kind is inferred from the content.type· string · requis · github_repo | raw_url | clawhub_skill | npm_package | pypi_package | mcp_server | mcp_tools | inline
What kind of artifact ref points at.depth· string · optionnel · lookup | full
lookup = known-bad match only; full = full behavioral analysis.content· string · optionnel
Raw file content, required when type=inline.
Exemple d'appel{"name": "scan_artifact", "arguments": {"type": "github_repo"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"risk": "critical", "verdict": "clear", "findings": [], "known_bad": {}, "confidence": "high", "disclaimer": "texte", "scanned_at": "texte", "attestation": "texte", "target_hash": "texte", "risk_summary": "texte", "rules_version": "texte"}} - scan_lockfile_deep≈ 1148 tokens
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.
Paramètres, retour & exemple (2)
Paramètreslockfile· string · optionnel
The full text contents of a package-lock.json, yarn.lock, or pnpm-lock.yaml. Give this or packages.packages· array · optionnel
Exactly pinned name@version strings, for example ["chalk@5.6.1", "@scope/name@1.0.0"]. Use it to continue a capped run with the not_scanned.packages list from the previous result. Give this or lockfile.
Exemple d'appel{"name": "scan_lockfile_deep", "arguments": {"lockfile": "texte", "packages": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"errored": [], "results": [], "scanned": 1, "not_scanned": {}, "ways_to_pay": {}, "refund_failed": true, "worst_verdict": {}, "billed_credits": 1, "refunded_credits": 1, "complete_coverage": true, "remaining_credits": 1, "auto_reload_possible": true}} - scan_mcp_server≈ 694 tokens
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).
Paramètres, retour & exemple (1)
Paramètresurl· string · requis
The server's https endpoint, e.g. https://example.com/mcp. Streamable HTTP and SSE replies are both read.
Exemple d'appel{"name": "scan_mcp_server", "arguments": {"url": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"risk": "critical", "verdict": "clear", "findings": [], "confidence": "high", "disclaimer": "texte", "scanned_at": "texte", "attestation": "texte", "target_hash": "texte", "risk_summary": "texte", "rules_version": "texte"}} - verify_attestation≈ 473 tokens
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).
Paramètres, retour & exemple (1)
Paramètresattestation· string · requis
The compact-JWS attestation string from a scan report.
Exemple d'appel{"name": "verify_attestation", "arguments": {"attestation": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"valid": true, "claims": {}, "reason": "texte", "contradicted": true}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».