fix(security): remediate CodeQL SAST findings and dependency CVEs#22
Open
SafetyMP wants to merge 4 commits into
Open
fix(security): remediate CodeQL SAST findings and dependency CVEs#22SafetyMP wants to merge 4 commits into
SafetyMP wants to merge 4 commits into
Conversation
Add log/path/subagent sanitization helpers, harden sandbox patch apply, bump semantic-release to clear sigstore/tar advisories, and fix unused-import noise.
Remove unused imports, tighten package.json path containment checks, and avoid interpolated user data in Cedar evaluator error logs.
Omit user-controlled Cedar parse details from error logs and apply the existing auto-throttle middleware to sandbox patch routes.
CodeQL requires recognized rate limiting on auth/file-system handlers; apply express-rate-limit alongside existing auto-throttle middleware.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
security-sanitize.tshelpers for log injection, path traversal, and subagent ID validationresolveSandboxPatchPath,execFileSyncforgit apply)semantic-releaseto 25.0.6 (clears sigstore/tar/npm advisory chain; 21 → 2 remaining vite/esbuild dev-only CVEs)Test plan
./scripts/verify.shpasses locally