You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Android] Unauthorized executing of arbitrary Dart entrypoints via Intent extras #190452
Exported Android activities extending FlutterActivity (like the default MainActivity) unconditionally parse Intent extras (EXTRA_DART_ENTRYPOINT and EXTRA_DART_ENTRYPOINT_ARGS) to configure and launch the initial Dart isolate. Because the launcher activity is exported by default, any co-resident, zero-permission application can send a targeted explicit Intent specifying an alternate top-level Dart function annotated with @pragma('vm:entry-point') along with arbitrary arguments. The host application then boots the attacker-specified entrypoint instead of its standard main() UI isolate, executing malicious workflows entirely inside the victim's process and security sandbox.
My proposed solution: Implement a tiered trust model based on build mode and Intent source:
Unconditionally allow Intent use for specifying Dart entrypoint args in debug and profile modes to preserve developer velocity
In release mode, only trust the route if it originates internally from the app itself, allowing secure self-routing for notifications. Fall back to args defined in the manifest.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
camsim99 commentedon Aug 3, 2026
My proposed solution: Implement a tiered trust model based on build mode and
Intentsource:Intentuse for specifying Dart entrypoint args in debug and profile modes to preserve developer velocity[Android] Refuse external setters of engine entrypoint and cached eng…
[Android] Refuse external setters of engine entrypoint and cached eng…
[Android] Refuse external setters of engine entrypoint and cached eng…
[Android] Add breaking change page for hardened entrypoint and cached…
github-actions commentedon Oct 10, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.