Files
pruefwerk/fixtures/nightly/targets.json
T
Sharang ParnerkarandClaude Opus 5.5 05fa4975d8
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 8m32s
feat(sast): DevSkim for .NET without a build (#494)
Legacy .NET Framework code often cannot be built outside the customer's
Windows toolchain, so no Roslyn analyser applies. DevSkim (MIT, Microsoft)
matches its rules on the source text and now runs as the sast_dotnet stage
on every tree with C# or VB.NET code: .cs, .vb, Razor/ASP.NET pages and
.config files, skipping bin/, obj/, packages/ and vendor directories
(anchored at the tree root).

- Only DevSkim's own rules at Critical/Important/Moderate (its ManualReview
  and BestPractice hints are not findings); DS205000 (NuGet feed mapping),
  DS184626 (controller base class) and DS440000 (generic twin of DS440020)
  are left out, and two that flood real C# (OpenRA, eShopOnWeb): DS148264
  matches any method named Random (71 hits in OpenRA), DS126858 the bare
  words md5/sha1, identifiers included (35). DS168931 and our own semgrep
  rules still cover broken hashes and System.Random. What remains: 3 hits
  in OpenRA (test vectors), 14 Low http:// hits in eShopOnWeb seed data;
  each run took about 2 s.
- SARIF is read with import::sarif::parse; findings are normalised like the
  other scanners (relative path, whole source line as snippet, one finding
  per rule/file/line), severity from DevSkim's own Critical/Important/
  Moderate (its SARIF level says "error" for both of the first two).
- DevSkim's SARIF names no CWE, so pipeline/devskim.rs gives each rule one;
  the control map binds the devskim tool by CWE to cra-ai-1, 8, 10, 13, 14,
  15, 16 and 20 for csharp and vb. A test checks every mapped rule reaches a
  control. A failed run is a sast_dotnet skip, so those controls read "not
  assessed" instead of clean.
- languages.rs now records VB.NET (vb).

Image: the CLI is published as a .NET tool on nuget.org only (no release
binaries). Dockerfile.agent pins the 1.0.100 nupkg by sha256 and the .NET
10.0.12 runtime (no SDK) by sha512, keeps only the linux-x64 natives, and
runs it through docker/devskim.sh with invariant globalisation (no ICU).
The tools stage grows from 1.525 GB to 1.623 GB (+98.5 MB: runtime 80 MB,
DevSkim 16 MB). Checked in that image as the unprivileged user with an empty
environment and --network none: it runs offline. tool-versions.json lists
devskim and dotnet-runtime.

Fixtures: fixtures/dotnet/legacy-sample, a small vulnerable C#/VB.NET
library with a Web.config (SSL 3, certificate validation off, DES, XXE,
BinaryFormatter in VB.NET, tracing, cookies without Secure), and nightly
targets for it and for framework48; their baselines need a bless run after
deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 14:37:31 +02:00

893 lines
33 KiB
JSON

