# A free offline APK inspector in one Python file (from a student in Egypt)

> Source: <https://dev.to/bebo20000009ai/a-free-offline-apk-inspector-in-one-python-file-from-a-student-in-egypt-58op>
> Published: 2026-11-29 15:12:09+00:00

**Key takeaway:** apkinspect is a standard-library-only Python script that scans an APK offline and reports findings by layer, confidence and verify hint, with --json and --layer/--min-sev filters, but its output is heuristic and its --adb mode is untested on a device.

Hi, I'm Bebo, a student developer from Egypt. I wrote a small offline APK checker and put it on GitHub under the MIT license. It is one Python file, standard library only, no network, no paid API.

Repo: [https://github.com/bebo20000009-ai/apkinspect](https://github.com/bebo20000009-ai/apkinspect)

I built it while testing my own Android app, because I wanted a quick checklist of problems that are easy to miss before release. It was written with AI help, and I tested it against my own app's release APK.

```
python3 apkinspect.py app.apk
python3 apkinspect.py app.apk --json
python3 apkinspect.py app.apk --layer security --min-sev medium
```

Every finding has a layer, a confidence label and a "verify" hint.

Everything it prints is a heuristic, not proof. Check each finding before you change code. It cannot find logic bugs, UI bugs, server-side problems (for example Supabase row level security) or secrets that are fetched at runtime. The optional `--adb` mode was written but not tested on a device.

If you try it and it gets something wrong, please open an issue on the repo. Pull requests are welcome.

I'm building an app called TAYF (طيف) for Cairo. It helps people find group outings nearby and join them. It's early, and there's a web preview in Arabic at [https://tayf-preview.pages.dev](https://tayf-preview.pages.dev). Nothing to download yet.
