Dependency vulnerability scanner API
Dependency vulnerability scanner API. Dependency security scan for agents and CI: send a package.json, lockfile, requirements.txt, go.mod, Cargo.lock, poetry.lock or composer.lock (or a package list, up to 500). Returns known vulnerabilities (CVE/GHSA ids, severity, CVSS, fixed-in versions) and confirmed-malicious packages per dependency, from OSV.dev. Search intents: dependency vulnerability scan, npm audit api, sca api, lockfile security scan, cve lookup, software supply chain security.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.youraitools.co/pkgguard/v1/scan
| Category | Code and developer |
|---|---|
| Provider host | api.youraitools.co |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"filename": "package.json",
"manifest": "{\"name\":\"demo\",\"dependencies\":{\"lodash\":\"4.17.15\",\"flatmap-stream\":\"0.1.1\",\"express\":\"^4.18.2\"}}"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Search intents: dependency vulnerability scan, npm audit api, sca api, lockfile security scan, cve lookup, software supply chain security",
"properties": {
"filename": {
"description": "Optional file name, helps type detection",
"type": "string"
},
"include_dev": {
"description": "Include devDependencies (default true)",
"type": "boolean"
},
"manifest": {
"description": "Manifest or lockfile contents (package.json, package-lock.json, requirements.txt, Pipfile.lock, poetry.lock, go.mod, Cargo.lock, composer.lock)",
"type": "string"
},
"packages": {
"description": "Alternative to manifest: [{ecosystem, name, version}], up to 500",
"items": {
"type": "object"
},
"type": "array"
}
}
},
"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": {
"advisory_count": {
"type": "number"
},
"by_severity": {
"type": "object"
},
"highest_severity": {
"type": "string"
},
"malicious_count": {
"type": "number"
},
"manifest_type": {
"type": "string"
},
"package_count": {
"type": "number"
},
"packages": {
"type": "array"
},
"range_note": {
"type": "string"
},
"scanned_count": {
"type": "number"
},
"source": {
"type": "object"
},
"tier": {
"type": "string"
},
"unpinned_count": {
"type": "number"
},
"verdict": {
"type": "string"
},
"vulnerable_count": {
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}