# supports-color@10.2.2 security report (npm)

- Verdict: **No issues** (risk level: safe)
- Scanned: 2026-10-06T14:23:33.000Z
- Files reviewed: 2
- Findings: 2 low severity findings
- Report: https://security.togoder.click/npm/supports-color
- Source: Togoder Security (https://security.togoder.click), AI source-code review

## Summary

Togoder Security scanned the npm package supports-color@10.2.2 on Oct 6, 2026. An AI review of 2 source files produced 2 low severity findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

## Findings

### [low] Environment Variable Access

Finding ID: `NPS-7776DC16E125`

File: `index.js`

The code reads environment variables such as FORCE_COLOR, TERM, CI, and others to determine terminal color support. This is a legitimate use case for the 'supports-color' package and does not involve harvesting sensitive credentials or exfiltrating data.

### [low] Top-level Code Execution

Finding ID: `NPS-07623BED441D`

File: `index.js`

The code executes at import time to compute color support by inspecting process arguments and environment variables. This is expected behavior for the 'supports-color' package and is not malicious.

## Files reviewed

- `browser.js` (safe): No malicious patterns detected
- `index.js` (safe): The code is a legitimate implementation of terminal color detection (supports-color) with no malicious patterns or security concerns.

## Version ranges

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

- 10.2.2 (`10.2.2`): clean
- 8.1.1 (`8.1.1`): not scanned
- 7.2.0 (`7.2.0`): clean
- 7.1.0 (`7.1.0`): not scanned
- 5.5.0 (`5.5.0`): clean

## Scanned versions

- [10.2.2](https://security.togoder.click/npm/supports-color@10.2.2): safe, 2026-10-06T14:23:33.000Z
- [7.2.0](https://security.togoder.click/npm/supports-color@7.2.0): safe, 2026-10-06T14:24:35.000Z
- [5.5.0](https://security.togoder.click/npm/supports-color@5.5.0): safe, 2026-10-06T14:24:26.000Z

AI analysis is guidance, not a guarantee. Methodology: https://security.togoder.click/methodology
