Files

IntegraCI — Malware Scan Dagger Module

Scan a source tree for known malware signatures (ClamAV) and, optionally, post the result back as the malware leg of the vendor code-ingest quarantine gate.

This closes the last leg of the quarantine suite (sast / secret / sca / license / malware) — without it the gate can never reach passed.

Usage

# scan only
dagger call scan --source .

# skip (governance opt-out)
dagger call scan --source . --tool none

# scan + report to the quarantine gate
dagger call scan --source . \
  --ingest-id <uuid> \
  --api-url https://api.example.com \
  --token env://INTEGRACI_TOKEN

Infected files map to the critical severity bucket, so any hit fails the gate.

Notes

  • ClamAV ships a bundled signature DB in its official image, so no rules to author. The signature DB is cached across runs.
  • ClamAV runs as a pulled runtime container image (not bundled into the IntegraCI distribution), the same posture as the other scanner modules.