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
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
750 lines
27 KiB
JSON
750 lines
27 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.",
|
|
"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"
|
|
],
|
|
"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-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-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
|
|
}
|
|
}
|
|
]
|
|
}
|