Repository navigation
OpenTea DX-OS v1.4.0
Added
- File quarantine: ClamAV (
clamav) and thedxos-scannerservice scan new objects inagrimarket-docsandagrimarket-private; infected or unscannable (> 50 MiB) objects are copied todxos-quarantine/<bucket>/<key>and removed, with verdicts inaudit.file_scans. The scanner image is published to GHCR asopentea-dx-os-scanner - Audit log: hash-chained, append-only
audit.eventsfed by row triggers on 9 business tables; verify withselect * from audit.verify_chain()
Security
- ClamAV fails closed on archives: encrypted archives and archives exceeding a scan limit (nesting depth, size, scan time 25 s) are reported as
FOUNDand quarantined instead ofOK. Encrypted documents (for example password-protected PDFs) are still allowed - Scanner re-scans replaced objects: a
cleanrow is only trusted while the object'sLastModifiedis unchanged, so an MD5 (etag) collision cannot hide a replacement; the source object is removed only if its etag still equals the scanned one - Audit chain head can only advance;
verify_chain()proves chain integrity, not capture coverage (a superuser can disable triggers)
Changed
- Deploy order:
postgres->platform-init->migrate->platform-init(attaches audit triggers to the migrated tables) -> the rest - SeaweedFS starts with
-volume.max=100
Fixed
- SeaweedFS: a PUT to a second bucket returned HTTP 500 (default limit of 8 volumes, 7 per bucket)
Upgrade notes
- Re-run
platform-initafterprisma migrate deploy(the postgres image did not change); recreate theseaweedfs,clamavanddxos-scannercontainers. - On an upgraded stack, existing objects over 50 MiB in the watched buckets are moved to
dxos-quarantineduring the first scan rounds.
Container images
ghcr.io/maiychrus25/opentea-dx-os-web:1.4.0ghcr.io/maiychrus25/opentea-dx-os-api:1.4.0ghcr.io/maiychrus25/opentea-dx-os-postgres:1.4.0ghcr.io/maiychrus25/opentea-dx-os-scanner:1.4.0
Deploy
Download opentea-dx-os-1.4.0.tar.gz, verify it with SHA256SUMS, then follow the
release deployment guide (5-step order: postgres, platform-init, migrate, platform-init again, rest).