Summary
Togoder Security scanned the npm package router@2.2.0 on Oct 4, 2026. An AI review of 3 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 |
|---|---|---|
| index.js | safe | This is the well-known Express.js 'router' package; no malicious patterns, obfuscation, exfiltration, or suspicious behavior detected. |
| lib/layer.js | safe | This is the legitimate Express router Layer module with no malicious patterns, exfiltration, obfuscation, or suspicious behavior detected. |
| lib/route.js | safe | Cleared by Jev triage; no further analysis needed |
Frequently asked questions
Is router safe to use?
Our AI source review of router@2.2.0 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does router contain malware?
No malware was identified in router@2.2.0 when Togoder Security scanned it on Oct 4, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was router checked?
Togoder Security downloaded the published npm package and had an AI model read its 3 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 router 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 router@2.2.0, cost nothing.