Nightly fixtures · PHP, Ruby, Swift, CocoaPods, Dart, Elixir, C/C++ and mobile targets #312

Open
opened 2026-09-21 17:08:43 +00:00 by sharang · 0 comments
Owner

Part of #309.

Variants

  • Package managers: Composer (composer.lock), Bundler (Gemfile.lock), Swift PM (Package.resolved), CocoaPods (Podfile.lock), pub (pubspec.lock), Hex (mix.lock).
  • C/C++: Conan, vcpkg, CMake FetchContent.
  • Mobile: android_app (Gradle) and ios_app (Swift PM / CocoaPods), as git repos. APK/IPA uploads wait for MobileStatic (see the advertised-scan issue in this epic).

Every fixture plants what it should find:

  • a dependency pinned to a version with a published advisory, so a CVE must appear;
  • a flaw semgrep reports, a committed secret, and, where the language has them, GDPR and OAuth pattern hits.

Its golden baseline records the SBOM components (name, version, package manager) and the expected rule ids exactly, and the CVEs as at least these, because advisory data changes daily.

Acceptance: each variant has a fixture and a baseline, and the nightly asserts both. Where Syft or OSV has no coverage, the baseline records that honestly rather than hiding it.

Part of #309. **Variants** - **Package managers:** Composer (`composer.lock`), Bundler (`Gemfile.lock`), Swift PM (`Package.resolved`), CocoaPods (`Podfile.lock`), pub (`pubspec.lock`), Hex (`mix.lock`). - **C/C++:** Conan, vcpkg, CMake FetchContent. - **Mobile:** `android_app` (Gradle) and `ios_app` (Swift PM / CocoaPods), as git repos. APK/IPA uploads wait for MobileStatic (see the advertised-scan issue in this epic). Every fixture plants what it should find: - a dependency pinned to a version with a published advisory, so a CVE must appear; - a flaw semgrep reports, a committed secret, and, where the language has them, GDPR and OAuth pattern hits. Its golden baseline records the SBOM components (name, version, package manager) and the expected rule ids **exactly**, and the CVEs as **at least these**, because advisory data changes daily. **Acceptance:** each variant has a fixture and a baseline, and the nightly asserts both. Where Syft or OSV has no coverage, the baseline records that honestly rather than hiding it.
sharang added this to the Production MVP milestone 2026-09-21 17:08:43 +00:00
sharang added the enhancement label 2026-09-21 17:08:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#312