Skip to content

Windows project directory can hijack relative Flutter and Dart proxy executables - #1091

Draft
leoafarias wants to merge 1 commit into
mainfrom
codex-security/arp_c68195d5d61239bc2409eab07500d843
Draft

leoafarias wants to merge 1 commit into
mainfrom
codex-security/arp_c68195d5d61239bc2409eab07500d843

Conversation

@leoafarias

Copy link
Copy Markdown
Collaborator

Configured Flutter and Dart launches now bypass project-directory command search.

  • VersionRunner converts selected SDK Flutter and Dart paths to absolute executables before process launch.
  • Shell invocation is disabled for SDK tools, closing Windows current-directory precedence over the selected SDK.
  • A malicious checkout can no longer gain execution through colliding flutter or dart files on this path.
  • Argument forwarding, PATH augmentation, output handling, exit semantics, and Git-environment scrubbing remain intact.
  • Custom fvm exec commands retain shell and PATH resolution, with regression assertions covering both branches.

Static Verification Checks

  • Configured proxy binding (Passed) — FlutterCommand, DartCommand, and RunConfiguredFlutterWorkflow reach VersionRunner.run, which selects absolute SDK executables and disables shell lookup.

  • Collision regression assertions (Passed) — test/services/flutter_service_test.dart asserts project collisions cannot replace configured Flutter or Dart executables at the process boundary.

  • Custom execution compatibility (Passed) — VersionRunner.run preserves arguments, SDK PATH entries, and shell lookup for arbitrary fvm exec commands.

  • Static verification scope (Passed) — git diff and VersionRunner.run received source-only inspection; runtime checks were not performed, defining static verification scope.

  • Finding: acf_3b4acd341b39a23246d4ce9c8f94d799

  • Patch: arp_c68195d5d61239bc2409eab07500d843

  • Base commit: d3cdc1f8588047aac262aecdfea1182a3fe44cca

  • Patch SHA-256: 082db5c59c04af5293056c1e7d8cecee52d9c4ec4f754ac47975a4207ec821a0

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fvm Ready Ready Preview Nov 19, 2026 12:45am UTC

@leoafarias leoafarias changed the title [Codex Security] Windows project directory can hijack relative Flutter and Dart proxy executables Windows project directory can hijack relative Flutter and Dart proxy executables Nov 19, 2026

This branch was successfully deployed

1 active deployment
Preview — 370f5564 Deployed Nov 19, 2026 by vercel[bot]
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