
mobsfscan è uno strumento di analisi statica in grado di trovare pattern di codice insicuri nel codice sorgente Android e iOS. Supporta codice Java, Kotlin, Swift e Objective C. mobsfscan utilizza le regole di analisi statica di MobSF ed è alimentato da semgrep e dal pattern matcher libsast.
mobsfscan è uno strumento di analisi statica in grado di individuare pattern di codice non sicuro nel codice sorgente Android, iOS e ibrido. Supporta Java, Kotlin, Android XML, iOS Info.plist, Swift, Objective C, JavaScript, TypeScript e file di configurazione Cordova/Capacitor/Expo. mobsfscan utilizza le regole di analisi statica di MobSF ed è basato su semgrep e libsast.
Se ti è piaciuto mobsfscan e lo trovi utile, ti invitiamo a considerare una donazione.
Automated Mobile Application Security Assessment with MobSF -MAS
Android Security Tools Expert -ATX
pip install mobsfscan
Richiede Python 3.10–3.14
.java), Kotlin (.kt), Android Manifest (AndroidManifest.xml), Network Security Config e XML di layout e risorse..swift), Objective-C (.m) e impostazioni App Transport Security in Info.plist..js, .jsx, .ts, .tsx, .mjs, .cjs e blocchi <script> in .html, .htm, .vue e .svelte.$ mobsfscan
usage: mobsfscan [-h] [--json] [--sarif] [--sonarqube] [--gitlab-sast] [--html]
[--type {android,ios,javascript,auto}] [-o OUTPUT] [-c CONFIG]
[-mp {default,billiard,thread}] [-w] [--no-fail] [-v]
[path ...]
positional arguments:
path Path can be file(s) or directories with source code
options:
-h, --help show this help message and exit
--json set output format as JSON
--sarif set output format as SARIF 2.1.0
--sonarqube set output format as SonarQube generic issues (10.3+)
--gitlab-sast set output format as GitLab SAST report
--html set output format as HTML
--type {android,ios,javascript,auto}
optional: force android, ios, or javascript rules explicitly
-o OUTPUT, --output OUTPUT
output filename to save the result
-c CONFIG, --config CONFIG
location to .mobsf config file
-mp {default,billiard,thread}, --multiprocessing {default,billiard,thread}
optional: specify multiprocessing strategy
-w, --exit-warning non zero exit code on warning
--no-fail force zero exit code, takes precedence over --exit-warning
-v, --version show mobsfscan version
$ mobsfscan tests/assets/src/
- Pattern Match ████████████████████████████████████████████████████████████ 3
- Semantic Grep ██████ 37