Overrides: a vendor-designed client credential (Google API key, Firebase app id, Play Billing public
key, translation-SDK token) is not automatically a finding — check the restriction. A control that a
remote flag can disable is capped at the strength of that flag.
base: format 0.75 | api 0.55 | shape 0.30 | keyword 0.15
+0.25 site in the app's own package
+0.05 package not a known library
-0.30 only third-party -0.35 only generated -0.10 only resources
-0.25 value in >8 distinct files
+0.10 single site in app code +0.10 construct with an app-code site
-0.15 construct with no app-code site
-0.45 known-noise value
+0.10 same file does crypto / networking / headers
clamp [0.05, 0.95] HIGH >= 0.65 MEDIUM >= 0.40 LOW below
Confidence is not severity. There is no severity column and there must not be one.
# sweeper
python3-Bscripts/static-sweep.py./out# basic
python3-Bscripts/static-sweep.py./out--app-packagePKG# when no manifest in tree
python3-Bscripts/static-sweep.py./out--filesapp# big app, first pass (6x faster)
python3-Bscripts/static-sweep.py./out--scopeapp# only leads touching app code
python3-Bscripts/static-sweep.py./out--min-confidence0.5
python3-Bscripts/static-sweep.py./out--show-suppressed# audit the filter
python3-Bscripts/static-sweep.py./out--csvleads.csv# the ledger skeleton
python3-Bscripts/static-sweep.py--print-catalogue# every rule + its hand-run grep# validator
bashscripts/validate-lead.sh--tree./out--value'X'
bashscripts/validate-lead.sh--tree./out--filesources/a/B.java--line88
bashscripts/validate-lead.sh--tree./out--value'X'--reach
bashscripts/validate-lead.sh--tree./out--value'X'--packagePKG--serialSERIAL
bashscripts/validate-lead.sh--tree./out--value'X'--outevidence/L001
# blind spots (needs frida-server + root)
frida-U-fPKG-lscripts/blindspot-recorder.js--no-pause
# then, in the REPL: rpc.exports.report()
awk'/<(intent-filter|meta-data|action|category)[ \t>\/]/{t=0} /<(activity|activity-alias|service|receiver|provider|application)([ \t>\/]|$)/{t=1} t && match($0,/android:name="[^"]+"/){print substr($0,RSTART+14,RLENGTH-15);t=0}'\work/AndroidManifest.xml|sort-u
A bare grep android:name also collects <action>, <category> and <meta-data>, and then
android.intent.action.MAIN looks like a class. Do not use \b in awk — it is a backspace.
adbshellpmpathPKG# every split
adbshelldumpsyspackagePKG|grep-E'flags=|privateFlags=|targetSdk|versionName'
adbshelldumpsyspackagePKG|sed-n'/Activity Resolver Table/,/Service Resolver/p'
adbshellmount|grepcacerts# BEFORE any trust-store claim
adbshell"dumpsys trust"|grep-o"deviceLocked=[01]"# before any app-originated result