This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryRegex for VG1021 now requires enum identifiers to start with lowercase, breaking PascalCase and SCREAMING_SNAKE constant matches.
Full changelog
- VG1021 (
z.enumruntime mutability) regex tightened — identifier branch now requires lowercase-start ([a-z_$]…), so PascalCase TS enum imports likez.enum(FraudAlertStatus)and SCREAMING_SNAKE constants no longer match. Real-attack shape using lowercase variable names (z.enum(allowedActions),z.enum(...userInput)) and template-literal interpolation in JSON-schemaenumstrings still fire. - VG133 (race condition: check-then-act) regex got a negative lookahead at the start of the if-body — the 404-mapping shape (
if (!x) { return NextResponse.json(…, 404); }) no longer matches updates that live OUTSIDE the if-block (engine backtracking was matching them within the 500-char window). Real check-then-act inside the if-body still fires. - VG955 (missing pagination) extended bounded-by-
in:skip to also accept variable-spread (where: { slug: { in: invoice.domains } }), not just literal arrays. - Tests 1486 → 1493 (+7). Real-world impact: dub 838 → 681 (-157), cal 681 → 655 (-26). No regressions on plane / NodeGoat / dvna / nodejs-goof. Self-audit PASS A 100.
Breaking Changes
- VG1021 regex tightened: `z.enum` identifiers must start with a lowercase letter (`[a-z_$]…`); PascalCase and SCREAMING_SNAKE constants no longer match.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About goklab/guardvibe
Security MCP for vibe coding with 330 rules and 29 tools. Purpose-built for AI-generated code — scans Next.js, Supabase, Clerk, Stripe, Prisma, Hono, GraphQL, and 25+ modules. Cross-file taint analysis, host security audit, auto-fix, SARIF export, pre-commit hook, and CVE version detection. Zero config, runs locally.
Related context
Beta — feedback welcome: [email protected]