Dependency vulnerability check
Check the packages your project uses against known vulnerabilities, from up to three sources merged into one list.
The Inspector's Dependencies card lists the packages your code project depends on that have a published vulnerability. It is for code projects only.
What it reads
Lock files: package-lock.json (npm), composer.lock, Cargo.lock, poetry.lock, Pipfile.lock and requirements.txt where every line is an exact pin (==). It looks up to three folders deep and skips dependency folders and links. Anything it could not read is listed as not checked with the reason.
Three sources, one list
- Your own audit tools:
npm audit,composer audit,pip-auditandcargo audit, if they are installed. Revly runs them with fixed arguments from a neutral folder.pip-auditandcargo auditcan be installed by Revly after you typeINSTALL; that downloads code throughpip/pipx/cargo. - OSV online: only when you click, after a screen that shows exactly what is sent. Only the ecosystem, package name and version go to api.osv.dev, nothing else.
- OSV offline copy: a copy of the public database you download once (on a click) and use without a connection. Some version ranges cannot be decided offline; those are listed as undecided, never counted as safe.
The same problem reported by several sources appears once, with the names of the sources that reported it. A source that could not answer is shown as unavailable. It is never shown as "no vulnerabilities".
Limits
A vulnerability database knows published advisories, not unknown flaws. A package that is not in a supported lock file is not checked. A development-only dependency is marked, not hidden. Findings follow the same statuses as the rest of the Inspector (Existing, New, Resolved...). Nothing here runs by itself: you start each check.
New in 0.4.2
- More lock files:
yarn.lock(Yarn classic and Berry),pnpm-lock.yamland Go'sgo.sumare read too. Go and Yarn do not say which packages are only for development, so all of them count as normal dependencies. - A rule for vulnerabilities: in Guard, add Vulnerable dependencies and choose the lowest severity that matters and whether development-only packages count. Matching findings become warnings or must-fix at the next check. A vulnerability with no reported severity counts as medium.
- Steadier findings: one advisory stays one finding even when the sources know it by different names (GHSA or CVE), and an exception you accepted stays accepted. A finding is closed when its package is gone from the lock files, or when every source that reported it has answered again or is switched off; a source that was run and failed never closes anything.
- Two more audit tools:
yarn audit(Yarn classic) andpnpm audit, when you have them. They are never installed by Revly.