GitHub Security Lab has detailed how its open source Taskflow Agent, built as a way for security researchers to automate and share effective AI prompts and workflows, was used to audit Android applications. In a blog post, the lab's Kevin Stubbings said he had reported more than 20 vulnerabilities in Android apps using the taskflows, which the lab says can find vulnerabilities that LLMs would have missed entirely or taken longer to identify.
The taskflows are open source and available in the seclab-taskflows repository. Running them requires a GitHub Copilot license and uses premium model requests, and Stubbings warned that the workflows can result in many tool calls that consume a large amount of tokens. Researchers can start a codespace, wait for it to initialize, and run a mobile audit script against a repository. On a medium-sized repository the process can take an hour or two, after which it opens an SQLite viewer with results in an "audit_results" table.
Because Android apps have their own specific classes of vulnerabilities, the taskflows were adapted for them. A new taskflow, gather_mobile_entry_point_info.yaml, separates attacker-controlled entry points into mobile and non-mobile categories, allowing the AI to work on repositories containing different application types while still understanding the correct attack surface. A second taskflow, classify_application_local.yaml, lists popular vulnerability classes and asks the model to consider them in the context of each entry point. For intent-based entry points, for example, it checks for common issues such as confused deputy attacks and insecure broadcasts.
The lab maintains an advisories page where these vulnerabilities are disclosed as they are found.