# lru-cache@11.2.6 security report (npm)

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

## Summary

Togoder Security scanned the npm package lru-cache@11.2.6 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-A43137F1E2F2`

File: `dist/esm/index.js:91`

The code reads process.env.LRU_CACHE_IGNORE_AC_WARNING to conditionally suppress a warning. This is a benign configuration check, not credential harvesting.

### [low] timers and unref usage

Finding ID: `NPS-2F0F706AC418`

File: `dist/esm/index.js:522`

Uses setTimeout with unref() to avoid keeping the Node.js event loop alive for TTL auto-purge. This is standard LRU cache TTL functionality, not malicious.

## Files reviewed

- `dist/commonjs/index.js` (safe): The code is a standard LRU cache implementation with no malicious patterns such as data exfiltration, environment variable harvesting, obfuscation, or process spawning.
- `dist/esm/index.js` (safe): The code is a legitimate implementation of the lru-cache package with no malicious patterns; minor env var and timer usage are normal operational features.

## Version ranges

None of the 6 scanned versions of lru-cache are flagged high or critical. The latest scanned version, 11.5.3, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

- 11.2.6 – 11.5.3 (`>=11.2.6 <=11.5.3`): clean
- 11.2.5 (`11.2.5`): not scanned
- 10.4.3 (`10.4.3`): clean
- 7.18.3 (`7.18.3`): not scanned
- 5.1.1 – 6.0.0 (`>=5.1.1 <=6.0.0`): clean

## Scanned versions

- [11.5.3](https://security.togoder.click/npm/lru-cache@11.5.3): safe, 2026-10-04T21:18:02.000Z
- [11.5.1](https://security.togoder.click/npm/lru-cache@11.5.1): safe, 2026-10-06T14:23:19.000Z
- [11.2.6](https://security.togoder.click/npm/lru-cache@11.2.6): safe, 2026-10-06T14:16:53.000Z
- [10.4.3](https://security.togoder.click/npm/lru-cache@10.4.3): safe, 2026-10-04T16:35:02.000Z
- [6.0.0](https://security.togoder.click/npm/lru-cache@6.0.0): safe, 2026-10-06T14:23:38.000Z
- [5.1.1](https://security.togoder.click/npm/lru-cache@5.1.1): safe, 2026-10-06T14:10:41.000Z

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