Dense. Tables and commands. The centre of this file is §3: every MobSF finding category mapped to
what it actually detected and what you must do to confirm it.
# upload -> scan -> fetch, in four linesH=$(curl-s-H"$AUTH"-F"file=@target.apk""$MOBSF_SERVER/api/v1/upload"\|python3-B-c"import sys,json;print(json.load(sys.stdin)['hash'])")
curl-s-H"$AUTH"-XPOST--data"hash=$H&scan_type=apk&file_name=target.apk"\"$MOBSF_SERVER/api/v1/scan">/dev/null
curl-s-H"$AUTH"-XPOST--data"hash=$H""$MOBSF_SERVER/api/v1/report_json">report.json
curl-s-H"$AUTH"-XPOST--data"hash=$H""$MOBSF_SERVER/api/v1/delete_scan"# hygiene
Symptom
Cause
401
Wrong key, or Bearer prefix added
404 on an endpoint
Different MobSF major version — read /api_docs
Identical report after a re-upload
Cache hit on the hash.delete_scan first
Client timeout, server fine
Default client timeouts are far too short for /scan
3. Finding categories — what it detected, and how to confirm¶
The core table. Column 2 is what the tool actually observed, which is almost never what the
finding text says. Column 3 is the work that turns it into a report entry or kills it.
Check for dataExtractionRules/fullBackupContent. Then name the file that leaves the device
usesCleartextTraffic=true
One attribute
An NSC, if present, supersedes it. Then find an actual http:// endpoint the app uses
Activity/Service/Receiver not protected
exported="true", or an <intent-filter> with no exported
Is it the LAUNCHER? Then reject. Otherwise start it from an app, not adb shell, and record what the caller gains
Provider not protected
exported="true", no read/write permission
content query --uri content://<authority> from an app; then openFile
Provider protected by a permission
A permission attribute exists
Resolve protectionLevel.normal/dangerous = any app can hold it → the item is under-rated
Browsable activity
A BROWSABLE filter with scheme/host/path
am start -a android.intent.action.VIEW -d '<uri>'; read what the Activity does with the parameters
taskAffinity / launchMode
Attributes
Platform-dependent. 30-Activities measured affinities uid-namespaced, so the classic hijack fails; the unglamorous cross-app startActivity without NEW_TASK still works
Vulnerable Android version (minSdk low)
An integer comparison
Reject unless you can name the weakness and how this app touches it
Custom permission declared
A <permission> element
Read its protectionLevel. Squatting needs a victim that <uses-permission> a name it does not declare
# sections present
python3-B-c"import json;print('\n'.join(sorted(json.load(open('report.json')))))"# identity first, always
python3-B-c"import json;d=json.load(open('report.json'))for k in ('package_name','version_name','sha256','min_sdk','target_sdk','size','version'): print('%-14s %s'%(k,d.get(k)))"# manifest findings, severity first
python3-B-c"import json;d=json.load(open('report.json'));ma=d.get('manifest_analysis')items=ma.get('manifest_anal',ma) if isinstance(ma,dict) else ma[print('%-8s %s'%(i.get('severity'),i.get('title','')[:110])) for i in sorted(items,key=lambda x:x.get('severity',''))]"# code findings with citations
python3-B-c"import json;d=json.load(open('report.json'));ca=d.get('code_analysis',{});f=ca.get('findings',ca)for t,b in f.items(): if not isinstance(b,dict):continue m=b.get('metadata',b);print('%-8s cvss=%-4s %s'%(m.get('severity'),m.get('cvss'),t[:80])) [print(' %s:%s'%(p,l)) for p,l in (b.get('files') or {}).items()]"# every URL, http first, namespaces last
python3-B-c"import json;d=json.load(open('report.json'));u=set()[u.update(e.get('urls',[]) if isinstance(e,dict) else [e]) for e in d.get('urls',[])][print(x) for x in sorted(u,key=lambda s:('schemas.android.com' in s, not s.startswith('http://'), s))]"
# rank a corpus (online)exportMOBSF_API_KEY='<key>'
python3-Bscripts/mobsf-triage.py--dir./apks--cache./reports--csvtriage.csv
# rank saved reports (offline; works with the shipped fixtures)
python3-Bscripts/mobsf-triage.py--from-reports./examples--explain
# validate every item in a report against the artefact
jadx-douttarget.apk
python3-Bscripts/mobsf-validate.py--reportreport.json--apktarget.apk\--tree./out--csvledger.csv
python3-Bscripts/mobsf-validate.py--reportreport.json--apktarget.apk--onlyhigh,warning
python3-Bscripts/mobsf-validate.py--reportreport.json--apktarget.apk--quiet
Verdict
Meaning
CORROBORATED
The artefact shows the claimed construct where it is claimed
REFUTED
A measurement contradicts the report
UNSUPPORTED
The cited evidence is not where the report says
UNDER-RATED
Real, severity too low
OVER-RATED
Real, severity too high
RESTATES
A scorecard entry duplicating another section
NEEDS-HUMAN
No automated check applies
There is no FINDING verdict. Findings are written by people who can name the asset.