Skip to content

fix(security): remediate CodeQL SAST findings and dependency CVEs#22

Open
SafetyMP wants to merge 4 commits into
mainfrom
fix/codeql-sast-and-hygiene
Open

fix(security): remediate CodeQL SAST findings and dependency CVEs#22
SafetyMP wants to merge 4 commits into
mainfrom
fix/codeql-sast-and-hygiene

Conversation

@SafetyMP

Copy link
Copy Markdown
Owner

Summary

Test plan

  • CI green (lint + test + CodeQL)
  • ./scripts/verify.sh passes locally
  • CodeQL alert count drops on merge (re-run after CodeQL workflow completes)
  • Dependabot alert count drops after merge (vite 8 migration tracked separately)

Add log/path/subagent sanitization helpers, harden sandbox patch apply,
bump semantic-release to clear sigstore/tar advisories, and fix unused-import noise.
Copilot AI review requested due to automatic review settings July 12, 2026 16:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread apps/secure-gateway/src/compliance-trackers.ts Fixed
Comment thread apps/secure-gateway/src/compliance-trackers.ts Fixed
Comment thread apps/secure-gateway/src/cedar-evaluator.ts Fixed
Comment thread apps/secure-gateway/src/index.ts Fixed
Remove unused imports, tighten package.json path containment checks, and
avoid interpolated user data in Cedar evaluator error logs.
Comment thread apps/secure-gateway/src/cedar-evaluator.ts Fixed
Comment thread apps/secure-gateway/src/cedar-evaluator.ts Fixed
Omit user-controlled Cedar parse details from error logs and apply the
existing auto-throttle middleware to sandbox patch routes.
Comment thread apps/secure-gateway/src/index.ts Fixed
Comment thread apps/secure-gateway/src/index.ts Fixed
CodeQL requires recognized rate limiting on auth/file-system handlers;
apply express-rate-limit alongside existing auto-throttle middleware.
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.

3 participants