NPM Packages Exposure
A npm package manager file revealing project dependency structure was discovered.
- node
- nodejs
- npm
- packages
- package manager
- exposure
NPM is a package manager for JavaScript. It was created in 2009 and is used primarily to manage dependencies of Node.js-related projects.
Impact
NPM artefacts such as package.json and package.lock can reveal the presence of internal software dependencies, version, directories and other sensitive information that be used by attackers.
Solution
Ensure that all build artefacts such as package.json and package.lock are removed prior to publishing your solution.
Was this page helpful?