{"slug":"aayatai-com-package-audit-lockfile-834ef7","title":"Audit a whole lockfile for known vulnerabilities and malware in one call","host":"aayatai.com","method":"POST","resource":"https://aayatai.com/package/audit/lockfile","category":"code","description":"Audit a whole lockfile for known vulnerabilities and malware in one call: package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, Cargo.lock or go.sum, up to 1,000 exact versions checked against OSV.dev, with affected packages, severity and versions to upg","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":46,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"content":"requests==2.19.0\nurllib3==1.26.18\n","filename":"requirements.txt"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"content":{"description":"Or: the lockfile text itself (up to 60 KB; use url for bigger files).","maxLength":60000,"type":"string"},"filename":{"description":"The file's name when sending content, e.g. poetry.lock (helps detect the format).","maxLength":100,"type":"string"},"format":{"description":"Force the format if detection fails.","enum":["package-lock","yarn","pnpm","requirements","poetry","uv","pipfile","cargo","gosum"],"type":"string"},"url":{"description":"Raw lockfile address, e.g. https://raw.githubusercontent.com/owner/repo/main/package-lock.json.","format":"uri","maxLength":2048,"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"checked":{"type":"integer"},"checkedAt":{"type":"string"},"cleanCount":{"type":"integer"},"counts":{"type":"object"},"detailsTruncated":{"type":"boolean"},"ecosystem":{"type":"string"},"format":{"enum":["package-lock","yarn","pnpm","requirements","poetry","uv","pipfile","cargo","gosum"],"type":"string"},"found":{"description":"Exact package versions found in the file.","type":"integer"},"packages":{"description":"Affected packages with vulnerabilities and upgradeTo.","items":{"type":"object"},"type":"array"},"source":{"description":"url or content.","type":"string"},"truncated":{"description":"True if the file had more than 1000 packages (the first 1000 were checked).","type":"boolean"},"verdict":{"enum":["clean","review","fix","malware"],"type":"string"},"vulnerablePackages":{"type":"integer"}},"required":["format","ecosystem","found","checked","verdict","packages"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":46,"error":null}],"description_full":"Audit a whole lockfile for known vulnerabilities and malware in one call: package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, Cargo.lock or go.sum, up to 1,000 exact versions checked against OSV.dev, with affected packages, severity and versions to upgrade to. POST {url} (raw file) or {content, filename}.","last_updated":"2026-09-29T00:02:53.414Z","schemes":["exact"]}