AI agents & security workflows

GitHub's AI security taskflows found 24 Android vulnerabilities

•Make Better Editorial

GitHub Security Lab used reusable AI taskflows to find 24 Android vulnerabilities. The useful lesson is how structured agent workflows outperform one giant security prompt.

GitHub Security Lab says its open-source AI security agent and targeted taskflows have found and reported 24 vulnerabilities in Android applications. The headline number is notable, but the more reusable lesson is the workflow design: researchers did not ask one model to “find vulnerabilities.” They decomposed the audit into repeatable stages, constrained some checks, left other stages exploratory, and kept human validation in the loop.

What GitHub actually did

The Security Lab Taskflow Agent packages prompts and workflows for security research. For Android audits, GitHub added a stage that identifies mobile entry points and another that classifies application behavior against known vulnerability classes. That gives the model a narrower attack surface before it begins deeper analysis.

Verified case-study numbers

24 vulnerabilities
Reported findings
GitHub Security Lab total at publication
1–2 hours
Typical medium repo run
GitHub's stated estimate
10M+ downloads
OsmAnd Android reach
One app discussed in the case study

Why structured taskflows mattered

Make Better analysis

This is a useful example of an agent workflow beating a single oversized prompt. The deterministic part of the process narrows what should be inspected and what evidence should be produced. The model then gets room for judgment inside those boundaries. That same pattern applies outside security: collect and classify first, reason second, validate before action.

GitHub describes combining strict prompts with broader prompts across multiple runs. The strict path helps prevent obvious vulnerability classes from being skipped; the broader path gives the model room to connect behaviors that a fixed checklist may not anticipate. The value comes from orchestrating both modes rather than choosing one.

A reusable agent-workflow pattern

  1. Define the attack surface or input set before asking the model for conclusions.
  2. Split classification, investigation and validation into separate stages.
  3. Use structured checks for known failure classes and a separate exploratory pass for unexpected patterns.
  4. Repeat high-value analysis when model nondeterminism could cause important misses.
  5. Require evidence or a reproducible test before accepting a high-impact finding.
  6. Keep a human or deterministic verifier at the boundary where false positives become costly.

The limitations matter as much as the findings

Not autonomous proof

GitHub says LLMs can still misjudge complex application behavior and produce false positives. Some findings need a debugger or a researcher to test the proof of concept against the original code. The workflow accelerates investigation; it does not remove the verification step.

Cost and runtime also matter. GitHub says a medium-sized repository can take one or two hours and warns that the taskflows can generate many tool calls and consume substantial tokens. A production team should therefore measure validated findings per run, review time and false-positive rate—not just how many potential issues the agent reports.

What non-security workflow builders can reuse

Security pattern → general workflow pattern

GitHub security taskflowGeneral agent workflow
Identify Android entry pointsCollect and narrow the relevant inputs
Check known vulnerability classesRun deterministic rules or required checks
Use broad exploratory promptsGive an agent room for judgment on ambiguous cases
Repeat selected analysisUse redundancy where missing an issue is expensive
Validate proof of conceptRequire evidence or human approval before consequential action
Bottom line

The strongest lesson from GitHub's 24 findings is not that an AI agent can replace a security researcher. It is that reusable taskflows can turn model capability into a more disciplined process: narrow the problem, combine constrained and exploratory reasoning, repeat important checks, and validate the result before acting.

Sources & useful resources