Check yarn.lock for compromised packages
yarn.lock records the exact version Yarn resolved for every dependency in your tree, so a match is confirmed rather than probable. We read both Yarn Classic (v1) and Yarn Berry lockfiles.
Parsed locally in your browser. Nothing leaves your device, no logging, no network round-trip.
What we read from your yarn.lock
Written against what the parser genuinely does, so a clean result means what it says.
- Yarn Classic (v1) entries -
"pkg@^1.0.0":followed by aversionfield - Yarn Berry entries, including the
__metadatablock, which we skip - multi-specifier keys, where several ranges share one resolved entry
- scoped packages, resolved back to their real
@scope/name
How confident the answer is
Because yarn.lock pins resolved versions, every match is confirmed. If we flag something, that version really is what Yarn installed.
Things worth knowing about yarn.lock
Berry and Classic are both handled
The two formats differ enough to break naive parsers, so we use Yarn's own syntax parser rather than a regex. You do not need to tell us which one you have - paste it and we detect it.
One resolution, many requesters
Yarn deduplicates, so a single entry often satisfies several different ranges requested by different parts of your tree. We dedupe on name and version so a widely-shared compromised package is reported once rather than a dozen times.
Recent npm compromises we check for.
The most recent of 217 tracked incidents affecting this ecosystem. See all 217 →
- GitHub Advisory npm malware sweep, 1 December 2026→
- GitHub Advisory malware sweep, 30 November 2026→
- GitHub Advisory malware sweep, 29 November 2026→
- GitHub Advisory npm malware sweep, 28 November 2026→
- GitHub Advisory malware sweep, 27 November 2026→
- GitHub Advisory npm malware sweep, 26 November 2026→
- GitHub Advisory npm malware sweep, 25 November 2026→
- GitHub Advisory npm malware sweep, 24 November 2026→
yarn.lock security questions
Yes. PnP changes how modules are resolved at runtime, not how the lockfile records versions. Your yarn.lock still lists resolved versions and we read it the same way.
Not quite. yarn audit queries an advisory database for known vulnerabilities in legitimate packages. Deliberately malicious packages get pulled from the registry quickly, and after that the advisory lookup often comes back clean even though the bad version is still pinned in your lockfile. We match against the malicious versions themselves, so takedown does not hide them.
No. Parsing and matching happen in your browser. Nothing containing your lockfile leaves the machine.
Check another file
We only list package versions named by the original advisory. We don't infer compromises. Spotted one we're missing? Send it in.
Paste your yarn.lock and know in seconds.
Paste a lockfile and it is matched against every tracked compromise on your own device. Nothing is uploaded and there is no account.