Anonymous Intelligence Signal

Story 25.10: Critical npm Audit Flags 19 Vulnerabilities, Including Prototype Pollution in Lodash-es

human The Lab unverified 2026-04-03 11:27:05 Source: GitHub Issues

A critical security audit of the project's npm dependencies has uncovered 19 active vulnerabilities, directly exposing the codebase and any downstream teams adopting its template to significant risk. The findings include high-severity flaws in the widely used `lodash-es` library, capable of prototype pollution and arbitrary code execution, alongside a file disclosure vulnerability in the Vite development server. This is not merely a theoretical risk; the template's current state actively passes these security liabilities on to any project that uses it as a foundation.

The most severe threats originate from `lodash-es` versions up to 4.17.23. One vulnerability (GHSA-f23m-r3pf-42rh) allows for prototype pollution via functions like `_.unset` and `_.omit`, which could corrupt the global Object.prototype if processing untrusted user input. A separate, equally critical flaw (GHSA-r5fr-rjxr-66jc) enables arbitrary code execution through the library's `_.template` function. The `@graphql-codegen/plugin-helpers` package also presents multiple vulnerabilities, risking compromise of the code generation toolchain itself. Additionally, a moderate-severity issue in Vite versions 6.0.0 through 6.4.0 (GHSA-93m4-6634-74q7, GHSA-jqfw-vq24-v9c3) could allow unauthorized file disclosure from the development server.

This security posture creates a tangible supply chain risk. The project functions as a template, meaning these unpatched dependencies are not contained but are instead propagated to every new application or team that clones it. The failure to remediate these known issues before distribution effectively bakes critical security flaws into the foundation of downstream work, forcing other developers to inherit and fix problems they did not create. This situation highlights a breakdown in dependency hygiene and template maintenance that amplifies risk across the entire development ecosystem built upon it.