guardvibe 3.13.0 → 3.14.0
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/CHANGELOG.md +9 -0
- package/README.md +9 -9
- package/build/data/rules/cve-versions.js +12 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to GuardVibe are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.14.0] - 2026-06-08
|
|
9
|
+
|
|
10
|
+
### Added — intel maintenance: Vite / launch-editor dev-server RCE (441 → 442 rules / 37 tools)
|
|
11
|
+
- **VG1088** — vite < 5.4.9 (and the `launch-editor` < 2.9.0 it bundles) dev-server command injection on Windows (CVE-2024-52011 / GHSA-c27g-q93r-2cwf). Surfaced by `npm run intel` as the one remaining mainstream-stack gap; drafted via the S3-1 scaffold pipeline.
|
|
12
|
+
- **0-FP semver:** exact/`=` pins only (a caret/tilde resolves to the fixed line). Validated on the corpus: **1 true positive** (dub pins `"vite": "5.2.9"`), **0 false positives**. 8 new version-range tests.
|
|
13
|
+
- Counts updated everywhere (consistency guard enforces 442); CVE-rule count 70 → 71.
|
|
14
|
+
|
|
15
|
+
Gate green (build / lint / test / self-audit PASS / A / 0).
|
|
16
|
+
|
|
8
17
|
## [3.13.0] - 2026-06-07
|
|
9
18
|
|
|
10
19
|
### Added — Season 3 S3-3: PR-native, author-independent review (441 rules / 37 tools)
|
package/README.md
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
> **Security infrastructure your AI can't be.**
|
|
10
10
|
> No matter how good your coding agent gets, it can't know the CVE published after its training cutoff, it can't deterministically guarantee the same check every run, it can't hold your whole repo in context, and it can't objectively review its own code. GuardVibe does all four — the deterministic, post-cutoff-current, whole-repo, author-independent verification layer for AI-written code.
|
|
11
11
|
|
|
12
|
-
- **🗓️ Knows what your AI doesn't.** CVE rules refreshed **daily** from GHSA / OSV.dev / CISA KEV — GuardVibe flags vulnerable dependencies published *after* your model's training cutoff. (
|
|
12
|
+
- **🗓️ Knows what your AI doesn't.** CVE rules refreshed **daily** from GHSA / OSV.dev / CISA KEV — GuardVibe flags vulnerable dependencies published *after* your model's training cutoff. (71 CVE rules, `npm run intel` daily triage.)
|
|
13
13
|
- **🎯 Deterministic, not probabilistic.** Same code = same result, every run (content-hashed). Your AI guesses; GuardVibe doesn't.
|
|
14
14
|
- **🗺️ Sees the whole repo.** Cross-file taint + auth-coverage across every route — catches the unprotected endpoint your agent's narrow context missed.
|
|
15
15
|
- **🔍 An independent second pair of eyes.** The thing that wrote the code can't review itself. GuardVibe is the outside checker on AI-written code — in the loop *while* your AI codes (real-time edit hook), not after.
|
|
16
16
|
|
|
17
|
-
**The security MCP built for vibe coding.**
|
|
17
|
+
**The security MCP built for vibe coding.** 442 security rules, 37 tools covering the entire AI-generated code journey — from first line to production deployment.
|
|
18
18
|
|
|
19
19
|
Works with **Claude Code, Cursor, Gemini CLI, Codex, VS Code (Copilot), Windsurf**, and any MCP-compatible coding agent.
|
|
20
20
|
|
|
@@ -26,11 +26,11 @@ Works with **Claude Code, Cursor, Gemini CLI, Codex, VS Code (Copilot), Windsurf
|
|
|
26
26
|
|
|
27
27
|
Most security tools are built for enterprise security teams. GuardVibe is built for **you** — the developer using AI to build and ship web apps fast.
|
|
28
28
|
|
|
29
|
-
- **
|
|
29
|
+
- **442 security rules, 37 tools** purpose-built for the stacks AI agents generate
|
|
30
30
|
- **Zero setup friction** — `npx guardvibe` and you're scanning
|
|
31
31
|
- **No account required** — runs 100% locally, no API keys, no cloud
|
|
32
32
|
- **Understands your stack** — not generic SAST, but rules that know Next.js, Supabase, Stripe, Clerk, and the tools you actually use
|
|
33
|
-
- **CVE version intelligence** — detects
|
|
33
|
+
- **CVE version intelligence** — detects 71 known vulnerable package versions in package.json, refreshed every day from GHSA / OSV.dev / CISA KEV
|
|
34
34
|
- **AI agent & MCP security** — detects MCP server vulnerabilities, tool-description prompt injection (OWASP MCP Top 10), model-controlled sandbox-disable flags, excessive AI permissions, indirect prompt injection
|
|
35
35
|
- **Auto-fix suggestions** — `fix_code` tool returns concrete patches and structured edits the AI agent can apply mechanically. Coverage: hardcoded credentials → env-var migration; public-prefix LLM keys (`NEXT_PUBLIC_/VITE_/EXPO_PUBLIC_/REACT_APP_`) → prefix removal; CORS wildcards → env allowlist; `dangerouslyAllowBrowser` flags → drop; sandbox bypass flags (`unsafe`/`noSandbox`/`allowEval`) → drop; agent loops → add `maxSteps`; raw-HTML React props → `<ReactMarkdown>`; missing auth checks → insert auth guard; SQL injection → parameterized queries; missing rate limiters / CSRF / security headers → snippet templates.
|
|
36
36
|
- **Pre-commit hook** — block insecure code before it reaches your repo
|
|
@@ -61,10 +61,10 @@ GuardVibe is purpose-built for the AI coding workflow. Traditional tools are exc
|
|
|
61
61
|
| AI/LLM security (prompt injection, MCP, tool abuse) | 68 rules | Experimental/None | None |
|
|
62
62
|
| AI host security (CVE-2025-59536, CVE-2026-21852) | `guardvibe doctor` | Not supported | Not supported |
|
|
63
63
|
| Auto-fix suggestions for AI agents | `fix_code` tool | CLI autofix | Not supported |
|
|
64
|
-
| CVE version detection |
|
|
64
|
+
| CVE version detection | 71 packages, refreshed daily | Extensive | Extensive |
|
|
65
65
|
| Compliance mapping (SOC2, PCI-DSS, HIPAA) | Built-in | Paid tier | None |
|
|
66
66
|
| SARIF CI/CD export | Yes | Yes | Limited |
|
|
67
|
-
| Rule count |
|
|
67
|
+
| Rule count | 442 (focused, 68 AI-native) | 5000+ (broad) | N/A |
|
|
68
68
|
|
|
69
69
|
**When to use GuardVibe:** You're building with AI agents and want security scanning integrated into your coding workflow — no dashboard, no account, no CI setup.
|
|
70
70
|
|
|
@@ -189,7 +189,7 @@ React Native, Expo — AsyncStorage secrets, deep link token exposure, hardcoded
|
|
|
189
189
|
### Firebase
|
|
190
190
|
Firestore security rules, Firebase Admin SDK exposure, storage rules, custom token validation
|
|
191
191
|
|
|
192
|
-
### CVE Version Intelligence (
|
|
192
|
+
### CVE Version Intelligence (71 CVEs, refreshed daily)
|
|
193
193
|
**Frameworks:** Next.js (CVE-2024-34351, CVE-2024-46982, CVE-2025-29927, CVE-2026-23869, CVE-2026-44573 / 44574 / 44575 / 44578 / 44579 / 45109 May 2026 cluster), React + react-server-dom-* (CVE-2025-55182, CVE-2026-23870), Express, Hono pre-4.12.18 cluster, @vitejs/plugin-rsc, Strapi content-type-builder (CVE-2026-22599)
|
|
194
194
|
**Auth:** Clerk middleware bypass (GHSA-vqx2), Clerk `has()` org/billing/reverification bypass (GHSA-w24r), Clerk `clerkFrontendApiProxy` SSRF (CVE-2026-34076), NextAuth.js (2 CVEs), jsonwebtoken
|
|
195
195
|
**ORMs / SQL:** Drizzle SQL identifier injection (CVE-2026-39356) + Drizzle `sql.raw` interpolation (VG1073), MikroORM SQL injection (CVE-2026-44680), Prisma raw-query call-form, Kysely JSON-path traversal (CVE-2026-44635)
|
|
@@ -256,7 +256,7 @@ Malicious postinstall scripts, unpinned GitHub Actions, CI `npm` provenance / `-
|
|
|
256
256
|
|
|
257
257
|
All scanning tools support `format: "json"` for machine-readable output.
|
|
258
258
|
|
|
259
|
-
## Security Rules (
|
|
259
|
+
## Security Rules (442 rules across 25 modules)
|
|
260
260
|
|
|
261
261
|
| Category | Rules | Coverage |
|
|
262
262
|
|----------|-------|----------|
|
|
@@ -275,7 +275,7 @@ All scanning tools support `format: "json"` for machine-readable output.
|
|
|
275
275
|
| AI / LLM Security | 16 | Prompt injection, MCP SSRF, excessive agency, indirect injection |
|
|
276
276
|
| **AI Host Security** | **10** | **CVE-2025-59536 hook injection, CVE-2026-21852 base URL hijack, MCP config audit** |
|
|
277
277
|
| **AI Tool Runtime** | **4** | **MCP tool output sanitization, obfuscated descriptions, safety bypass** |
|
|
278
|
-
| CVE Version Intelligence |
|
|
278
|
+
| CVE Version Intelligence | 31 | Known vulnerable versions in package.json — incl. Vite dev-server cmd injection (CVE-2024-52011), React Router 7 cluster (CVE-2026-33245/42211/42342), DOMPurify XSS (CVE-2026-47423), Better Auth bypass (CVE-2026-45337), Axios supply-chain backdoor |
|
|
279
279
|
| Shell / Bash | 5 | Pipe to bash, chmod 777, rm -rf, sudo password |
|
|
280
280
|
| SQL | 4 | DROP/DELETE without WHERE, stacked queries, GRANT ALL |
|
|
281
281
|
| Supply Chain | 16 | Malicious install scripts, lockfile integrity, dependency confusion, typosquat detection |
|
|
@@ -817,4 +817,16 @@ export const cveVersionRules = [
|
|
|
817
817
|
fixCode: '// package.json\n"better-auth": "^1.6.11" // or latest',
|
|
818
818
|
compliance: ["SOC2:CC6.6", "PCI-DSS:Req6.5.10"],
|
|
819
819
|
},
|
|
820
|
+
{
|
|
821
|
+
id: "VG1088",
|
|
822
|
+
name: "Vite / launch-editor dev-server command injection on Windows (CVE-2024-52011 / GHSA-c27g-q93r-2cwf)",
|
|
823
|
+
severity: "high",
|
|
824
|
+
owasp: "A06:2025 Vulnerable and Outdated Components",
|
|
825
|
+
description: "vite < 5.4.9 (and the launch-editor < 2.9.0 it bundles) lets a crafted request to the running dev server inject a shell command on Windows. The dev server is commonly exposed on shared networks, so a vulnerable pin is a real RCE vector for developers/CI on Windows. Fixed in vite 5.4.9 / launch-editor 2.9.0. Only exact (or `=`) pins are flagged — a caret/tilde range resolves to a fixed release.",
|
|
826
|
+
pattern: /(?:["']vite["']\s*:\s*["']=?(?:[0-4]\.\d+\.\d+|5\.[0-3]\.\d+|5\.4\.[0-8])["']|["']launch-editor["']\s*:\s*["']=?(?:[01]\.\d+\.\d+|2\.[0-8]\.\d+)["'])/g,
|
|
827
|
+
languages: ["json"],
|
|
828
|
+
fix: "Upgrade vite to 5.4.9+ (or v6+): npm install -D vite@latest. If you depend on launch-editor directly, upgrade it to 2.9.0+. Never expose the dev server beyond localhost.",
|
|
829
|
+
fixCode: '// package.json\n"vite": "^5.4.9" // or ^6',
|
|
830
|
+
compliance: ["SOC2:CC7.1", "PCI-DSS:Req6.5.1"],
|
|
831
|
+
},
|
|
820
832
|
];
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "guardvibe",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"mcpName": "io.github.goklab/guardvibe",
|
|
5
|
-
"description": "Security infrastructure your AI can't be — deterministic, current past your model's training cutoff, whole-repo-aware, author-independent. Security MCP for vibe coding.
|
|
5
|
+
"description": "Security infrastructure your AI can't be — deterministic, current past your model's training cutoff, whole-repo-aware, author-independent. Security MCP for vibe coding. 442 rules, 37 tools, CLI + doctor. Host security, auth coverage mapping, LLM-powered deep scan (IDOR/business logic), taint analysis. 71 CVE rules refreshed daily from GHSA/OSV/CISA KEV — Vite dev-server RCE, React Router 7 cluster, DOMPurify XSS, Better Auth bypass, Miasma @redhat-cloud-services compromise, Next.js May 2026 13-advisory cluster, Drizzle/MikroORM/Kysely SQL injection, Axios proxy-auth redirect leak, Hono setCookie attribute injection, Clerk SSRF, tRPC prototype pollution, @tanstack supply-chain, node-ipc protestware, OpenClaude sandbox bypass, plus the full AI-generated stack (Supabase, Stripe, Prisma, Hono, GraphQL, Convex, Turso, Uploadthing, AI SDK). 68 AI-native rules including OWASP MCP Top 10 tool-description prompt injection (VG1068), model-controlled sandbox-disable flag detection (VG1063), Session messenger exfil endpoint IOC (VG1075), and CI/CD supply-chain hardening (VG1070 npm --expect-provenance / --ignore-scripts enforcement).",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"guardvibe": "build/cli.js",
|