Files
pruefwerk/fixtures/nightly/archive/README.md
T
sharang 0e0dfadf56
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Successful in 4m33s
CI / Deploy Agent (push) Successful in 6m4s
CI / Deploy MCP (push) Successful in 2m10s
feat(ingest): unpack tar and tar.gz source archives (#335) (#340)
2026-09-23 13:08:06 +00:00

22 lines
1.1 KiB
Markdown

# Source-archive fixture (#325)
A small service delivered the way a customer without a git remote delivers one:
a zip of the sources. The harness uploads this directory as a `source_archive`
artifact, and the baseline asserts it gets the same treatment as a repository —
SAST findings, secret detection, a package SBOM from the lockfile, and CVE
matching on it. `archive-order-intake-tgz` uploads the same directory as a
`.tar.gz` (#335), so its baseline must match this one.
Planted on purpose:
| Where | What |
|---|---|
| `src/server.js` | a shell command built from request input, and request input echoed into the response |
| `src/auth.py` | MD5 used for a signature check, and `shell=True` on a caller-supplied value |
| `config/service.env` | two expired, made-up credentials (a GitHub PAT and a Slack token shape) |
| `package-lock.json` | `lodash` 4.17.15 and `minimist` 1.2.0, both with published CVEs |
The credentials are not real and never were: they exist so the secret scanner
has something to find in a tree that is not a git checkout, which it used to
scan as nothing at all.