supply-chain-guard 5.4.0 → 5.4.1

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 CHANGED
@@ -370,9 +370,16 @@ supply-chain-guard is both a scanner OF the agentic ecosystem and a tool FOR it.
370
370
  **Built-in MCP server** - let your AI agent vet packages BEFORE installing them:
371
371
 
372
372
  ```bash
373
- claude mcp add supply-chain-guard -- npx -y supply-chain-guard mcp
373
+ npm install -g supply-chain-guard
374
+ claude mcp add supply-chain-guard supply-chain-guard mcp
374
375
  ```
375
376
 
377
+ This form works in every shell (bash, zsh, PowerShell, cmd) and avoids npx
378
+ cold-start timeouts on first connect. On bash/zsh you can use the one-liner
379
+ `claude mcp add supply-chain-guard -- npx -y supply-chain-guard mcp` instead;
380
+ note that PowerShell swallows the bare `--` itself, so on Windows prefer the
381
+ global-install form above.
382
+
376
383
  Exposes three tools over stdio: `ioc_lookup` (offline IOC + known-bad-version check
377
384
  for npm/PyPI/RubyGems/Composer/NuGet), `scan_directory`, and `scan_npm_package`.
378
385
  Client config snippets for Claude Code, Claude Desktop, and Cursor: [docs/mcp.md](docs/mcp.md).
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.4.0");
23
+ .version("5.4.1");
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.4.0";
58
+ const VERSION = "5.4.1";
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.4.0",
493
+ version: "5.4.1",
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.4.0" },
555
+ { type: "application", name: "supply-chain-guard", version: "5.4.1" },
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.4.0
707
+ Generated by <a href="https://github.com/homeofe/supply-chain-guard">supply-chain-guard</a> v5.4.1
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.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Open-source supply-chain security scanner for npm, PyPI, Cargo, Go, RubyGems, Composer, NuGet, Docker, VS Code extensions, GitHub Actions, IaC and Solana C2. Detects GlassWorm, Shai-Hulud, PPE attacks, dependency confusion and 180+ threat indicators across all major lockfile formats (npm, pnpm, yarn, bun). Generates CycloneDX 1.6 SBOMs, verifies SLSA provenance, and correlates findings into attack-chain incidents.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",