Skip to content

Resolve desktop epic CodeQL alerts without changing validation semantics #2154

Closed

Description

@integry

Base all work on 1950-epic-cross-platform-dsk and open a linked corrective PR into that epic only; never merge main. CodeQL check 101589557612 on d240437 reports two high alerts. Inspect and address narrowly: (1) apps/desktop/src/main.ts line 471, recordNativeRejectedArguments, argv.includes exact fixture URL is ARRAY membership, not substring URL authorization; preserve exact argument equality and fixture evidence semantics, express clearly for analyzer rather than weakening checks or broad suppression. (2) packages/cli/src/commands/checkCommands.ts line 984, isLiveRendererFallbackError, replace potentially superlinear stdin/tty regex matching with equivalent bounded or linear matching, preserving fallback behavior. Add focused regression tests for matching/nonmatching behavior and run relevant tests, typechecks, and CodeQL CI. Defensive remediation only; no exploit payloads or vulnerability reproduction. Keep changes small and unrelated Windows work deferred. Include closing keyword for this issue in PR body. Root will request Ultrafix and independently inspect before merging into epic; no auto-merge.

Activity

  1. propr-dev commented on Sep 7, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2154/gpt-5.6-sol-resolve-desktop-epic-code-20260907-0123-yyb
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2154-20260907-0123-gpt-5.6-sol-yyb

    🔍 Track Task Execution

  2. added a commit that references this issue on Sep 7, 2026
  3. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Implemented by #2156 and merged into desktop epic #1970 at e691c3f, not main. Ultrafix review 5563765260 scored 9/10 with no blockers or suggestions; independent diff inspection completed. Full suite, Validate Changes, all four Linux/macOS package checks and all four packaged Connect checks passed on 62fd97b. Windows remains deferred. The combined epic CodeQL scan must still confirm both alerts clear; no local CodeQL result is claimed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions