Skip to content

fix(security): harden untrusted CLI inputs - #39

Merged
nc9 merged 1 commit into
mainfrom
fix/codeql-baseline
Jul 24, 2026
Merged

nc9 merged 1 commit into
mainfrom
fix/codeql-baseline

Conversation

@nc9

@nc9 nc9 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • validate browser-launch and release metadata inputs before process or filesystem use
  • reject executable/non-crawlable URL schemes across extraction and reporting paths
  • replace vulnerable HTML/meta parsing regexes with bounded scanners
  • escape generated Markdown tables and constrain rendered profile links to HTTP(S)
  • validate schema/font hosts structurally instead of with substring matching
  • add regression coverage for traversal, command injection, URL obfuscation, Markdown injection, and hostile markup

Verification

  • bun test (3581 pass, 4 skip, 0 fail)
  • bun run typecheck
  • cd apps/cli && bun run lint
  • bun run format:check
  • bun run audit:deps
  • isolated bun run notices:check
  • detect-secrets-hook --baseline .secrets.baseline
  • actionlint
  • git diff --check

@nc9
nc9 force-pushed the fix/codeql-baseline branch from 039e959 to c0d89d3 Compare July 24, 2026 10:11
@nc9
nc9 merged commit ede5e18 into main Jul 24, 2026
12 checks passed
@nc9
nc9 deleted the fix/codeql-baseline branch July 24, 2026 10:16
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.

2 participants