技能 2026-09-28 04:14 UTC
Android-Pentesting-Skillv1.9.1
版本【1.9.1】由提交人 DragonJAR 提交,主要更新类型为:功能特性新增与扩展。提交说明:feat: 1.9.1 - benchmark harness (canary APKs + scorecard) + fix 5 latent pipeline bugs。为项目引入了新的能力与模块支持。
Commit提交信息原文
feat: 1.9.1 - benchmark harness (canary APKs + scorecard) + fix 5 latent pipeline bugs Benchmark infrastructure (gap #1 from 'what makes best in class'): - benchmarks/targets.json: catalog of canary APKs (InsecureBankv2, OWASP MASTG Java v1.1 + Kotlin v1.0), URLs verified live. - benchmarks/ground-truth/*.json: declarative CWE manifests per canary, marked approximate; DIVA included as opt-in (build from source). - benchmarks/scoreboard.py: unions semgrep JSON + grep category blocks (CATEGORY_CWE_MAP), scores matched/missed/extra + coverage pct. CLI: --json / --markdown / default human output. - benchmarks/run-benchmark.sh: orchestrator (download with cache, fresh audit dir, bash-4 autodetect, per-target scorecards, aggregate table). - benchmarks/README.md: usage, scoring semantics, honest limitations. - SKILL.md: Self-verification pointer to benchmarks/. Latent bugs in auto-audit-static.sh caught BY the benchmark (all fatal under set -euo pipefail on valid inputs): 1. apktool d without -f dies when output dir exists (pre-created at L302). Fixed: -f added (apktool 3.x requires it; verified in apktool --help: '-f,--force Force delete destination directory'). 2. Deep-link grep pipeline (L533) aborts on apps with zero android:scheme entries (grep exit 1 + pipefail). Fixed: guarded. 3. Permissions grep pipeline (L541) same pattern. Fixed: guarded. 4. networkSecurityConfig assignment (L567) same pattern. Fixed. 5. Frameworks extraction in Phase 3 (L702) dies on framework-less (native/Java) apps. Fixed: guarded. 6. Missing bash-4 guard: MODE case-modifier at L749 silently crashes on macOS default bash 3.2 ('bad substitution'). Added explicit guard with brew install hint (mirrors preflight-check.sh pattern). 7. preflight-check.sh apktool>=3.0 warning was backwards ('-f is deprecated, remove it'). Corrected: -f is required to overwrite. Verified end-to-end: downloaded MSTG-Android-Java.apk (11 MB), full audit pipeline (Phases 0-3 + semgrep + AUDIT-SUMMARY.md) completes, scorecard computes real coverage: 50 findings parsed, 1/6 expected CWEs matched (16.7 pct) - honest baseline exposing missing detectors (hardcoded-secrets grep fires; crypto/storage/TLS do not). 23/23 shell validators pass. No CI/workflows added (per maintainer).