{
  "id": 22601661,
  "title": "A free offline APK inspector in one Python file (from a student in Egypt)",
  "url": "https://urgent.news/2026/11/29/a-free-offline-apk-inspector-in-one-python-file-from-a-student-in",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T15:12:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/bebo20000009ai/a-free-offline-apk-inspector-in-one-python-file-from-a-student-in-egypt-58op"
  },
  "original_language": null,
  "account": "Bebo, an Egyptian student developer, created a one-file Python program called apkinspect that functions as an offline APK analyzer. This tool is available on GitHub under the MIT license and requires no network connection or paid APIs. Bebo developed the program while testing his own Android app, aiming to quickly identify common issues that often go unnoticed before releasing the app. The tool was partly generated using AI assistance.\n\nTo use apkinspect, run the command python3 apkinspect.py app.apk. Additional options include --json to output results in JSON format, --layer security to focus on security-related checks, --min-sev medium to set a minimum severity threshold, and --adb for running the program directly on a device (though this mode hasn't been thoroughly tested).\n\nThe analyzer examines various aspects of an APK, including the manifest file for debuggable or testOnly flags, backup settings, cleartext traffic, exported components, and deep links. For security, it checks the signing scheme and key size, debug keys, presence of keys and tokens (such as Supabase service_role keys), and the use of weak crypto constants in the app. Performance and store rules are evaluated based on method count, large PNG image usage, 16 KB page alignment, SDK inventory, and unused sensitive permissions.\n\nNetwork-related checks include identifying hosts found, presence of http:// URLs, and staging URLs. Each detection found by the tool is tagged with a layer, a confidence level, and a verification hint. However, it's important to note that all findings are heuristics, not definitive proof of issues. Users should independently verify each finding before making any code changes.\n\nWhile the tool can't identify complex logic or UI bugs, server-side problems (like Supabase row level security), or secrets that are fetched at runtime, it is a valuable starting point for developers looking to improve the quality of their Android apps. The optional --adb mode, intended for direct device usage, has not been fully tested on actual hardware.\n\nBebo, the creator of apkinspect, is currently working on an app called TAYF (طيف) in Cairo. TAYF helps users discover and join group outings nearby. An Arabic web preview of TAYF is accessible at https://tayf-preview.pages.dev. The project is still in its early stages and does not have any downloadable APKs yet.",
  "summary": "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 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…",
  "summary_source": "publisher",
  "key_points": [
    "Bebo, an Egyptian student, created apkinspect, a one-file Python APK inspector.",
    "The tool analyzes APKs offline without network or paid APIs, available on GitHub under MIT license."
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}