{
"schema_version": 1,
"name_prefix": "Nightly · ",
"targets": [
{
"key": "plc-codesys-synthetic",
"name": "CODESYS archive (synthetic, old runtime)",
"target_type": "plc_sps",
"description": "Small synthetic .projectarchive with the real CODESYS entry naming and an old runtime (3.5.16.0), so the library SBOM is exact and the NVD CPE match has known CVEs.",
"artifacts": [
{
"kind": "plc_project",
"upload": "fixtures/nightly/plc/line_control.projectarchive",
"plc_format": "project_archive"
}
],
"expect": {
"min_sbom_components": 6
}
},
{
"key": "plc-codesys-proemion",
"name": "CODESYS archive (Proemion CSV-BlackBox sample)",
"target_type": "plc_sps",
"description": "Real CODESYS project archive from Proemion/codesys-examples (Apache-2.0). Not committed (~10 MB): the nightly job downloads it at a pinned commit and sha256 into NIGHTLY_CODESYS_SAMPLE; skipped where that is unset.",
"artifacts": [
{
"kind": "plc_project",
"upload_env": "NIGHTLY_CODESYS_SAMPLE",
"plc_format": "project_archive",
"optional": true,
"pin": "164d8eea7b7483f764b4959788fd2a733624e576"
}
],
"expect": {
"min_sbom_components": 30
}
},
{
"key": "plc-ladder",
"name": "PLCopen ladder diagram",
"target_type": "plc_sps",
"description": "A PLCopen program whose body is a Ladder Diagram, translated to ST before analysis. Planted: unauthenticated Modbus server on 502, FTP on 21, a login block with a default password.",
"artifacts": [
{
"kind": "plc_project",
"upload": "fixtures/nightly/plc/mixer_ld.xml",
"plc_format": "plcopen_xml"
}
],
"expect": {
"sast_rule_ids": [
"plc-insecure-protocol-port",
"plc-insecure-comm"
]
}
},
{
"key": "plc-live-endpoint",
"name": "PLC with a live endpoint (source_only)",
"target_type": "plc_sps",
"description": "Structured Text plus a public-looking Modbus endpoint, with the (opt-in) ICS probe switched on. Under PW_FEATURES=source_only the probe must be recorded as a skipped stage, and the endpoint is never contacted.",
"artifacts": [
{
"kind": "plc_project",
"upload": "examples/plc-demo/traffic_light.st",
"plc_format": "structured_text"
},
{
"kind": "live_url",
"source_ref": "modbus://plc.example.com:502"
}
],
"expect": {
"sast_rule_ids": [
"plc-hardcoded-credential",
"plc-safety-bypass"
]
},
"enabled_scans": [
"icsprobe"
]
},
{
"key": "plc-corrupt-archive",
"name": "Corrupt CODESYS archive",
"target_type": "plc_sps",
"description": "A .projectarchive that is not a valid zip. The scan must fail cleanly with a clear error, never hang or crash the agent.",
"artifacts": [
{
"kind": "plc_project",
"upload": "fixtures/nightly/plc/corrupt.projectarchive",
"plc_format": "project_archive"
}
]
},
{
"key": "fw-make",
"name": "Firmware · Make",
"target_type": "firmware_bare_metal",
"description": "Bare-metal Make project (Firmwerk make provider): cross toolchain from the Makefile.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/make"
}
]
},
{
"key": "fw-make-onboarded-as-service",
"name": "Firmware · Make, onboarded as a backend service",
"target_type": "backend_service",
"description": "The Make firmware project with the wrong type picked at onboarding: detection must still produce the firmware SBOM.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/make"
}
],
"expect": {
"min_sbom_components": 1
}
},
{
"key": "fw-cmake",
"name": "Firmware · CMake",
"target_type": "firmware_bare_metal",
"description": "Bare-metal CMake project with a toolchain file (Firmwerk cmake provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/cmake"
}
]
},
{
"key": "fw-arduino",
"name": "Firmware · Arduino",
"target_type": "firmware_bare_metal",
"description": "Arduino sketch with sketch.yaml (Firmwerk arduino provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/arduino"
}
]
},
{
"key": "fw-platformio",
"name": "Firmware · PlatformIO",
"target_type": "firmware_bare_metal",
"description": "PlatformIO project with extra_configs, a pinned platform and lib_deps (Firmwerk platformio provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/platformio"
}
]
},
{
"key": "fw-cargo-embedded",
"name": "Firmware · embedded Rust",
"target_type": "firmware_bare_metal",
"description": "Embedded Rust crate with a cross target in .cargo/config.toml and a pinned rust-toolchain.toml (Firmwerk cargo_embedded provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/cargo-embedded"
}
]
},
{
"key": "fw-espidf",
"name": "Firmware · ESP-IDF",
"target_type": "firmware_rtos",
"description": "ESP-IDF project with component-manager dependencies in main/idf_component.yml (Firmwerk espidf provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/espidf"
}
]
},
{
"key": "fw-zephyr-pinned",
"name": "Firmware · Zephyr (pinned west.yml)",
"target_type": "firmware_rtos",
"description": "Zephyr application whose west.yml pins zephyr at v3.6.0 and imports three modules (Firmwerk zephyr provider).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/zephyr-pinned"
}
]
},
{
"key": "fw-freertos-cmake",
"name": "Firmware · FreeRTOS via CMake FetchContent",
"target_type": "firmware_rtos",
"description": "CMake project that pulls the FreeRTOS kernel with FetchContent at a pinned tag (V11.1.0), the common FreeRTOS integration.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/freertos-cmake"
}
]
},
{
"key": "fw-freertos-lostbuild",
"name": "Firmware · FreeRTOS, build system lost",
"target_type": "firmware_rtos",
"description": "No build system at all: Firmwerk's source archaeology must still recognise FreeRTOS and the STM32 SDK from the headers.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/freertos-lostbuild"
}
]
},
{
"key": "fw-c-sensor-node",
"name": "Firmware · C sensor node (SAST)",
"target_type": "firmware_bare_metal",
"description": "STM32Cube-style C project with a C++ module and planted flaws: CRA C rules (on C and C++) and cppcheck must fire in Core/, and the vendored HAL under Drivers/ must stay out of SAST, and the prebuilt bootloader image (Prebuilt/bootloader.hex) must be listed as a committed binary.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/c-sensor-node"
}
],
"expect": {
"sast_rule_ids": [
"cra-ai-20-c-unbounded-string-function",
"cra-ai-20-c-non-literal-format-string",
"cra-ai-8-c-hardcoded-credential",
"cra-ai-13-c-broken-hash-or-cipher",
"cra-ai-16-c-predictable-random",
"arrayIndexOutOfBounds",
"uninitvar",
"committed-binary"
],
"cwes": [
"CWE-120",
"CWE-134",
"CWE-798",
"CWE-788"
]
}
},
{
"key": "fw-embedded-libs",
"name": "Firmware · vendored FreeRTOS, lwIP, Mbed TLS",
"target_type": "firmware_rtos",
"description": "STM32Cube-style tree whose RTOS, TCP/IP stack and TLS library are copied in as source: their versions come from their headers, and their CVEs from NVD by CPE.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/embedded-libs"
}
],
"expect": {
"min_sbom_components": 3
}
},
{
"key": "fw-yocto-layer",
"name": "Firmware · Yocto layer (unsupported)",
"target_type": "embedded_linux_yocto",
"description": "A Yocto layer. Not analysed yet, so the run must record a skipped firmware_sbom stage with the reason instead of completing as if there were no components.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/firmware/yocto-layer"
}
]
},
{
"key": "fw-zephyr-example-pinned",
"name": "Firmware · Zephyr example-application (pinned source)",
"target_type": "firmware_rtos",
"description": "The upstream Zephyr example application as a source archive at a pinned commit, so the result does not drift with upstream main. Not committed: the nightly job downloads it into NIGHTLY_ZEPHYR_EXAMPLE; skipped where that is unset.",
"artifacts": [
{
"kind": "source_archive",
"upload_env": "NIGHTLY_ZEPHYR_EXAMPLE",
"optional": true,
"pin": "38a6d9b276ed434454900130cacc87d058d3ac62"
}
]
},
{
"key": "unscanned-firmware-image",
"name": "Firmware image (nothing unpacks it yet)",
"target_type": "firmware_bare_metal",
"description": "A firmware image on its own. No stage unpacks an image today, so the run must record firmware_static, sbom and cve as skipped with the reason, never complete as if the image had been analysed (#319).",
"artifacts": [
{
"kind": "firmware_image",
"upload": "fixtures/nightly/unscanned/pump-ctl.bin"
}
]
},
{
"key": "unscanned-mobile-package",
"name": "Android package (not analysed yet)",
"target_type": "android_app",
"description": "An APK on its own. Mobile packages are not analysed, so the run must record mobile_static as skipped (#319).",
"artifacts": [
{
"kind": "mobile_package",
"upload": "fixtures/nightly/unscanned/pump-ctl.apk"
}
]
},
{
"key": "unscanned-container-image",
"name": "Container image (not scanned yet)",
"target_type": "backend_service",
"description": "A container image reference on its own. Nothing scans container images, so the run must record container_scan as skipped (#319).",
"artifacts": [
{
"kind": "container_image",
"source_ref": "registry.example.com/pump-ctl:1.4.2"
}
]
},
{
"key": "archive-order-intake",
"name": "Source archive (no git remote)",
"target_type": "backend_service",
"description": "A service delivered as a zip of its sources, the way a customer without a git remote delivers one. It must get the same treatment as a repository: SAST, secret detection, a package SBOM from the lockfile and CVE matching (#325).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/archive"
}
],
"expect": {
"min_sbom_components": 3,
"sast_rule_ids": [
"github-pat",
"slack-bot-token",
"cra-ai-20-python-shell-command",
"cra-ai-20-node-shell-command"
]
}
},
{
"key": "archive-order-intake-tgz",
"name": "Source archive as tar.gz (no git remote)",
"target_type": "backend_service",
"description": "The same source tree uploaded as a .tar.gz (#335): it must unpack and scan exactly like the zip.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/archive",
"pack": "tar_gz"
}
],
"expect": {
"min_sbom_components": 3,
"sast_rule_ids": [
"github-pat",
"slack-bot-token",
"cra-ai-20-python-shell-command",
"cra-ai-20-node-shell-command"
]
}
},
{
"key": "js-npm-lock-v3",
"name": "JavaScript/TypeScript · npm lockfile v3",
"target_type": "web_app",
"description": "Uploaded as a source archive. package-lock.json v3 (v2 is covered by the order-intake archive). Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-npm-lock-v3"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "js-yarn-classic",
"name": "JavaScript/TypeScript · yarn classic",
"target_type": "web_app",
"description": "Uploaded as a source archive. yarn.lock v1. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-yarn-classic"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "js-yarn-berry",
"name": "JavaScript/TypeScript · yarn berry",
"target_type": "web_app",
"description": "Uploaded as a source archive. yarn.lock with the berry __metadata header and npm: resolutions. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-yarn-berry"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "js-pnpm",
"name": "JavaScript/TypeScript · pnpm",
"target_type": "web_app",
"description": "Uploaded as a source archive. pnpm-lock.yaml v9. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-pnpm"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "js-no-lockfile",
"name": "JavaScript/TypeScript · no lockfile",
"target_type": "web_app",
"description": "Uploaded as a source archive. package.json alone: nothing pins the versions, and resolving the manifest would fetch from hosts it names, which a shared deployment does not do (#330), so the run records a skipped sbom_dependencies stage. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-no-lockfile"
}
],
"expect": {
"min_graph_nodes": 1
}
},
{
"key": "js-bun",
"name": "JavaScript/TypeScript · Bun (text bun.lock)",
"target_type": "web_app",
"description": "Uploaded as a source archive. bun.lock, Bun's text lockfile and its default since 1.2. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-bun"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "js-bun-binary",
"name": "JavaScript/TypeScript · Bun (binary bun.lockb only)",
"target_type": "web_app",
"description": "Uploaded as a source archive. bun.lockb alone, Bun's older binary lockfile, which the SBOM tooling cannot read. The run must say so, and npm must not re-resolve the project, which would report versions it does not ship. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/js-bun-binary"
}
],
"expect": {
"min_graph_nodes": 1
}
},
{
"key": "py-requirements",
"name": "Python · pinned requirements.txt",
"target_type": "backend_service",
"description": "Uploaded as a source archive. requirements.txt with exact pins. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/py-requirements"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "py-poetry",
"name": "Python · poetry",
"target_type": "backend_service",
"description": "Uploaded as a source archive. pyproject.toml + poetry.lock. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/py-poetry"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "py-pipenv",
"name": "Python · pipenv",
"target_type": "backend_service",
"description": "Uploaded as a source archive. Pipfile + Pipfile.lock. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/py-pipenv"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "py-uv",
"name": "Python · uv",
"target_type": "backend_service",
"description": "Uploaded as a source archive. pyproject.toml + uv.lock. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/py-uv"
}
],
"expect": {
"min_graph_nodes": 1,
"min_sbom_components": 3
}
},
{
"key": "py-bare-pyproject",
"name": "Python · bare pyproject.toml",
"target_type": "backend_service",
"description": "Uploaded as a source archive. pyproject.toml alone: PEP 621 dependencies with nothing pinning them. Plants a vulnerable pinned dependency, a SAST sink, a committed secret and OAuth/PII patterns.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/eco/py-bare-pyproject"
}
],
"expect": {
"min_graph_nodes": 1
}
},
{
"key": "mobile-android-gradle-lock",
"name": "Android · Gradle with gradle.lockfile",
"target_type": "android_app",
"description": "Uploaded as a source archive. A Kotlin app whose app/gradle.lockfile pins okhttp 3.12.0 and gson 2.8.8, both with advisories: the SBOM lists the Maven packages and the CVE lookup finds them (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/android-gradle-lock"
}
],
"expect": {
"min_sbom_components": 3
}
},
{
"key": "mobile-android-gradle-catalog",
"name": "Android · Gradle without a lockfile",
"target_type": "android_app",
"description": "Uploaded as a source archive. Dependencies declared through gradle/libs.versions.toml and a literal coordinate, nothing locked: the run must record a skipped sbom_dependencies stage instead of an empty SBOM that reads as clean (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/android-gradle-catalog"
}
]
},
{
"key": "mobile-ios-cocoapods",
"name": "iOS · CocoaPods",
"target_type": "ios_app",
"description": "Uploaded as a source archive. Podfile.lock pins AFNetworking 2.5.1. OSV publishes no CocoaPods advisories, so the run must record an incomplete cve_lookup rather than claim the pods have no CVEs (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-cocoapods"
}
],
"expect": {
"min_sbom_components": 1
}
},
{
"key": "mobile-ios-spm-xcode",
"name": "iOS · Swift packages in an Xcode project",
"target_type": "ios_app",
"description": "Uploaded as a source archive. An Xcode project pinning swift-nio-http2 1.19.0 in its embedded Package.resolved. Syft's Swift purl must be rewritten to the repository form, or OSV matches none of its advisories (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-spm-xcode"
}
],
"expect": {
"min_sbom_components": 1
}
},
{
"key": "mobile-ios-spm-unlocked",
"name": "iOS · Swift packages without Package.resolved",
"target_type": "ios_app",
"description": "Uploaded as a source archive. The Xcode project references a Swift package but no Package.resolved pins it: the run must record a skipped sbom_dependencies stage naming project.pbxproj (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-spm-unlocked"
}
]
},
{
"key": "mobile-ios-carthage-legacy",
"name": "iOS · Carthage and an old Xcode project",
"target_type": "ios_app",
"description": "Uploaded as a source archive. A Swift 3 app with an iOS 10 deployment target that pins Alamofire 4.8.2, grpc-swift 1.0.0 and a prebuilt vendor framework in Cartfile.resolved. The repositories must appear as Swift purls (pkg:swift/github.com/grpc/grpc-swift@1.0.0) so OSV matches grpc-swift's advisories, the binary framework must be listed and named as not matched under cve_lookup, and both iOS lifecycle findings must be raised.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-carthage-legacy"
}
],
"expect": {
"sast_rule_ids": [
"ios-deployment-target-end-of-support",
"swift-version-end-of-support"
],
"min_sbom_components": 3
}
},
{
"key": "mobile-flutter",
"name": "Flutter app",
"target_type": "android_app",
"description": "Uploaded as a source archive. pubspec.lock pins dio 3.0.10 (one advisory); the Android host app's Gradle dependencies are not locked, which the run records as a skipped sbom_dependencies stage (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/flutter"
}
],
"expect": {
"min_sbom_components": 1
}
},
{
"key": "mobile-react-native",
"name": "React Native app",
"target_type": "android_app",
"description": "Uploaded as a source archive. The JavaScript side is locked (package-lock.json), but neither ios/Podfile nor android/app/build.gradle is: the run lists the npm packages and records both gaps (#434). Its Java and Swift sources each plant one flaw, so mobsfscan must run with the Android and the iOS rules (its auto mode picks Android only).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/react-native"
}
],
"expect": {
"min_sbom_components": 3,
"sast_rule_ids": [
"java_insecure_random",
"ios_sha1_collision"
]
}
},
{
"key": "mobile-android-insecure",
"name": "Android · planted flaws",
"target_type": "android_app",
"description": "Uploaded as a source archive. A debuggable manifest with backups, cleartext traffic and an old minSdk; Kotlin with a JavaScript bridge and MD5; Java with a world-readable store and java.util.Random, placed under inspection/ so a path containing 'spec' is still scanned. mobsfscan must report each.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/android-insecure"
}
],
"expect": {
"sast_rule_ids": [
"android_manifest_debugging_enabled",
"android_manifest_allow_backup",
"android_manifest_usescleartext",
"android_kotlin_webview",
"android_kotlin_md5",
"world_readable",
"java_insecure_random"
],
"cwes": [
"CWE-489",
"CWE-319",
"CWE-749",
"CWE-327"
]
}
},
{
"key": "mobile-ios-insecure",
"name": "iOS · planted flaws",
"target_type": "ios_app",
"description": "Uploaded as a source archive. Info.plist switches App Transport Security off (NSAllowsArbitraryLoads), Swift hashes with CC_MD5, Objective-C logs with NSLog. mobsfscan must report each.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-insecure"
}
],
"expect": {
"sast_rule_ids": [
"ios_ats_arbitrary_loads",
"ios_weak_hash",
"ios_app_logging"
],
"cwes": [
"CWE-319",
"CWE-327"
]
}
},
{
"key": "mobile-ios-app-settings",
"name": "iOS · URL scheme, permissions and secrets in UserDefaults",
"target_type": "ios_app",
"description": "Uploaded as a source archive. A Swift and Objective-C app whose Info.plist registers a custom URL scheme and asks for Bluetooth and the local network, which requests the contacts without a usage string, and which keeps an access token and a password in UserDefaults. Prüfwerk's own Swift and Objective-C semgrep rules and the ios-config checks must find each one.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/ios-app-settings"
}
],
"expect": {
"sast_rule_ids": [
"ios-custom-url-scheme",
"ios-sensitive-permission",
"ios-permission-without-usage-string",
"cra-ai-14-swift-secret-in-userdefaults",
"cra-ai-14-objc-secret-in-userdefaults"
]
}
},
{
"key": "mobile-android-legacy-groovy",
"name": "Android · Groovy build without a lockfile",
"target_type": "android_app",
"description": "Uploaded as a source archive. An older Java app with phone and tablet flavors and no gradle.lockfile: versions live in ext variables and gradle.properties, one dependency in map notation, one dynamic (1.+). The SBOM must list the shipped direct dependencies with exact versions (not test, annotation processor or the dynamic one), match their CVEs, and still record the build as unlocked (#434).",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/android-legacy-groovy"
}
],
"expect": {
"min_sbom_components": 4
}
},
{
"key": "mobile-legacy-adt-unity",
"name": "Legacy Android (Eclipse/ADT) and Unity 2019",
"target_type": "android_app",
"description": "Uploaded as a source archive. The shape of a real pilot repository: two Eclipse/ADT Android apps (manifest at the project root, default.properties / project.properties with target=android-8 and android-11, no Gradle) beside a Unity 2019.2 project without Packages/. Prüfwerk does not resolve such builds: each must give a legacy-build-system finding, the old API levels and the Unity editor end-of-support findings, the Unity editor as an SBOM component, and a recorded sbom_dependencies skip so the SBOM does not read as complete.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/legacy-adt-unity"
}
],
"expect": {
"sast_rule_ids": [
"legacy-build-system-no-sbom",
"android-sdk-end-of-support",
"unity-editor-end-of-support"
],
"min_sbom_components": 1
}
},
{
"key": "mobile-unity-mobile",
"name": "Unity 2022.3 app for iOS and Android",
"target_type": "ios_app",
"description": "Uploaded as a source archive. A supported Unity 2022.3 project whose Player Settings set iOS and Android bundle identifiers, with an iOS native plug-in, minimum iOS 12.0 and Android API 22. Both minimums must give lifecycle findings, the Xcode and Gradle projects Unity generates must be recorded under platform_project, and no legacy-build or editor end-of-support finding may appear.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/nightly/mobile/unity-mobile"
}
],
"expect": {
"sast_rule_ids": [
"ios-deployment-target-end-of-support",
"android-min-sdk-end-of-support"
],
"min_sbom_components": 1
}
},
{
"key": "mobile-public-ios-swiftui",
"name": "iOS · public SwiftUI app (pinned source)",
"target_type": "ios_app",
"description": "nalexn/clean-architecture-swiftui (MIT) as a source archive at a pinned commit: a current SwiftUI app (iOS 18, Swift 5) whose Xcode project uses Swift packages without a committed Package.resolved. Must be classified as an iOS app, raise no lifecycle or iOS settings findings, and record the unpinned Swift packages under sbom_dependencies. Not committed: the nightly job downloads it into NIGHTLY_IOS_SAMPLE; skipped where that is unset.",
"artifacts": [
{
"kind": "source_archive",
"upload_env": "NIGHTLY_IOS_SAMPLE",
"optional": true,
"pin": "9eca97b8cfff96a14084b564b1fefd949c93d232"
}
]
},
{
"key": "mobile-public-android-nowinandroid",
"name": "Android · Now in Android (pinned source)",
"target_type": "android_app",
"description": "android/nowinandroid (Apache-2.0) as a source archive at a pinned commit: a large current Android app with Gradle version catalogs, Compose and many modules. Its direct dependencies must be read from the catalog and build files (no gradle.lockfile, so a recorded sbom_dependencies skip), mobsfscan must run with the Android rules, and its flavors, declared in a convention plugin rather than the app's build file, give no app variants. Not committed: the nightly job downloads it into NIGHTLY_ANDROID_SAMPLE; skipped where that is unset.",
"artifacts": [
{
"kind": "source_archive",
"upload_env": "NIGHTLY_ANDROID_SAMPLE",
"optional": true,
"pin": "a49ed253d75e61a2b6ab80a8da677b57437b08eb"
}
],
"expect": {
"min_sbom_components": 20
}
},
{
"key": "dotnet-framework48",
"name": ".NET Framework 4.8 solution (no build)",
"target_type": "backend_service",
"description": "fixtures/dotnet/framework48: legacy WPF/WCF solution with packages.config, a committed signing key and an insecure Web.config. DevSkim (#494) must find the BinaryFormatter in OrderService.svc.cs; packages/ and bin/ stay out of it.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/dotnet/framework48"
}
],
"expect": {
"sast_rule_ids": [
"DS425070"
],
"cwes": [
"CWE-502"
]
}
},
{
"key": "dotnet-legacy-sample",
"name": ".NET legacy gateway, C# and VB.NET (DevSkim)",
"target_type": "backend_service",
"description": "fixtures/dotnet/legacy-sample: a small vulnerable C#/VB.NET library and Web.config for DevSkim (#494): SSL 3 pinned, certificate validation off, DES, XXE-prone XmlResolver, BinaryFormatter (VB.NET), tracing on and cookies without Secure.",
"artifacts": [
{
"kind": "source_archive",
"upload": "fixtures/dotnet/legacy-sample"
}
],
"expect": {
"sast_rule_ids": [
"DS126187",
"DS106864",
"DS132783",
"DS440020",
"DS425070",
"DS450001",
"DS450002"
],
"cwes": [
"CWE-295",
"CWE-327",
"CWE-611",
"CWE-757",
"CWE-502",
"CWE-614",
"CWE-489"
]
}
}
]
}