Files
pruefwerk/fixtures/nightly/mobile
Sharang ParnerkarandClaude Opus 5.5 5a71bc2ea2
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m43s
feat(mobile): legacy Android and Unity builds flagged, not resolved; Android found everywhere
The first pilot scan of an Android + Unity repository on prod showed:
the two Android apps were not recognised, Unity was typed as a desktop
app, and the SBOM was empty without saying why.

- Classification: every AndroidManifest.xml outside test folders is an
  Android module: Gradle's src/main, an Eclipse/ADT project's root, a
  Unity project's Assets/Plugins/Android. #449 counted only src/main and
  the repository root, so the ADT apps (and with #458 the target type)
  were missed.
- build-lifecycle (new, like dotnet-lifecycle; CWE-1104, medium):
  - legacy-build-system-no-sbom for an ADT project (properties file, no
    Gradle) and a Unity project without Packages/manifest.json; the
    remedy is migrating the build. Bound to cra-ai-23.
  - android-sdk-end-of-support for target=android-N below 29.
  - unity-editor-end-of-support, judged conservatively (before 2021, and
    the 2021-2023 tech streams). Both bound to cra-ai-22.
  Such builds are not resolved (decided: flag, do not support); they also
  record a skipped sbom_dependencies stage, so the SBOM requirements read
  "Nicht bewertet" instead of clean.
- Unity SBOM: the editor version, and for modern projects the packages
  in Packages/packages-lock.json (else manifest.json); listed as not
  matched for CVEs (no advisory database covers Unity).
- A syft failure is no longer silent: a skipped `sbom` stage (tool syft),
  so the SBOM requirements are not assessed; syft gets 10 minutes.

Nightly fixture mobile-legacy-adt-unity in the pilot's shape.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-05 23:09:48 +02:00
..

Mobile app fixtures (#434)

One directory per way an app pins (or fails to pin) its dependencies, uploaded as a source archive. They prove that no mobile app ends with "0 packages, 0 CVEs" unless the scan also says why.

Directory What it pins Expected
android-gradle-lock app/gradle.lockfile (okhttp 3.12.0, gson 2.8.8) 3 Maven components with their advisories
android-gradle-catalog nothing: libs.versions.toml plus a literal coordinate the 3 direct dependencies read from the catalog and the build file, with their advisories; a recorded sbom_dependencies skip (what they pull in is unknown)
android-legacy-groovy nothing: ext and gradle.properties versions, phone/tablet flavors, map notation, one 1.+ the 4 shipped direct dependencies with exact versions (no test, annotation processor or dynamic one); a recorded sbom_dependencies skip
ios-cocoapods Podfile.lock (AFNetworking 2.5.1) 2 pods; a recorded cve_lookup skip, as OSV has no CocoaPods advisories
ios-spm-xcode Package.resolved inside the Xcode project (swift-nio-http2 1.19.0) 1 Swift component with its advisories (needs the purl in repository form)
ios-spm-unlocked nothing: the Xcode project names a Swift package none; a recorded sbom_dependencies skip naming project.pbxproj
flutter pubspec.lock (dio 3.0.10); the Android host app is unlocked the Dart packages and the host app's direct Gradle dependency; a recorded sbom_dependencies skip
react-native package-lock.json; neither ios/Podfile nor the Gradle app is locked the npm packages; a recorded sbom_dependencies skip

| android-insecure | nothing (no Gradle lock) | mobsfscan: manifest (debuggable, backups, cleartext, minSdk), Kotlin (JavaScript bridge, MD5), Java under inspection/ (world-readable, Random) | | ios-insecure | nothing | mobsfscan: ATS off in Info.plist, CC_MD5 in Swift, NSLog in Objective-C |

The other fixtures' code only makes each tree look like the app it stands for and must stay free of findings, except React Native, whose Java and Swift files each plant one flaw: both must be found, which proves mobsfscan runs with the Android and the iOS rules on a repository holding both apps.

The Java file under inspection/ guards a mobsfscan default: libsast skips any path that merely contains spec, which Prüfwerk switches off.