Skip to content

goklab/guardvibe

v3.1.5 Breaking

This release includes 1 breaking change for platform teams planning a safe upgrade.

Published 1mo MCP Security & Auth
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-security claude clerk cursor cve drizzle
+14 more
gemini-cli-extension hono mcp nextjs owasp prisma static-analysis security stripe supabase supply-chain typescript vercel vibe-coding

Summary

AI summary

Regex for VG1021 now requires enum identifiers to start with lowercase, breaking PascalCase and SCREAMING_SNAKE constant matches.

Full changelog
  • VG1021 (z.enum runtime mutability) regex tightened — identifier branch now requires lowercase-start ([a-z_$]…), so PascalCase TS enum imports like z.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-schema enum strings 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

Track goklab/guardvibe

Get notified when new releases ship.

Sign up free

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.

All releases →

Beta — feedback welcome: [email protected]