Android Package & Device Inspection Framework
Motto: APDIF — inspect whats under
APDIF is a shell-first Android security testing CLI for inspecting packages, triaging apps, and generating concise case reports.
It is built for practical Android app security testing, rooted-device workflows, package inspection, and local evidence collection.
APDIF helps you quickly inspect Android targets and collect useful security context:
- package and APK triage
- installed app inspection
- permission and manifest review
- deep link, receiver, service, and provider enumeration
- WebView, files, preferences, database, and storage review
- device doctor checks
- Markdown and JSON report generation
APDIF currently works best with:
- a rooted Android device
adb- shell access
- Android platform tools
- Linux host environment
Rooted workflows are the main supported path for now. Non-root support can be expanded later.
Clone the repository:
git clone https://github.com/usercopy-fault/fieldglass.git
cd fieldglassMake the launcher executable:
chmod +x bin/apdif 2>/dev/null || chmod +x apdifOptional: add APDIF to your PATH:
mkdir -p ~/.local/bin
ln -sf "$PWD/bin/apdif" ~/.local/bin/apdif 2>/dev/null || ln -sf "$PWD/apdif" ~/.local/bin/apdifVerify:
apdif --helpShow help:
apdif --helpList command patterns:
apdif cheat listRun device checks:
apdif device doctor
apdif device doctor --serial SERIALRun triage against an installed package:
apdif triage run --pkg PKG --case NAME --profile PROFILE
apdif triage run --pkg PKG --case NAME --profile PROFILE --json
apdif triage run --pkg PKG --case NAME --profile PROFILE --serial SERIALRun triage against an APK file:
apdif triage run --apk FILE --case NAME --profile PROFILEBuild a final report:
apdif report build --case NAME --pkg PKG --profile PROFILE
apdif report build --case NAME --pkg PKG --profile PROFILE --format md
apdif report build --case NAME --pkg PKG --profile PROFILE --format jsonapdif device doctor
apdif triage run --pkg com.example.app --case example_case --profile default
apdif report build --case example_case --pkg com.example.app --profile default --format mdAPDIF is under active development.
Current focus:
- rooted Android workflows
- cleaner package triage
- better report generation
- stable command grammar
- stronger evidence output



