Summary
Togoder Security scanned the npm package compare-versions@6.1.1 on Oct 6, 2026. An AI review of 13 source files produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings
No findings. The reviewer saw nothing malicious or risky in this version.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| lib/esm/compare.js | safe | Cleared by Jev triage; no further analysis needed |
| lib/esm/compareVersions.js | safe | Cleared by Jev triage; no further analysis needed |
| lib/esm/index.js | safe | Cleared by Jev triage; no further analysis needed |
| lib/esm/satisfies.js | safe | Cleared by Jev triage; no further analysis needed |
| lib/esm/utils.js | safe | This file implements a semver parsing and comparison utility with no network, filesystem, process, or dynamic code execution behavior, and shows no signs of malicious activity. |
| lib/esm/validate.js | safe | Cleared by Jev triage; no further analysis needed |
| lib/umd/index.js | safe | No malicious patterns detected |
| src/compare.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/compareVersions.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/index.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/satisfies.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/utils.ts | safe | Cleared by Jev triage; no further analysis needed |
| src/validate.ts | safe | Cleared by Jev triage; no further analysis needed |
Scanned versions of compare-versions
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| 6.1.1 | No issues | 13 | Oct 6, 2026 |
Frequently asked questions
Is compare-versions safe to use?
Our AI source review of compare-versions@6.1.1 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does compare-versions contain malware?
No malware was identified in compare-versions@6.1.1 when Togoder Security scanned it on Oct 6, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was compare-versions checked?
Togoder Security downloaded the published npm package and had an AI model read its 13 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan compare-versions together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in compare-versions@6.1.1, cost nothing.