# Automation detection \[Android only]

Automation detection identifies when the application is being controlled, analyzed, or interacted with by automated testing frameworks (specifically targeting Appium and UI Automator). This describes a situation where software, rather than a human, is driving the application's UI.

Attackers use automation tools to simulate user actions at high speed and scale to perform attacks such as:

* **Bot Farms**: Automating actions like account creation, voting, or transaction execution to manipulate platform metrics or defraud the system.
* **Data Scraping**: Automatically navigating the app to extract proprietary data, content, or user information.
* **Dynamic Analysis**: Rapidly probing the application logic and UI flows to discover vulnerabilities or bypass security checks.

Below are code snippets demonstrating automation detection:

```dart
// Android automation check
override fun onUnsecureWifiDetected() {
    TODO("Not yet implemented")
}
```
