Urgent.News

What's breaking now, across hundreds of outlets.

Tech

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

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…

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.

To 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).

The 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.

Network-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.

While 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.

Bebo, 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

OpenRouter Alternatives in 2026: A Practical Comparison Checklist

OpenRouter is still a reasonable default when you want the widest possible model list. But "alternative" searches are usually about something more specific: a price you can audit, a payment rail your…

  • API Volta discloses transparent USD pricing per 1 million tokens
  • Curated model catalog ensures stable pricing and routing
  • Multiple payment options including prepaid USD, cards, and stablecoins

I built CD Remote: a open-source SFTP/FTP/SSH

I got tired of switching between dated FTP clients (FileZilla), Windows-only tools (WinSCP), and heavy cloud-locked Electron SSH apps (Termius).

  • CD Remote is open-source SFTP/FTP/SSH client
  • Developed by developer for cross-platform needs
  • Available for Windows, macOS, Linux

Everyone Here Is a Person

  • Developers face cycle of frustration and exhaustion in software industry
  • Users experience impatience and anger when software is not perfect
  • Cycle of hate and frustration consumes both developer and user

More from Sunday, 29 November 2026 →