supply-chain-guard 5.2.43 → 5.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/action.yml +2 -2
- package/dist/cli.js +1 -1
- package/dist/reporter.js +4 -4
- package/package.json +5 -9
package/README.md
CHANGED
|
@@ -343,6 +343,21 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. The most impactful contri
|
|
|
343
343
|
|
|
344
344
|
## Changelog
|
|
345
345
|
|
|
346
|
+
### v5.2.44 (2026-07-01)
|
|
347
|
+
**Dependency maintenance: latest toolchain + commander 14**
|
|
348
|
+
|
|
349
|
+
Routine dependency refresh. All dependencies are now at their latest versions with zero known
|
|
350
|
+
vulnerabilities. No detection-logic or output-format changes: this is a maintenance-only release.
|
|
351
|
+
|
|
352
|
+
- Runtime: commander 13 -> 14 (stays on the CommonJS line; commander 15 is ESM-only and requires
|
|
353
|
+
Node >=22.12, incompatible with this CommonJS package on Node >=20).
|
|
354
|
+
- Dev/build: typescript 5 -> 6 (added an explicit `"types": ["node"]` to tsconfig.json, since
|
|
355
|
+
TypeScript 6 no longer auto-includes @types/node), vitest 3 -> 4, @types/node 22 -> 26, and the
|
|
356
|
+
test runner's transitive vite 7 -> 8 plus an esbuild refresh. Removed two now-obsolete
|
|
357
|
+
esbuild/vite overrides.
|
|
358
|
+
- CI: pinned GitHub Actions bumped to current releases (checkout v7, setup-node v6, github-script
|
|
359
|
+
v9, setup-python v6); SHA pins verified against the upstream tags.
|
|
360
|
+
|
|
346
361
|
### v5.2.43 (2026-06-30)
|
|
347
362
|
**Threat intel: Contagious Interview "Fake Font" npm + Go wave (June 29, 2026)**
|
|
348
363
|
|
package/action.yml
CHANGED
|
@@ -46,7 +46,7 @@ runs:
|
|
|
46
46
|
using: "composite"
|
|
47
47
|
steps:
|
|
48
48
|
- name: Setup Node.js
|
|
49
|
-
uses: actions/setup-node@
|
|
49
|
+
uses: actions/setup-node@v6
|
|
50
50
|
with:
|
|
51
51
|
node-version: "22"
|
|
52
52
|
|
|
@@ -130,7 +130,7 @@ runs:
|
|
|
130
130
|
|
|
131
131
|
- name: Comment on PR
|
|
132
132
|
if: inputs.comment-on-pr == 'true' && github.event_name == 'pull_request' && steps.scan.outputs.findings-count != '0'
|
|
133
|
-
uses: actions/github-script@
|
|
133
|
+
uses: actions/github-script@v9
|
|
134
134
|
continue-on-error: true
|
|
135
135
|
with:
|
|
136
136
|
script: |
|
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@ const program = new commander_1.Command();
|
|
|
20
20
|
program
|
|
21
21
|
.name("supply-chain-guard")
|
|
22
22
|
.description("Open-source supply-chain security scanner. Detects GlassWorm and similar malware campaigns in npm packages, PyPI packages, code repos, VS Code extensions, and project dependencies.")
|
|
23
|
-
.version("5.2.
|
|
23
|
+
.version("5.2.44");
|
|
24
24
|
// ── scan command ────────────────────────────────────────────────────
|
|
25
25
|
program
|
|
26
26
|
.command("scan")
|
package/dist/reporter.js
CHANGED
|
@@ -55,7 +55,7 @@ function formatJson(report) {
|
|
|
55
55
|
function formatText(report) {
|
|
56
56
|
const lines = [];
|
|
57
57
|
// ── layout constants ───────────────────────────────────────────────────────
|
|
58
|
-
const VERSION = "5.2.
|
|
58
|
+
const VERSION = "5.2.44";
|
|
59
59
|
const W = 76; // visible chars between "│ " and " │" (total line = 80)
|
|
60
60
|
// ── ANSI helpers ───────────────────────────────────────────────────────────
|
|
61
61
|
const stripAnsi = (s) => s.replace(/\x1b\[[0-9;]*m/g, "");
|
|
@@ -490,7 +490,7 @@ function formatSarif(report) {
|
|
|
490
490
|
tool: {
|
|
491
491
|
driver: {
|
|
492
492
|
name: "supply-chain-guard",
|
|
493
|
-
version: "5.2.
|
|
493
|
+
version: "5.2.44",
|
|
494
494
|
informationUri: "https://github.com/homeofe/supply-chain-guard",
|
|
495
495
|
rules,
|
|
496
496
|
},
|
|
@@ -552,7 +552,7 @@ function formatSbom(report) {
|
|
|
552
552
|
timestamp: report.timestamp,
|
|
553
553
|
tools: {
|
|
554
554
|
components: [
|
|
555
|
-
{ type: "application", name: "supply-chain-guard", version: "5.2.
|
|
555
|
+
{ type: "application", name: "supply-chain-guard", version: "5.2.44" },
|
|
556
556
|
],
|
|
557
557
|
},
|
|
558
558
|
component: {
|
|
@@ -704,7 +704,7 @@ footer{text-align:center;padding:24px;color:#94a3b8;font-size:13px}
|
|
|
704
704
|
` : ""}
|
|
705
705
|
|
|
706
706
|
<footer>
|
|
707
|
-
Generated by <a href="https://github.com/homeofe/supply-chain-guard">supply-chain-guard</a> v5.2.
|
|
707
|
+
Generated by <a href="https://github.com/homeofe/supply-chain-guard">supply-chain-guard</a> v5.2.44
|
|
708
708
|
</footer>
|
|
709
709
|
</div>
|
|
710
710
|
<script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supply-chain-guard",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.44",
|
|
4
4
|
"description": "Open-source supply-chain security scanner for npm, PyPI, Cargo, Go, Docker, VS Code extensions, GitHub Actions, IaC and Solana C2. Detects GlassWorm, Shai-Hulud, PPE attacks, dependency confusion and 120+ malware indicators. Generates CycloneDX 1.6 SBOMs and verifies SLSA provenance.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -56,15 +56,11 @@
|
|
|
56
56
|
"socket.yml"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"commander": "^
|
|
59
|
+
"commander": "^14.0.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@types/node": "^
|
|
63
|
-
"typescript": "^
|
|
64
|
-
"vitest": "^
|
|
65
|
-
},
|
|
66
|
-
"overrides": {
|
|
67
|
-
"esbuild": "^0.28.1",
|
|
68
|
-
"vite": "^7.3.5"
|
|
62
|
+
"@types/node": "^26.0.1",
|
|
63
|
+
"typescript": "^6.0.3",
|
|
64
|
+
"vitest": "^4.1.9"
|
|
69
65
|
}
|
|
70
66
|
}
|