You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guard include_assets step against path traversal in destinations and pattern copy
- Add sanitizeDestination() that strips '..' segments from destination
fields and emits a warning when any are removed
- Sanitize entry.destination for all three inclusion types (pattern,
static, configKey) before it reaches any path join
- Add copy-time bounds check in copyByPattern: skip any file whose
resolved destPath escapes outputDir and warn
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments