We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3859bf1 commit 0d98a41Copy full SHA for 0d98a41
1 file changed
.github/workflows/dependency-scan.yml
@@ -0,0 +1,29 @@
1
+name: Dependency Security Scan
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ scan:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
11
+ - name: Install Node.js
12
+ uses: actions/setup-node@v3
13
+ with:
14
+ node-version: '18'
15
16
+ - name: Install dependencies
17
+ run: yarn install --frozen-lockfile
18
19
+ - name: Run GuardDog scan
20
+ run: |
21
+ pip install guarddog
22
+ guarddog npm verify package.json --exclude potentially_compromised_email_domain --exclude unclaimed_maintainer_email_domain --exit-non-zero-on-finding
23
24
+ - name: Run npm-scan heuristic scan
25
+ run: npx npm-scan
26
27
+ - name: Run Codebase Scanner (obfuscation detection)
28
+ run: npx @mathiscode/codebase-scanner@latest npm .
29
0 commit comments