Togoder security

npm package security report

path-to-regexp npm package: is it safe?

No malicious code found.

No issues Version 8.4.2 Files reviewed 1 Size 14.2 KB Scanned

Summary

Togoder Security scanned the npm package path-to-regexp@8.4.2 on Oct 4, 2026. An AI review of 1 source file produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

0
critical
0
high
0
medium
0
low

Findings

No findings. The reviewer saw nothing malicious or risky in this version.

Files reviewed

FileVerdictWhat the reviewer saw
dist/index.js safe No malicious patterns detected; the code is a legitimate path-to-regexp parsing and matching library with no network, process, or file-system exfiltration behavior.

Affected version ranges

None of the 3 scanned versions of path-to-regexp are flagged high or critical. The latest scanned version, 8.4.2, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

0.1.78.4.2
VersionsVerdictCountRangeTop findings
8.4.2 No issues 1 8.4.2
1.9.0 – 6.3.0 Not scanned 3 >=1.9.0 <=6.3.0
0.1.7 – 0.1.12 No issues 2 >=0.1.7 <=0.1.12

Full list, including published versions not scanned yet: version ranges API.

Scanned versions of path-to-regexp

VersionVerdictFilesScanned
8.4.2 No issues 1 Oct 4, 2026
0.1.12 No issues 1 Oct 4, 2026
0.1.7 No issues 1 Oct 4, 2026

Frequently asked questions

Is path-to-regexp safe to use?

Our AI source review of path-to-regexp@8.4.2 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.

Does path-to-regexp contain malware?

No malware was identified in path-to-regexp@8.4.2 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 path-to-regexp checked?

Togoder Security downloaded the published npm package and had an AI model read its 1 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 path-to-regexp 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 path-to-regexp@8.4.2, cost nothing.

Related security reports