forked from rapticore/OreNPMGuard
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "orenpmpguard",
"version": "2.0.0",
"description": "Security tool to detect compromised npm packages from the Shai-Hulud supply chain attacks (original September 2025 and Shai-Hulud 2.0 November 2025). Scans both package.json and package-lock.json files. Available in both Python and Node.js implementations with centralized YAML configuration.",
"main": "shai_hulud_scanner.js",
"bin": {
"orenpmpguard": "./shai_hulud_scanner.js",
"shai-hulud-scan": "./shai_hulud_scanner.js"
},
"scripts": {
"scan": "node shai_hulud_scanner.js",
"scan:current": "node shai_hulud_scanner.js .",
"scan:python": "python3 shai_hulud_scanner.py",
"scan:python:current": "python3 shai_hulud_scanner.py .",
"install:python-deps": "pip install -r requirements.txt",
"test": "./tests/run_tests.sh",
"test:python": "python3 -m unittest discover -s tests -p 'test_*.py' -v",
"test:nodejs": "node tests/test_nodejs_scanner.js",
"test:all": "npm run test:python && npm run test:nodejs",
"validate": "node -e \"require('./shai_hulud_scanner.js')\" && echo 'JavaScript scanner syntax OK'",
"validate:python": "python3 -m py_compile shai_hulud_scanner.py && echo 'Python scanner syntax OK'"
},
"dependencies": {
"js-yaml": "^4.1.1"
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"shai_hulud_scanner.js",
"shai_hulud_scanner.py",
"affected_packages.yaml",
"requirements.txt",
"README.md"
],
"keywords": [
"security",
"npm",
"scanner",
"shai-hulud",
"vulnerability",
"supply-chain",
"malware",
"detection",
"audit",
"threat-intelligence"
],
"author": "Security Team",
"license": "MIT",
"homepage": "https://github.com/your-org/orenpmpguard#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/your-org/orenpmpguard.git"
},
"bugs": {
"url": "https://github.com/your-org/orenpmpguard/issues"
},
"preferGlobal": true,
"os": [
"linux",
"darwin"
]
}