Unverified50% confidenceFactExact time
The install script lifecycle of npm packages consists of hooks such as preinstall, install, and postinstall; package authors can declare these scripts in package.json so that arbitrary commands execute automatically during the npm install phase.
1
Sources
50%
Confidence
Long-term
Relevance
11/24/2026
First Seen
Sources
Related Entities
Related Claims
Verifiednpm lifecycle scripts (preinstall, install, postinstall) are automatically executed during npm install and are one of the most commonly abused technical features in supply chain attacks77% similarUnverifiednpm allows packages to execute scripts during the install phase (such as postinstall) and does not enforce signature verification by default.74% similarUnverifiedPlugins installed from npm sources are now fetched using npm pack --ignore-scripts and undergo integrity verification, and the package installation scripts no longer run automatically.73% similarUnverifiedA typical npm release workflow usually includes the following stages: checkout code → install the Node.js environment → npm ci to install dependencies → run tests → run npm version to tag → publish to the registry using the NPM_TOKEN secret.70% similarVerifiedAfter setting npm paths, an .npmrc configuration file is automatically generated in the user directory, recording the current npm configuration items.70% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1201205API
curl https://kongchang.com/api/v1/knowledge/claims/1201205MCP
get_claim(id=1201205)