Build on the supported package contract
Use @absolutejs/vulnerabilities-osv through its supported public entry points.
@absolutejs/vulnerabilities-osvv0.1.8betaPlatform & InfraOfficial OSV API ingestion and advisory normalization for AbsoluteJS vulnerability management.
bun add @absolutejs/vulnerabilities-osvOfficial OSV API ingestion for @absolutejs/vulnerabilities. The package normalizes OSV records into the shared advisory contract, preserves aliases, affected package ranges, CVSS vectors, and source provenance, and follows per-query pagination from the OSV batch API.
Each batch result remains aligned with its source query. Pagination tokens are followed independently, advisory identifiers are deduplicated, and each full record is retrieved from the official OSV API before normalization.
Outcomes
Use @absolutejs/vulnerabilities-osv through its supported public entry points.
Hardening checklist
Follow in order
# @absolutejs/vulnerabilities-osv
import { createOsvAdapter } from "@absolutejs/vulnerabilities-osv";
import { createMemoryFeedStore, syncFeed } from "@absolutejs/vulnerabilities";
const adapter = createOsvAdapter({
queries: [
{
package: { ecosystem: "npm", name: "lodash" },
version: "4.17.20",
},
],
});
const result = await syncFeed({
adapter,
maxStaleMs: 24 * 60 * 60 * 1_000,
store: createMemoryFeedStore(),
});Supported entry points declared by this package manifest.
Package entry point declared in package.json.
Scripts declared by this package manifest.
Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.