├── .all-contributorsrc ├── .editorconfig ├── .github ├── dependabot.yml └── workflows │ ├── codeql.yml │ ├── main.yml │ └── scorecard.yml ├── .gitignore ├── .npmrc ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── docs ├── adding_new_strategy.md ├── database │ ├── nvd.md │ ├── osv.md │ ├── sonatype.md │ └── synk.md ├── formats │ └── standard.md ├── github_advisory.md ├── images │ └── scanner.png └── sonatype.md ├── eslint.config.mjs ├── package.json ├── src ├── constants.ts ├── database │ ├── index.ts │ ├── nvd.ts │ ├── osv.ts │ ├── snyk.ts │ └── sonatype.ts ├── formats │ ├── index.ts │ ├── nvd │ │ └── index.ts │ ├── osv │ │ └── index.ts │ ├── snyk │ │ └── index.ts │ ├── sonatype │ │ └── index.ts │ └── standard │ │ ├── index.ts │ │ └── mappers.ts ├── index.ts ├── strategies │ ├── github-advisory.ts │ ├── none.ts │ ├── snyk.ts │ ├── sonatype.ts │ └── types │ │ ├── api.ts │ │ └── scanner.ts └── utils.ts ├── test ├── database │ ├── nvd.unit.spec.ts │ ├── osv.unit.spec.ts │ ├── snyk.unit.spec.ts │ └── sonatype.unit.spec.ts ├── fixtures │ ├── audit │ │ ├── package-lock.json │ │ └── package.json │ ├── audit_pnpm │ │ └── pnpm-lock.yaml │ ├── jsondata.json │ ├── snyk │ │ ├── package-lock.json │ │ ├── package.json │ │ └── responseBody.json │ └── vuln_payload │ │ ├── payloads.ts │ │ └── vulns.ts ├── strategies │ ├── github_advisory_npm │ │ ├── index.integration.spec.ts │ │ └── index.unit.spec.ts │ ├── github_advisory_pnpm │ │ └── index.integration.spec.ts │ ├── none │ │ └── index.unit.spec.ts │ ├── snyk │ │ ├── index.integration.spec.ts │ │ └── index.unit.spec.ts │ ├── sonatype │ │ ├── index.integration.spec.ts │ │ └── index.unit.spec.ts │ ├── utils.ts │ └── vuln_payload │ │ └── standardize.unit.spec.ts ├── utils.unit.spec.ts └── vuln.unit.spec.ts └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/.npmrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/SECURITY.md -------------------------------------------------------------------------------- /docs/adding_new_strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/adding_new_strategy.md -------------------------------------------------------------------------------- /docs/database/nvd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/database/nvd.md -------------------------------------------------------------------------------- /docs/database/osv.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/database/osv.md -------------------------------------------------------------------------------- /docs/database/sonatype.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/database/sonatype.md -------------------------------------------------------------------------------- /docs/database/synk.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/database/synk.md -------------------------------------------------------------------------------- /docs/formats/standard.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/formats/standard.md -------------------------------------------------------------------------------- /docs/github_advisory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/github_advisory.md -------------------------------------------------------------------------------- /docs/images/scanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/images/scanner.png -------------------------------------------------------------------------------- /docs/sonatype.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/docs/sonatype.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/package.json -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/database/index.ts -------------------------------------------------------------------------------- /src/database/nvd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/database/nvd.ts -------------------------------------------------------------------------------- /src/database/osv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/database/osv.ts -------------------------------------------------------------------------------- /src/database/snyk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/database/snyk.ts -------------------------------------------------------------------------------- /src/database/sonatype.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/database/sonatype.ts -------------------------------------------------------------------------------- /src/formats/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/index.ts -------------------------------------------------------------------------------- /src/formats/nvd/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/nvd/index.ts -------------------------------------------------------------------------------- /src/formats/osv/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/osv/index.ts -------------------------------------------------------------------------------- /src/formats/snyk/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/snyk/index.ts -------------------------------------------------------------------------------- /src/formats/sonatype/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/sonatype/index.ts -------------------------------------------------------------------------------- /src/formats/standard/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/standard/index.ts -------------------------------------------------------------------------------- /src/formats/standard/mappers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/formats/standard/mappers.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/strategies/github-advisory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/github-advisory.ts -------------------------------------------------------------------------------- /src/strategies/none.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/none.ts -------------------------------------------------------------------------------- /src/strategies/snyk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/snyk.ts -------------------------------------------------------------------------------- /src/strategies/sonatype.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/sonatype.ts -------------------------------------------------------------------------------- /src/strategies/types/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/types/api.ts -------------------------------------------------------------------------------- /src/strategies/types/scanner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/strategies/types/scanner.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/database/nvd.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/database/nvd.unit.spec.ts -------------------------------------------------------------------------------- /test/database/osv.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/database/osv.unit.spec.ts -------------------------------------------------------------------------------- /test/database/snyk.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/database/snyk.unit.spec.ts -------------------------------------------------------------------------------- /test/database/sonatype.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/database/sonatype.unit.spec.ts -------------------------------------------------------------------------------- /test/fixtures/audit/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/audit/package-lock.json -------------------------------------------------------------------------------- /test/fixtures/audit/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/audit/package.json -------------------------------------------------------------------------------- /test/fixtures/audit_pnpm/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/audit_pnpm/pnpm-lock.yaml -------------------------------------------------------------------------------- /test/fixtures/jsondata.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/snyk/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/snyk/package-lock.json -------------------------------------------------------------------------------- /test/fixtures/snyk/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/snyk/package.json -------------------------------------------------------------------------------- /test/fixtures/snyk/responseBody.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/snyk/responseBody.json -------------------------------------------------------------------------------- /test/fixtures/vuln_payload/payloads.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/vuln_payload/payloads.ts -------------------------------------------------------------------------------- /test/fixtures/vuln_payload/vulns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/fixtures/vuln_payload/vulns.ts -------------------------------------------------------------------------------- /test/strategies/github_advisory_npm/index.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/github_advisory_npm/index.integration.spec.ts -------------------------------------------------------------------------------- /test/strategies/github_advisory_npm/index.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/github_advisory_npm/index.unit.spec.ts -------------------------------------------------------------------------------- /test/strategies/github_advisory_pnpm/index.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/github_advisory_pnpm/index.integration.spec.ts -------------------------------------------------------------------------------- /test/strategies/none/index.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/none/index.unit.spec.ts -------------------------------------------------------------------------------- /test/strategies/snyk/index.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/snyk/index.integration.spec.ts -------------------------------------------------------------------------------- /test/strategies/snyk/index.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/snyk/index.unit.spec.ts -------------------------------------------------------------------------------- /test/strategies/sonatype/index.integration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/sonatype/index.integration.spec.ts -------------------------------------------------------------------------------- /test/strategies/sonatype/index.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/sonatype/index.unit.spec.ts -------------------------------------------------------------------------------- /test/strategies/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/utils.ts -------------------------------------------------------------------------------- /test/strategies/vuln_payload/standardize.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/strategies/vuln_payload/standardize.unit.spec.ts -------------------------------------------------------------------------------- /test/utils.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/utils.unit.spec.ts -------------------------------------------------------------------------------- /test/vuln.unit.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/test/vuln.unit.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NodeSecure/vulnera/HEAD/tsconfig.json --------------------------------------------------------------------------------