The first CI run of the nightly passed its scan regression, but the report
upload failed: actions/upload-artifact is a Node action and the rust:1.94
job container has no node.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
Adds fixtures/nightly/targets.json, a nightly-only manifest in the demo
schema. The demo manifest is compiled into the agent and offered as "Add demo
targets", so a corrupt archive does not belong there. The harness onboards
these fixtures itself through the public API (create, upload, detect, optional
`enabled_scans`, scan).
- plc-codesys-synthetic: a 2 KB .projectarchive with real CODESYS entry naming
and an old runtime (3.5.16.0). The 6-component SBOM is exact, and the NVD CPE
match yields 70 CVEs (at least).
- plc-codesys-proemion: the real Proemion CSV-BlackBox archive (Apache-2.0,
37 components). Not committed (~10 MB): the workflow fetches it at a pinned
commit and sha256 into NIGHTLY_CODESYS_SAMPLE.
- plc-ladder: a PLCopen Ladder Diagram (LD → ST translation) with planted
Modbus-without-auth, FTP on 21 and a credential literal.
- plc-live-endpoint: ST plus a modbus:// endpoint with the opt-in ICS probe
on. Under source_only the probe is recorded as skipped and nothing is
contacted.
- plc-corrupt-archive: must fail cleanly.
Fixed on the way: a declared CODESYS archive that is not a readable zip used
to complete with an empty SBOM, as if nothing were wrong. The run now records a
`plc_archive_sbom` skipped stage with the reason (`plc::sbom::check_archive`).
The workflow also passes an optional NIGHTLY_NVD_API_KEY, because NVD
rate-limits unauthenticated clients.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p