
mobsfscan은 Android 및 iOS 소스 코드에서 안전하지 않은 코드 패턴을 찾을 수 있는 정적 분석 도구입니다. Java, Kotlin, Swift, Objective C 코드를 지원합니다. mobsfscan은 MobSF 정적 분석 규칙을 사용하며 semgrep 및 libsast 패턴 매처로 구동됩니다.
mobsfscan은 Android, iOS 및 하이브리드 소스 코드에서 안전하지 않은 코드 패턴을 찾을 수 있는 정적 분석 도구입니다. Java, Kotlin, Android XML, iOS Info.plist, Swift, Objective C, JavaScript, TypeScript 및 Cordova/Capacitor/Expo 구성 파일을 지원합니다. mobsfscan은 MobSF 정적 분석 규칙을 사용하며 semgrep과 libsast로 구동됩니다.
mobsfscan이 마음에 들고 유용하다고 생각하신다면 후원을 고려해 주세요.
MobSF를 활용한 자동화된 모바일 애플리케이션 보안 평가 -MAS
pip install mobsfscan
Python 3.10–3.14가 필요합니다
.java), Kotlin (.kt), Android Manifest (AndroidManifest.xml), Network Security Config, 그리고 레이아웃 및 리소스 XML..swift), Objective-C (.m), 그리고 Info.plist의 App Transport Security 설정..js, .jsx, .ts, .tsx, .mjs, .cjs 및 .html, .htm, .vue, .svelte의 <script> 블록 전반에 걸친 Tree-sitter AST 규칙을 통해 지원합니다.$ 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