Mobile Security Framework (MobSF) logo

Mobile Security Framework (MobSF)

Static and dynamic analysis for Android APK/AAB and iOS IPA: permissions, secrets, network config and runtime behaviour. Free, runs in Docker.

Overview

MobSF is an automated mobile application security assessment framework for inspecting application packages and, in supported environments, observing runtime behavior. It helps teams review permissions, insecure configuration, embedded secrets and other mobile-app risk indicators.

Key features

Static analysis; supported dynamic analysis workflows; report generation; Android and iOS assessment support.

Install & first run


# Docker is the supported install for the whole framework
docker pull opensecurity/mobile-security-framework-mobsf:latest
docker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest

# UI: http://127.0.0.1:8000   (first login: mobsf / mobsf - change it)

# REST API instead of the UI
curl -X POST http://127.0.0.1:8000/api/v1/upload \
  -H "Authorization: YOUR_API_KEY" -F "file=@app.apk"

The REST API key is shown at the bottom of the MobSF home page. Analysis runs locally - the APK never leaves your machine. Docs: https://mobsf.github.io/docs/

Real-world example

Analyze an application build you own or have permission to assess, then verify each important finding against the source or runtime behavior.

Common questions

Can MobSF guarantee an app is secure?

No. Automated results need manual review and platform-specific testing.

Does my APK leave my machine?

No. MobSF runs locally in Docker and stores reports in a local volume; nothing is uploaded to a third party by default.

What can it analyse?

Android APK/AAB, iOS IPA and source archives. Static analysis is immediate; dynamic analysis needs a rooted Android emulator connected to the container.

Is the API usable in CI?

Yes - upload via /api/v1/upload, scan via /api/v1/scan and pull the JSON report. That is the usual way to gate a mobile build.

Frida

Dynamic instrumentation toolkit: hook functions, dump keys and trace calls in running mobile and desktop apps. Free, open source.

JADX

Decompile Android APKs and DEX files into readable Java-like source, with a CLI and a GUI for following the code. Free, open source.


Keep exploring: browse every assessment phase in the Pentest Hub.

Authorized testing only — only ever test systems you own or have explicit written permission to assess.