{"uid":"cap_8XuqannUohNfdXmd84XHD","slug":"brainiac-malicious-dependency-check-api-bde3a736","name":"BRAINIAC Malicious Dependency Check API","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/software-security/malicious-dependency-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sbom":{"type":"string","maxLength":400000,"minLength":2},"components":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"purl":{"type":"string","maxLength":500,"minLength":4},"license":{"type":"string","maxLength":200,"minLength":1},"version":{"type":"string","maxLength":100,"minLength":1},"ecosystem":{"type":"string","maxLength":40,"minLength":1}},"additionalProperties":false},"maxItems":25,"minItems":1}}},"responseSchema":{"type":"json","example":{"sources":[{"url":"https://api.osv.dev/v1/querybatch","detail":null,"source":"OSV","status":"ok","retrievedAt":"2026-11-10T18:06:35.516Z"},{"url":"https://registry.npmjs.org","detail":"Package age, version count, repository presence, and typosquat distance against a curated popular-name list are checked for npm components.","source":"npm registry","status":"ok","retrievedAt":"2026-11-10T18:06:35.516Z"}],"warnings":[],"truncated":false,"components":[{"name":"lodash","purl":null,"status":"no_advisory_found","problem":null,"signals":[],"version":"4.17.21","ecosystem":"npm","advisories":[],"registryDetail":null,"registryStatus":"retrieved"}],"limitations":["Matching uses the exact ecosystem, package name, and exact version. A similar package name is not a match.","Version ranges in a dependency are not queried. Only an exact version can be classified.","GIT commit ranges and versions that are not semantic versions are reported as unknown rather than guessed.","No advisory, and no CISA KEV entry, does not mean a dependency is safe or free of malware.","A malicious-package match requires a MAL advisory, or an OSV reference to the OpenSSF malicious-packages repository, for the same ecosystem and package name.","Typosquat and registry signals are heuristics for hijack/compromise risk when no MAL advisory exists. They are not proof that a package is malicious.","no_advisory_found means no MAL advisory was returned and no high-severity compromise signal was raised. It does not mean the package is free of malware.","Registry compromise signals are collected for npm only in this version."],"retrievedAt":"2026-11-10T18:06:35.516Z","approvesRelease":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xRHUyL_3Qj1XUrcli6PSR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks software components or an SBOM against public advisory databases to detect malicious or vulnerable dependencies","exampleAgentPrompt":"Before we publish this release, check whether any of these npm packages are malicious or have security advisories: flatmap-stream@0.1.1, lodash@4.17.15, and left-pad@1.3.0.","exampleUseCases":[{"title":"Pre-release dependency security gate","prompt":"We're about to ship our Node.js app — can you scan these packages for malware or known advisories before we cut the release? Check: event-stream@3.3.6 (npm), lodash@4.17.4 (npm), and minimist@1.2.5 (npm)."},{"title":"SBOM audit for a containerized service","prompt":"I have an SBOM for our Docker image in CycloneDX format — can you check it against known vulnerability databases and tell me if anything is flagged as malicious or has active advisories?"},{"title":"PyPI package vetting before onboarding","prompt":"Before we add these Python packages to our internal approved list, check if requests@2.28.0 and boto3@1.26.0 have any malicious code reports or security advisories in OSV."}],"resultDescription":"Returns a list of scanned components, each annotated with their advisory status (e.g. advisory_matches_version, no_advisory_found), matched advisory IDs (MAL-*, GHSA-*, CVE-*), severity, whether the package is flagged as malicious, and an overall approvesRelease boolean. Also includes metadata about which sources were queried, any warnings about truncated results, and timestamps.","failureModes":["No advisory found does not guarantee a package is safe — the limitation is explicitly noted in the response","Advisory results may be truncated if too many advisories exist; warnings field will indicate this","Invalid or missing purl/ecosystem fields may cause components to be skipped","Upstream OSV API unavailability may result in source errors in the sources array","Exceeding 25 components per request will be rejected by schema validation","SBOM parsing failures if the provided SBOM string is malformed or unsupported format"],"whenToPreferThis":"Use this endpoint when you need automated, pay-per-call dependency security checks without setting up an account or running your own OSV tooling. Ideal for AI agents embedded in CI/CD pipelines, release approval workflows, or security triage tasks that need on-demand advisory lookups. Prefer this over manual OSV API calls when you want a single endpoint that handles batch component checks with structured release-approval output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:27.991Z","isFirstParty":false,"canonicalSlug":"brainiac-malicious-dependency-check-api-bde3a736"}