-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The packages downloaded in the node_modules folder and the "package.json" file of the relevant packages contain details to reveal the full path of the server.
For example, when I downloaded the axios package, the full path to my server was leaked in the "chunk" files created after I included it in my project with webpack and got the build
Google dork: "axios _where"
Google dork: "[ANY-PACKAGENAME] _where"
node_modules/axios/package.json
"_where": "/home/User/Workdir",
"author": {
"name": "Matt Zabriskie"
},
axios/axios#4090
In this example I went via axios but this applies to all packages. I hope you fix this in the next version of NPM
Expected Behavior
No response
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- OS:
- Node:
- npm:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release