We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c5033 commit 85a4887Copy full SHA for 85a4887
.github/workflows/ci.yml
@@ -55,6 +55,14 @@ jobs:
55
- name: Install dependencies
56
run: npm ci
57
58
+ ## https://semgrep.dev/blog/2025/security-advisory-npm-packages-using-secret-scanning-tools-to-steal-credentials/
59
+ - name: Check shai-hulud attack
60
+ run: |
61
+ if find . -type f -name "*.js" -exec sha256sum {} \; | grep -q "46faab8ab153fae6e80e7cca38eab363075bb524edd79e42269217a083628f09"; then
62
+ echo "Vulnerable version of serialize-javascript found in:"
63
+ find . -type f -name "*.js" -exec sha256sum {} \; | grep "46faab8ab153fae6e80e7cca38eab363075bb524edd79e42269217a083628f09" | awk '{print $2}'
64
+ exit 1
65
+ fi
66
- name: Lint
67
run: npm run lint
68
0 commit comments