Skip to content

fix: code scanning alert 9 in draw tunnel detection#97

Draft
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-9-tunnel-detect
Draft

fix: code scanning alert 9 in draw tunnel detection#97
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-9-tunnel-detect

Conversation

@jbeckwith-oai
Copy link
Copy Markdown
Contributor

@jbeckwith-oai jbeckwith-oai commented Apr 13, 2026

Summary

  • replace shell-based command detection with PATH and executable checks
  • add a lightweight Node test for preferred tunnel detection
  • add a draw test script for server-side checks

Root Cause

The draw tunnel helper built a shell command with the requested backend name and ran command -v through execSync. That made the backend string shell-interpreted.

Validation

  • npm test

@jbeckwith-oai jbeckwith-oai changed the title [codex] Fix code scanning alert 9 in draw tunnel detection fix: code scanning alert 9 in draw tunnel detection Apr 13, 2026
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.

1 participant