Loading...
Loading...
Run MobSF (Mobile Security Framework) for automated static and dynamic analysis of Android and iOS apps. Detects insecure storage, weak crypto, hardcoded secrets, and permission issues.
npx skill4agent add vchirrav/owasp-secure-coding-md mobile-security-mobsfdocker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latesthttp://localhost:8000# Upload
curl -F "file=@app.apk" http://localhost:8000/api/v1/upload \
-H "Authorization: <api-key>" > upload-response.json
# Scan
curl -X POST http://localhost:8000/api/v1/scan \
-H "Authorization: <api-key>" \
-d "scan_type=apk&file_name=app.apk&hash=<hash>" > scan-results.json
# Get report
curl -X POST http://localhost:8000/api/v1/report_json \
-H "Authorization: <api-key>" \
-d "hash=<hash>" > mobsf-report.json| # | Severity | Category | Finding | File/Location | CVSS | Remediation |
|---|----------|----------|---------|---------------|------|-------------|| Category | Checks |
|---|---|
| Manifest | Exported components, debuggable flag, backup allowed, permissions |
| Code | Hardcoded secrets, weak crypto, insecure random, logging |
| Binary | PIE, stack canaries, RELRO, NX bit |
| Network | Clear-text traffic, cert pinning, WebView SSL |
| Storage | Shared preferences, SQLite, external storage |