Summary
Togoder Security scanned the npm package ansi-regex@6.2.2 on Oct 6, 2026. An AI review of 1 source file 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 | No malicious patterns detected |
Affected version ranges
None of the 2 scanned versions of ansi-regex are flagged high or critical. The latest scanned version, 6.4.0, is not scanned. Only versions we have scanned are listed; unscanned versions between them are not covered.
| Versions | Verdict | Count | Range | Top findings |
|---|---|---|---|---|
| 6.4.0 | Not scanned | 1 | 6.4.0 | |
| 6.2.2 | No issues | 1 | 6.2.2 | |
| 6.0.1 – 6.1.0 | Not scanned | 2 | >=6.0.1 <=6.1.0 | |
| 5.0.1 | No issues | 1 | 5.0.1 | |
| 2.1.1 – 4.1.1 | Not scanned | 3 | >=2.1.1 <=4.1.1 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of ansi-regex
Frequently asked questions
Is ansi-regex safe to use?
Our AI source review of ansi-regex@6.2.2 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does ansi-regex contain malware?
No malware was identified in ansi-regex@6.2.2 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 ansi-regex 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 ansi-regex 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 ansi-regex@6.2.2, cost nothing.