# finalhandler@1.2.0 security report (npm)

- Verdict: **No issues** (risk level: safe)
- Scanned: 2026-10-04T16:51:33.000Z
- Files reviewed: 1
- Findings: 1 low severity finding
- Report: https://security.togoder.click/npm/finalhandler@1.2.0
- Source: Togoder Security (https://security.togoder.click), AI source-code review

## Summary

Togoder Security scanned the npm package finalhandler@1.2.0 on Oct 4, 2026. An AI review of 1 source file produced 1 low severity finding. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

## Findings

### [low] Informational: Stack Trace Exposure

Finding ID: `NPS-DDB2B01DA6A2`

File: `index.js:163`

In non-production environments, the error handler uses err.stack as the response message. While this aids debugging, it can expose sensitive internal paths or logic if deployed to production without NODE_ENV set to 'production'. However, this is standard behavior for the finalhandler package and not indicative of malicious intent.

## Files reviewed

- `index.js` (safe): The code is a legitimate error handling middleware with no malicious patterns; it only contains standard functionality and a minor informational note about stack trace exposure in non-production environments.

## Version ranges

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

- 2.1.1 (`2.1.1`): clean
- 2.1.0 (`2.1.0`): not scanned
- 1.3.2 (`1.3.2`): clean
- 1.3.1 (`1.3.1`): not scanned
- 1.2.0 (`1.2.0`): clean
- 1.1.2 (`1.1.2`): not scanned

## Scanned versions

- [2.1.1](https://security.togoder.click/npm/finalhandler@2.1.1): safe, 2026-10-04T14:41:22.000Z
- [1.3.2](https://security.togoder.click/npm/finalhandler@1.3.2): safe, 2026-10-04T16:31:38.000Z
- [1.2.0](https://security.togoder.click/npm/finalhandler@1.2.0): safe, 2026-10-04T16:51:33.000Z

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