Skip to main content

Insecure service configuration - Task Hijacking


One of the activities in the application manifest is configured with launchMode=singleTask, this configuration is insecure because it opens the possibility that the application is vulnerable to Task Hijacking.


  • Mislead the user with a malicious application that impersonates the applications functionalities.
  • Install malicious application on the application users device.


Configure the launchMode with the singleInstance option.


Unauthorized user with access to the application.

Expected Remediation Time

⌚ minutes.


Default score using CVSS 3.1. It may change depending on the context of the src.


  • Attack vector: L
  • Attack complexity: H
  • Privileges required: N
  • User interaction: R
  • Scope: U
  • Confidentiality: L
  • Integrity: L
  • Availability: N


  • Exploit code madurity: P
  • Remediation level: O
  • Report confidence: X


  • Vector string: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:X
  • Score:
    • Base: 3.6
    • Temporal: 3.3
  • Severity:
    • Base: Low
    • Temporal: Low

Compliant code

The application manifest correctly configures launchMode to singleInstance

<manifest ... >
<application android:launchMode="singleInstance" ... >

Non compliant code

The application manifest allows launchMode with the singletask Option

<manifest ... >
<application android:launchMode="singleTask" ... >



free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.