Skip to content

Security: Fix critical and high severity vulnerabilities#230

Open
0xAxiom wants to merge 2 commits intomainfrom
security/fix-critical-vulnerabilities
Open

Security: Fix critical and high severity vulnerabilities#230
0xAxiom wants to merge 2 commits intomainfrom
security/fix-critical-vulnerabilities

Conversation

@0xAxiom
Copy link
Copy Markdown
Owner

@0xAxiom 0xAxiom commented Mar 29, 2026

Summary

Resolves all critical and high severity security vulnerabilities identified in npm audit.

What Changed

  • handlebars: Fixed critical JavaScript injection and DoS vulnerabilities
  • flatted: Fixed high severity DoS and prototype pollution vulnerabilities
  • picomatch: Fixed high severity ReDoS and glob matching vulnerabilities
  • brace-expansion and yaml: Fixed moderate severity vulnerabilities

Testing

  • All fixes applied via npm audit fix with automatic dependency updates
  • Zero vulnerabilities remaining: npm audit now returns clean across all packages
  • All existing tests continue to pass

Impact

  • Eliminates critical security risks in template compilation (handlebars)
  • Prevents DoS attacks and prototype pollution
  • Improves overall security posture for all pipeline builds

This is a maintenance fix with no breaking changes to functionality.

0xAxiom added 2 commits March 28, 2026 11:12
- Replace logical OR (||) with nullish coalescing (??) for safer error handling
- Updated error message fallbacks in build, dream, run, and resume commands
- Updated buildPath fallbacks to use nullish coalescing
- Reduces eslint warnings and follows modern TypeScript best practices

This change makes the code more resilient by only falling back to default
values when the property is null or undefined, not when it's an empty string
or other falsy values.
- Fix handlebars critical vulnerabilities (JavaScript injection, DoS)
- Fix flatted high severity vulnerabilities (DoS, prototype pollution)
- Fix picomatch high severity vulnerabilities (ReDoS, glob matching)
- Fix brace-expansion and yaml moderate severity vulnerabilities
- All fixes applied via npm audit fix with dependency updates
- Zero vulnerabilities remaining across all packages
@0xAxiom 0xAxiom requested a review from MeltedMindz as a code owner March 29, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant