How Ward is measured
Every number here comes from a run in the repository, with its raw data. Results that look bad for Ward stay in.
Real security fixes (held-out set)
20 security fixes from open-source Android apps. Each app is checked out at the commit just before its fix, and Ward runs on it. Strict means Ward marks the fixed problem FAIL. Lenient means a finding near the fixed code describes the problem, with any verdict. Decoys are planted look-alikes: code that seems risky but is fine.
| Ward 1.0 free check | Agent hunts (2.0 baseline) | |
|---|---|---|
| Found, strict | 5 of 20 | 5 of 20 |
| Found, lenient | 9 of 20 | 8 of 20 |
| Decoys flagged | 0 | 0 |
| Wrong citations | 0 of 516 | 0 of 809 |
| Time and cost, all 20 | under 30 s, $0 | over 2 h, $46 API-equivalent |
Why the agent isn't in 1.0: it found the same number of real bugs strictly, at about $2.40 and 7 minutes a check. Ward 2.0 brings it back only if focused hunts find at least 2 of those 8 unseen cases beyond the free check, with no wrong citations.
| Case | The fixed problem | Kind | Ward 1.0 free check | Agent (2.0 baseline) | Trace |
|---|---|---|---|---|---|
HO-01 | Widget authentication activity exported to other apps home-assistant/android fix 30a56b9 | config | found (lenient) | found (lenient) | 14 findings |
HO-02 | Certificate trust dialog exported from a library module tasks/tasks fix 79b084e | config | found (lenient) | found (strict) | 11 findings |
HO-03 | Exported main activity runs widget connect actions sent by any app ProtonVPN/android-app fix 55970e0 | absence | missed | found (lenient) | 7 findings |
HO-04 | jackson-core 2.20.1 with known advisories nextcloud/talk-android fix baf4f18 | dependency | found (strict) | found (strict) | 10 findings |
HO-05 | Path traversal in the CalDAV task cache tasks/tasks fix ed52e58 | code | missed | missed | 11 findings |
HO-06 | Icon pack import can write outside its directory (zip path traversal) beemdevelopment/Aegis fix f4e599e | code | missed | missed | 7 findings |
HO-07 | Account credentials sent to look-alike hosts (URL prefix check) nextcloud/talk-android fix 848ecda | code | missed | missed | 10 findings |
HO-08 | Backup and plaintext export folders lack .nomedia, so media scanners index them signalapp/Signal-Android fix 5dd9386 | absence | missed | missed | 10 findings |
HO-09 | Backup enabled; app files (documents, photos, models) not excluded JMAN730/opendroid fix b83315c | config | found (lenient) | found (strict) | 11 findings |
HO-10 | WebView contents debugging enabled in release builds itkach/aard2-android fix 25c5d23 | config | found (strict) | missed | 2 findings |
HO-13 | Shared file's DISPLAY_NAME used as a cache path (path traversal on import) ankidroid/Anki-Android fix 5bb5a82 | code | missed | missed | 14 findings |
HO-14 | Crash reports attach logcat even when the exception was sanitised for personal data ankidroid/Anki-Android fix 1349d37 | absence | missed | missed | 14 findings |
HO-15 | Back gesture closes the passcode or pattern lock screen (app lock bypass) owncloud/android fix 1123728 | code | missed | missed | 10 findings |
HO-17 | Privileged JS bridges check webView.url, which can be a pending navigation, not the calling page duckduckgo/Android fix 6eff8db | code | missed | missed | 9 findings |
HO-18 | Exported StartupActivity starts an Intent taken from its own extras (intent redirection) mycelium-com/wallet-android fix 8e5a417 | code | missed | found (strict) | 6 findings |
HO-19 | Logged exception prints the nostrconnect:// address with its pairing secret vitorpamplona/amethyst fix c8caff1 | code | missed | missed | 8 findings |
HO-20 | FileProvider shares all of external storage (external-path ".") home-assistant/android fix 5eb016f | config | found (strict) | missed | 14 findings |
HO-23 | Exported ShortcutActivity shares diagnostic logs on any app's intent, without confirmation protonpass/android-pass fix 893ed89 | absence | found (lenient) | found (lenient) | 4 findings |
HO-24 | jsoup 1.18.3 with known advisories (GHSA-pmhh-3w7g-xqp8, GHSA-65r4-943x-97jj) M66B/FairEmail fix 9b12685 | dependency | found (strict) | missed | 11 findings |
HO-25 | jsoup 1.22.2 with a known advisory (GHSA-pmhh-3w7g-xqp8) element-hq/element-x-android fix df925c2 | dependency | found (strict) | found (strict) | 9 findings |
Raw data: evals/results/held-out. Each trace is the run folder: findings.json (what Ward reported, with file:line) and grades.json (how each finding was scored). Labels were set by Claude; the caveats are in the measurements log. Full transcripts of the agent runs stay local.
Example app with planted issues
A small Android app with 23 planted issues, and a clean twin without them. This was the starting point: Claude Code alone already found 21.7 of 23 on average (3 runs, precision 97%), and adding a plain MASVS checklist skill or OWASP's own skills changed nothing measurable. That is why Ward doesn't try to find more bugs. It aims at a report you can trust: a verdict for every control, exact facts, and a plain list of what wasn't checked.
On the same app, Ward 1.0's free check flags 8 problems as FAIL with file:line (16 failing checks). Each is a planted issue, 8 of the 23; no decoy is marked FAIL, and the clean twin gets no FAIL at all. Every other check gets a status: no finding, manual, needs a running app, to review or N/A. Open that report.
Search over OWASP sources
80 developer questions with known right answers. Ward's tuned keyword search (BM25) puts the right MASVS, MASTG or MASWE entry in the top 5 for 93.8% of them (MRR 0.811). Adding vector search raised that only to 96.3%, so Ward ships keyword search alone. No search could tell "nothing relevant" questions apart. Try it.
Limits
- 20 cases, one run each, one model (Sonnet 5.5) for the agent arm.
- Plain-code checks see config, dependencies and a few code patterns. Most code-level bugs (8 of the 20 cases) need a person or a running app.
- Ward never runs your app. Dynamic checks are listed with the MASTG test to run.
The full log of every measurement is in docs/measurements.md.