Part of #573. #821 fixes the other nightly causes.
Why
On nowinandroid, the nightly reported mobsfscan:android_manifest_missing_explicit_allow_backup on spotless/copyright.xml:1 (runs 9412 and 9664). It came next to the same finding on the real AndroidManifest.xml, which the baseline already holds. Earlier runs with the same agent image did not report it, so it is nondeterministic on mobsfscan's side, possibly from the thread mode we run it in. Either way, a manifest rule cannot apply to a file that is not a manifest.
What
Matches of mobsfscan's AndroidManifest rules (android_manifest_*, android_task_hijacking*) on any file not named AndroidManifest.xml are dropped when the report is read. Code rules are unchanged.
Tests
New unit test a_manifest_rule_counts_only_on_a_manifest: the rule mapping, plus a report with the stray copyright.xml match, from which only the manifest finding remains.
Part of #573. #821 fixes the other nightly causes.
## Why
On nowinandroid, the nightly reported `mobsfscan:android_manifest_missing_explicit_allow_backup` on `spotless/copyright.xml:1` (runs 9412 and 9664). It came next to the same finding on the real `AndroidManifest.xml`, which the baseline already holds. Earlier runs with the same agent image did not report it, so it is nondeterministic on mobsfscan's side, possibly from the thread mode we run it in. Either way, a manifest rule cannot apply to a file that is not a manifest.
## What
Matches of mobsfscan's AndroidManifest rules (`android_manifest_*`, `android_task_hijacking*`) on any file not named `AndroidManifest.xml` are dropped when the report is read. Code rules are unchanged.
## Tests
- New unit test `a_manifest_rule_counts_only_on_a_manifest`: the rule mapping, plus a report with the stray `copyright.xml` match, from which only the manifest finding remains.
- CI only.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
mobsfscan reported android_manifest_missing_explicit_allow_backup on
nowinandroid's spotless/copyright.xml:1, next to the same finding on the
real manifest, in some nightly runs and not in others with the same
image (#573). Matches of the AndroidManifest rules (android_manifest_*,
android_task_hijacking*) on any other file are dropped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit 5b0bf08478 into main2026-11-04 08:28:15 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #573. #821 fixes the other nightly causes.
Why
On nowinandroid, the nightly reported
mobsfscan:android_manifest_missing_explicit_allow_backuponspotless/copyright.xml:1(runs 9412 and 9664). It came next to the same finding on the realAndroidManifest.xml, which the baseline already holds. Earlier runs with the same agent image did not report it, so it is nondeterministic on mobsfscan's side, possibly from the thread mode we run it in. Either way, a manifest rule cannot apply to a file that is not a manifest.What
Matches of mobsfscan's AndroidManifest rules (
android_manifest_*,android_task_hijacking*) on any file not namedAndroidManifest.xmlare dropped when the report is read. Code rules are unchanged.Tests
a_manifest_rule_counts_only_on_a_manifest: the rule mapping, plus a report with the straycopyright.xmlmatch, from which only the manifest finding remains.🤖 Generated with Claude Code