{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true,
"count": 12
},
"data": [
{
"id": "npm",
"displayName": "npm (JavaScript / TypeScript)",
"osvName": "npm",
"depsDevName": "npm",
"examplePackage": "express",
"exampleVersion": "4.21.2"
},
{
"id": "rubygems",
"displayName": "RubyGems (Ruby)",
"osvName": "RubyGems",
"depsDevName": null,
"examplePackage": "rails",
"exampleVersion": "7.0.0"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41009/list+supported+package+ecosystems' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true
},
"data": {
"ecosystem": "npm",
"name": "lodash",
"auditedVersion": "4.17.20",
"latestVersion": "4.17.21",
"isOutdated": true,
"isDeprecated": false,
"licenses": [
"MIT"
],
"monthlyDownloads": 245000000,
"securityScore": 45,
"securityGrade": "D",
"riskFlags": [
"HIGH_VULNERABILITY",
"OUTDATED_VERSION"
],
"vulnerabilities": {
"total": 2,
"bySeverity": {
"CRITICAL": 0,
"HIGH": 1,
"MODERATE": 1,
"LOW": 0,
"UNKNOWN": 0
},
"items": [
{
"id": "GHSA-35jh-r3h4-6jhm",
"aliases": [
"CVE-2021-23337"
],
"severity": "HIGH",
"fixedVersions": [
"4.17.21"
],
"isCisaExploited": false
}
]
},
"openSsfScorecard": {
"projectId": "github.com/lodash/lodash",
"overallScore": 6.4,
"grade": "C"
}
}
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41010/full+package+supply-chain+security+audit?ecosystem=npm&name=lodash&version=sample' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true
},
"data": {
"projectId": "github.com/expressjs/express",
"stars": 66400,
"forks": 17800,
"license": "MIT",
"overallScore": 7.4,
"grade": "B",
"checks": [
{
"name": "Maintained",
"score": 10
},
{
"name": "Code-Review",
"score": 9
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41011/get+openssf+security+scorecard+and+repo+health?repo=sample' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true
},
"data": {
"ecosystem": "npm",
"name": "express",
"version": "4.21.2",
"totalNodes": 65,
"directCount": 31,
"transitiveCount": 34,
"directDependencies": [
{
"name": "body-parser",
"version": "1.20.3",
"system": "npm"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41012/get+direct+and+transitive+dependency+tree+summary?ecosystem=npm&name=lodash&version=sample' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true
},
"data": {
"ecosystem": "npm",
"name": "next",
"latestVersion": "16.0.4",
"license": "MIT",
"monthlyDownloads": 34800000
}
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41013/get+package+downloads+and+registry+metadata?ecosystem=npm&name=lodash' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true,
"count": 1,
"vulnerable": true
},
"data": [
{
"id": "GHSA-35jh-r3h4-6jhm",
"aliases": [
"CVE-2021-23337"
],
"summary": "Command Injection in lodash",
"severity": "HIGH",
"fixedVersions": [
"4.17.21"
],
"isCisaExploited": false,
"cisaKev": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41014/check+package+cve+and+ghsa+vulnerabilities?ecosystem=npm&name=lodash&version=sample' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true,
"count": 2,
"vulnerablePackages": 1,
"cleanPackages": 1
},
"data": [
{
"ecosystem": "npm",
"name": "lodash",
"version": "4.17.20",
"vulnerable": true,
"vulnerabilityCount": 2,
"vulnerabilityIds": [
"GHSA-35jh-r3h4-6jhm",
"GHSA-29mw-wpgm-hmr9"
]
},
{
"ecosystem": "npm",
"name": "express",
"version": "4.21.2",
"vulnerable": false,
"vulnerabilityCount": 0,
"vulnerabilityIds": []
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41015/batch+sbom+vulnerability+scan?packages=sample' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true,
"isCisaExploited": false
},
"data": {
"id": "GHSA-29mw-wpgm-hmr9",
"aliases": [
"CVE-2020-28500"
],
"summary": "Regular Expression Denial of Service (ReDoS) in lodash",
"severity": "MODERATE",
"fixedVersions": [
"4.17.21"
],
"isCisaExploited": false,
"cisaKev": null
}
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41016/get+advisory+details+by+cve+ghsa+pysec+id&id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"meta": {
"service": "oss-package-security-api",
"version": "1.1.0",
"timestamp": "2026-11-23T06:00:00.000Z",
"latencyMs": 68,
"cached": true,
"count": 1,
"catalogVersion": "2026.11.20",
"totalCatalogKevs": 1790
},
"data": [
{
"cveId": "CVE-2026-129448",
"vendorProject": "Apache",
"product": "Roller",
"vulnerabilityName": "Apache Roller Deserialization of Untrusted Data Vulnerability",
"dateAdded": "2026-11-20",
"dueDate": "2026-11-23",
"knownRansomwareCampaignUse": "Unknown"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15343/oss+package+security+and+kev+api/41017/search+cisa+known+exploited+vulnerabilities+catalog?q=nvidia&vendor=sample&ransomwareOnly=false&limit=25' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 开源软件包安全与已知被利用漏洞 (KEV) API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
审计 12 个生态系统中的开源软件包,检查 OSV 漏洞、CVSS 评分、修复版本以及 CISA 已知遭利用漏洞的活跃利用警报
十二个生态系统,包括 npm、PyPI、Go、Maven、Cargo、RubyGems、Packagist、NuGet、Pub、Hex、SwiftURL 和 GitHub Actions
是的。每次漏洞审计都会交叉比对 CISA 官方已知被利用漏洞目录,并标记已知与勒索软件相关的漏洞利用程序