Lazaretto Lockfile API

The Lockfile API from Lazaretto — 2 operation(s) for lockfile.

GitHub OpenAPI

Operations 2

POST /v1/lockfile Free: check every pinned version in a lockfile against the malicious-package… #
POST /v1/lockfile/diff Free: the exact package versions a lockfile change adds #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lazaretto-dev:lazaretto-dev-lockfile-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lazaretto-dev-lockfile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Lazaretto: skill & tool verification Lockfile API'
  version: 2026.11.13a
  summary: 'Deterministic verification of agent skills/tools: known-bad matching + behavioral signals.'
  contact:
    name: Lazaretto
    email: contact@lazaretto.dev
    url: https://lazaretto.dev
  license:
    name: Proprietary
servers:
- url: https://lazaretto.dev
tags:
- name: Lockfile
paths:
  /v1/lockfile:
    post:
      security: []
      summary: 'Free: check every pinned version in a lockfile against the malicious-package…'
      description: 'No auth, IP rate-limited. Send a package-lock.json, yarn.lock (v1/Berry), or pnpm-lock.yaml (v5/v6/v9), raw or as {"lockfile":""}, or an explicit {"packages":[{"name","version"}]} list. Only EXACT versions are checked: a range has no definitive answer, because a compromised release usually sits between clean ones. Fail-closed: anything that could not be checked is listed in `unverified`, so an empty `malicious` list is only an all-clear when `unverified` is empty too. `skipped` counts entries with no registry identity (file:/link:/workspace:/git), which are reported rather than silently dropped.'
      responses:
        '200':
          description: Malicious pinned versions, plus whatever could not be checked.
        '400':
          description: Unrecognized lockfile, or no exactly-pinned versions in it.
        '429':
          description: Rate limited.
        '503':
          description: The feed could not be consulted. Not an all-clear.
      tags:
      - Lockfile
      operationId: postV1Lockfile
      x-operation-id-source: derived
  /v1/lockfile/diff:
    post:
      security: []
      summary: 'Free: the exact package versions a lockfile change adds'
      description: 'No auth, IP rate-limited. Body {"base": , "head": }, each the raw contents of a package-lock.json, yarn.lock or pnpm-lock.yaml. Returns `added` (the name@version pairs present in head and absent from base, which is the list to scan), `upgraded`, `removed`, an `unchanged` count, and per-side `checked` and `truncated`. A truncated side makes the diff partial, and `note` says so. This compares identities only and checks nothing for malware: send `added` to POST /v1/scan/batch for that.'
      responses:
        '200':
          description: What the head lockfile adds, upgrades and removes relative to base.
        '400':
          description: A side is missing, or could not be read as a lockfile. An unreadable lockfile is not a statement that nothing changed.
        '429':
          description: Rate limited.
      tags:
      - Lockfile
      operationId: postV1LockfileDiff
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    x402:
      type: http
      scheme: x402
      description: Pay-per-call via the x402 protocol (USDC on Base).
    watchToken:
      type: apiKey
      in: header
      name: x-watch-token
      description: The watch token returned once by POST /v1/watch.