feat(ios): Carthage pins in the SBOM, iOS and Swift lifecycle findings (#478)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m8s

This commit was merged in pull request #478.
This commit is contained in:
sharang committed 2026-10-05 23:14:04 +00:00
1 parent fc099d07c1
commit 2941d89fc5
14 files changed
+547 -19

No files matched your search

+12 -4
View File
@@ -19,15 +19,19 @@ Prüfwerk builds the SBOM during each scan:
- **Mobile apps** -- the lockfiles of Android, iOS and Flutter apps, wherever
they sit in the tree (`android/`, `ios/`, an Xcode project): `gradle.lockfile`,
`Podfile.lock`, `Package.resolved` (also the one inside
`*.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/`) and `pubspec.lock`.
`*.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/`), `Cartfile.resolved`
and `pubspec.lock`. A Carthage pin of a repository is matched like the Swift
package of the same repository; a prebuilt `binary` framework is listed with
its version, but no advisory database covers it, which the scan says under
**Nicht ausgeführt**.
Gradle writes `gradle.lockfile` only with dependency locking switched on
(`dependencyLocking { lockAllConfigurations() }`, then
`./gradlew dependencies --write-locks`). Without it, Prüfwerk reads the
direct dependencies from the build files (`build.gradle(.kts)`, versions in
`ext` variables, `gradle.properties` and `gradle/libs.versions.toml`), but
only those that ship with the app and have an exact version; what they pull
in stays unknown. In that case, and for Carthage, whose
`Cartfile.resolved` no tool reads, the scan reports the manifest under
in stays unknown. In that case, and for a `Cartfile` without its
`Cartfile.resolved`, the scan reports the manifest under
**Nicht ausgeführt** and the SBOM requirements of the CRA view are
**Nicht bewertet**: an app whose dependencies are unknown is not shown as
clean.
@@ -58,7 +62,11 @@ nowhere readable. Prüfwerk reports it as a finding (**Legacy build system: the
SBOM cannot be determined**, with the migration as the remedy) and lists it
under **Nicht ausgeführt**, so the SBOM requirements are **Nicht bewertet**
rather than clean. An Android API level below 29 or a Unity release out of
support is a finding of its own.
support is a finding of its own, and so is, in an Xcode project, an iOS
deployment target below 15 (the app then installs on iOS releases that receive
no security updates) or a `SWIFT_VERSION` below 4, which no supported Xcode
builds. Which Xcode builds an app is not recorded in the repository and is not
judged.
Firmware images, container images and app packages are not unpacked yet; their
components come from the source code.