Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs: add 0.23.5 upgrade notes and correct rollback and TZ guidance

Yudhi Armyndharisbb59a074e3fd
diff --git a/.trivyignore b/.trivyignore
index 74e41d2d0..e0139a675 100644
--- a/.trivyignore
+++ b/.trivyignore
@@ -38,12 +38,13 @@ CVE-2026-69192
# Chromium: no entry, and the two architectures are not scanned alike.
#
-# arm64 installs Debian's `chromium` and `chromium-sandbox` (Dockerfile, TARGETARCH branch), because
-# Chrome for Testing publishes no linux-arm64 build. Those are dpkg packages, so the scan sees them and
-# a fixable HIGH/CRITICAL fails it. `ignore-unfixed` still hides every chromium CVE Debian has not
-# fixed yet, so a passing arm64 scan does not mean the browser has no open advisories. The eleven
-# chromium CVEs this file used to accept (between CVE-2026-76033 and CVE-2026-76047) were fixed in
-# 151.0.7922.169, and bookworm-security has shipped newer chromium builds since.
+# arm64 installs Debian's `chromium` and `chromium-sandbox` (Dockerfile, TARGETARCH branch) by choice;
+# Chrome for Testing publishes linux-arm64 builds only from 153 on, and the image has not moved arm64 to
+# one. Those are dpkg packages, so the scan sees them and a fixable HIGH/CRITICAL fails it.
+# `ignore-unfixed` still hides every chromium CVE Debian has not fixed yet, so a passing arm64 scan
+# does not mean the browser has no open advisories. The eleven chromium CVEs this file used to accept
+# (between CVE-2026-76033 and CVE-2026-76047) were fixed in 151.0.7922.169, and bookworm-security has
+# shipped newer chromium builds since.
#
# amd64 downloads a Chrome for Testing binary into /opt/puppeteer. No dpkg package owns it and no
# lockfile names it, so neither the OS nor the library scanner can see it: a clean amd64 scan says
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d93ea542c..96fde377e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
-## [0.23.5] - 2026-09-13
+## [0.23.5] - 2026-09-14
### Security
@@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The Baileys live path drops a message made only of sender-key distributions or message-history notices instead of delivering it as a bodyless `unknown` `message.received`; other messages it cannot type still arrive as `unknown` ([#1568](https://github.com/rmyndharis/OpenWA/issues/1568)). Thanks @berodcdev for the report.
- A Baileys reconnect loop is observable for a linked session, not while waiting for a QR scan: `lastError` on the session, a `session.reconnect_loop` webhook every fifth attempt, and reconnect metrics; a connection attempt refused at the WebSocket upgrade is closed and retried instead of leaving the session at `initializing` ([#1546](https://github.com/rmyndharis/OpenWA/issues/1546)). Thanks @OdaiAhmed99 for the report.
- The dashboard session card keeps the phone number, session id and last-active time while a linked session reconnects, instead of the pairing placeholder ([#1546](https://github.com/rmyndharis/OpenWA/issues/1546)). Thanks @OdaiAhmed99 for the report.
-- The Sessions page reports a dead live-event feed, and both it and the Chats page re-read their data once the feed recovers, including a feed that never connected.
+- The Sessions page reports a dead live-event feed. When the feed recovers from a gap, the Sessions page re-reads its list and the Chats page refetches the open thread and contact statuses; a feed that never connected counts as a gap only once it has failed and shown the reconnect banner.
- A Baileys media download aborted at `MEDIA_DOWNLOAD_MAX_BYTES` reports the bytes received as `sizeBytes`, and a timed-out one its declared size, instead of the cap.
- The webhook docs state that at the default limits media above about 768 KiB reaches webhooks as the omitted marker, and how to raise both limits ([#1569](https://github.com/rmyndharis/OpenWA/issues/1569)). Thanks @Magnarks for the report.
- The takeover sweep marks sessions left `ready`, `initializing`, `authenticating` or `action_required` by a node that never returned disconnected, regardless of `AUTO_START_SESSIONS`; `qr_ready` sessions keep their status.
@@ -39,6 +39,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `multer` 2.2.0 to 2.3.0 via an override, closing three high-severity multipart denial-of-service advisories. It ships in the runtime tree.
+### Upgrade notes (behavior changes)
+
+- whatsapp-web.js: back up `sessions/` before upgrading. A rollback to an image with an older browser major deletes the stored WhatsApp logins unless `sessions/` is restored from that backup, and a session first paired after the upgrade must be paired again (see `docs/11-operational-runbooks.md`). Baileys sessions are unaffected.
+- The amd64 image moves from Chrome for Testing 146 to 153, so every amd64 rollback to 0.23.4 or earlier crosses a browser major; the arm64 image runs the chromium Debian ships at build time, whose major can differ between releases.
+- A `LOG_LEVEL` other than `error`, `warn`, `info`, `debug` or `verbose` now stops the boot instead of logging at info.
+- Multi-node deployments run the lapsed-status correction even with `AUTO_START_SESSIONS` off, so every node needs a synced clock and, on PostgreSQL, one time zone without daylight saving (`TZ=UTC` recommended); otherwise live sessions can be marked disconnected (see `docs/13-horizontal-scaling.md`).
+
## [0.23.4] - 2026-09-05
### Added
diff --git a/Dockerfile b/Dockerfile
index 55d0fe967..68a9a18ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -68,11 +68,12 @@ FROM docker.io/node:22-slim@sha256:d649c27dae7ba0137b3cef5dd75baa422c08dc3d9e3fc
# changes nothing about which dependencies land in the image.
ENV NODE_ENV=production
-# Chrome for Testing has no linux-arm64 build, and Puppeteer's chromium snapshot
-# is x86_64-only on Linux too. So: amd64 uses Chrome for Testing (downloaded below)
-# to avoid the Debian chromium package's K8s SIGTRAP under strict non-root/seccomp;
-# arm64 installs Debian's chromium instead (it ships a native arm64 build). Both
-# resolve to the same /usr/local/bin/puppeteer-chrome symlink below.
+# amd64 uses Chrome for Testing (downloaded below) to avoid the Debian chromium
+# package's K8s SIGTRAP under strict non-root/seccomp. arm64 installs Debian's
+# chromium instead, by choice: it ships a native arm64 build, Chrome for Testing
+# publishes linux-arm64 builds only from 153 on, and Puppeteer's chromium snapshot
+# is x86_64-only on Linux. Both resolve to the same /usr/local/bin/puppeteer-chrome
+# symlink below.
#
# chromium-sandbox is listed EXPLICITLY (not left to Recommends) so --no-install-recommends still
# trims every other Recommends but keeps the setuid sandbox binary available. Our default forces
@@ -222,7 +223,7 @@ RUN npm ci --omit=dev --ignore-scripts \
RUN npm install -g [email protected] && npm cache clean --force
# amd64: download Chrome for Testing via Puppeteer and symlink it.
-# arm64: use Debian's chromium installed above (CfT has no linux-arm64 build).
+# arm64: use Debian's chromium installed above (a choice; see the note at that install).
# test -n guards against a future path mismatch failing loudly instead of shipping a broken image.
#
# The CfT version is pinned so a rebuild installs the same browser. Nothing bumps it for us:
@@ -233,7 +234,9 @@ RUN npm install -g [email protected] && npm cache clean --force
# repeat this command (scripts/dockerfile-patchers.spec.js fails until they match). It may be newer
# than the revision puppeteer-core pins; the arm64 image already runs whatever chromium Debian ships.
# On an amd64 build, check that a session paired under the old browser still reconnects and that a
-# new whatsapp-web.js session reaches its QR code.
+# new whatsapp-web.js session reaches its QR code. A new major cannot be rolled back without
+# restoring sessions/ (an older Chrome deletes the IndexedDB a newer one opened), so give the bump a
+# CHANGELOG upgrade note.
RUN if [ "$TARGETARCH" = arm64 ]; then \
ln -s /usr/bin/chromium /usr/local/bin/puppeteer-chrome; \
else \
diff --git a/docs/04-security-design.md b/docs/04-security-design.md
index fc13f0a5e..771e218da 100644
--- a/docs/04-security-design.md
+++ b/docs/04-security-design.md
@@ -702,7 +702,7 @@ tar-stream from 3.2.1). Each ignore's reason and lift condition is the comment a
### Security Scanning in CI
-> **Aspirational template — not in the repo.** There is no `security.yml`, no Snyk, and no CodeQL workflow today. The actual dependency check is a dedicated `audit` job ("Security audit") in `ci.yml`, on push/PR — not on a schedule. It is deliberately its own job rather than a step inside Lint: an advisory published against an unrelated dependency would otherwise abort the job before ESLint, the type-check and the drift gates ever ran. It runs `npm run check:audit` over the root tree and `npm audit --audit-level=high` over `dashboard/`. Both fence `high` rather than `critical`, because the `overrides` in `package.json` clear the root tree's existing HIGH advisories, so the threshold fences regressions. `check:audit` applies that threshold per advisory instead of all-or-nothing: an advisory with no patched version can be excused by id in `scripts/check-audit.mjs`, with its reason and its removal condition recorded beside it, rather than dropping the whole job to `critical` — and an allowlist entry whose advisory has since gone fails the job too, so an exception cannot outlive its cause. The dashboard keeps the plain form: it has nothing to excuse and stays the stricter of the two. The workflow below is a recommended setup to add if you want scheduled scanning and SAST.
+> **Aspirational template — not in the repo.** There is no Snyk and no CodeQL workflow today. The actual dependency check is a dedicated `audit` job ("Security audit") in `ci.yml`, on push/PR. It is deliberately its own job rather than a step inside Lint: an advisory published against an unrelated dependency would otherwise abort the job before ESLint, the type-check and the drift gates ever ran. It runs `npm run check:audit` over the root tree and `npm audit --audit-level=high` over `dashboard/`. Both fence `high` rather than `critical`, because the `overrides` in `package.json` clear the root tree's existing HIGH advisories, so the threshold fences regressions. `check:audit` applies that threshold per advisory instead of all-or-nothing: an advisory with no patched version can be excused by id in `scripts/check-audit.mjs`, with its reason and its removal condition recorded beside it, rather than dropping the whole job to `critical` — and an allowlist entry whose advisory has since gone fails the job too, so an exception cannot outlive its cause. The dashboard keeps the plain form: it has nothing to excuse and stays the stricter of the two. Between releases, `.github/workflows/security-scan.yml` (Scheduled Security Scan) repeats that job every Wednesday at 03:00 UTC and on demand, together with the release Trivy scan against the published `latest` image on amd64 and arm64. The workflow below is a recommended setup to add if you want Snyk and SAST; its scheduled `npm audit` is already covered by `security-scan.yml`.
```yaml
# .github/workflows/security.yml
diff --git a/docs/05-database-design.md b/docs/05-database-design.md
index 589cb6253..23abe4277 100644
--- a/docs/05-database-design.md
+++ b/docs/05-database-design.md
@@ -294,16 +294,16 @@ CREATE TABLE sessions (
config JSONB NOT NULL DEFAULT '{}',
"proxyUrl" VARCHAR(255),
"proxyType" VARCHAR(10),
- "connectedAt" TIMESTAMP WITH TIME ZONE,
- "lastActiveAt" TIMESTAMP WITH TIME ZONE,
+ "connectedAt" TIMESTAMP,
+ "lastActiveAt" TIMESTAMP,
-- Session ownership / multi-node routing: which process runs the engine, since when, where it
-- answers HTTP for peers, and how long its claim survives unrenewed. All NULL on a single node.
"nodeId" VARCHAR(190),
- "claimedAt" TIMESTAMP WITH TIME ZONE,
+ "claimedAt" TIMESTAMP,
"nodeUrl" VARCHAR(2048),
- "leaseExpiresAt" TIMESTAMP WITH TIME ZONE,
- "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
- "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
+ "leaseExpiresAt" TIMESTAMP,
+ "createdAt" TIMESTAMP NOT NULL DEFAULT NOW(),
+ "updatedAt" TIMESTAMP NOT NULL DEFAULT NOW()
);
```
diff --git a/docs/10-devops-infrastructure.md b/docs/10-devops-infrastructure.md
index ca6b11016..ec3236277 100644
--- a/docs/10-devops-infrastructure.md
+++ b/docs/10-devops-infrastructure.md
@@ -88,9 +88,10 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
-# NOTE: Chrome for Testing has no linux-arm64 build, so this example targets linux/amd64.
-# For arm64, install Debian's `chromium` package and point PUPPETEER_EXECUTABLE_PATH to
-# /usr/bin/chromium — see the repo's Dockerfile for the mixed multi-arch build.
+# NOTE: this example targets linux/amd64. The repo's image keeps Debian's chromium on arm64 by
+# choice (Chrome for Testing publishes linux-arm64 builds only from 153 on). For arm64, install
+# Debian's `chromium` package and point PUPPETEER_EXECUTABLE_PATH to /usr/bin/chromium — see the
+# repo's Dockerfile for the mixed multi-arch build.
# Download Chrome for Testing via Puppeteer and point ENV to it
RUN mkdir -p /opt/puppeteer && \
PUPPETEER_CACHE_DIR=/opt/puppeteer ./node_modules/.bin/puppeteer browsers install '[email protected]' && \
@@ -274,9 +275,9 @@ volumes:
> [13 - Horizontal Scaling Guide](./13-horizontal-scaling.md) for the full list and the design
> sketch. What multi-node eventually buys is engine capacity, not shared engine state: live engine
> handles live in exactly one process's `EngineRegistry` (`src/engine/engine-registry.service.ts`),
-> and the hard requirements include a stable `NODE_ID` across restarts, NTP-synced clocks (lease
-> skew beyond the TTL wrongfully transfers a session), sticky sessions, `TRUSTED_PROXIES` for
-> forwarded calls, Redis and Postgres.
+> and the hard requirements include a stable `NODE_ID` across restarts, NTP-synced clocks in one
+> time zone without daylight saving (lease skew beyond the TTL wrongfully transfers a session),
+> sticky sessions, `TRUSTED_PROXIES` for forwarded calls, Redis and Postgres.
### Helm Chart (Kubernetes)
diff --git a/docs/11-operational-runbooks.md b/docs/11-operational-runbooks.md
index a8253f05d..9061d0bfd 100644
--- a/docs/11-operational-runbooks.md
+++ b/docs/11-operational-runbooks.md
@@ -511,6 +511,17 @@ docker compose up -d
curl -H "X-API-Key: $API_KEY" http://localhost:2785/api/health
```
+> Restoring `sessions/` is required, not optional, when the rollback crosses a browser major upgrade (on
+> amd64, 0.23.5 moved Chrome for Testing from 146 to 153; arm64 runs the chromium Debian shipped when each
+> image was built), and the backup must predate the first start on the newer image; a daily backup taken
+> after the upgrade does not qualify. An older Chrome silently deletes the IndexedDB of a profile a newer
+> Chrome has opened, which is where whatsapp-web.js keeps the WhatsApp login. The symptom: every
+> previously linked whatsapp-web.js session starts at a QR code instead of reconnecting, the log names no
+> cause (0.23.3 and 0.23.4 log only a generic `relink_required` warning), and upgrading again does not
+> bring the pairing back. Changing only the image tag, or `helm rollback` (which keeps the volume), skips
+> the restore and hits this. A session first paired on the newer image is not in that backup and must be
+> paired again either way. Baileys sessions are unaffected.
+
---
### Runbook: Database Backup
diff --git a/docs/12-troubleshooting-faq.md b/docs/12-troubleshooting-faq.md
index 9a275f3dc..152212a08 100644
--- a/docs/12-troubleshooting-faq.md
+++ b/docs/12-troubleshooting-faq.md
@@ -419,7 +419,7 @@ custom container that drops the `XDG_CONFIG_HOME` / `XDG_CACHE_HOME` setup or th
**Cause D — Debian 12 OS Chromium SIGTRAP in non-root Pods.**
If `Code: null` happens on Kubernetes, and the host kernel logs or `dmesg` shows `Trace/breakpoint trap (core dumped)` with exit code 133, the underlying Debian 12 OS `chromium` package has crashed due to strict non-root or seccomp constraints (even with `--no-zygote` or `Unconfined` seccomp).
-_Fix:_ On amd64, do not use the `chromium` package from Debian's `apt` — it SIGTRAPs under strict non-root/seccomp. Instead, download Chrome for Testing via Puppeteer during the Docker build (`./node_modules/.bin/puppeteer browsers install '[email protected]'`) and point `PUPPETEER_EXECUTABLE_PATH` to it. (Chrome for Testing has no linux-arm64 build, so arm64 keeps Debian's `chromium`, which ships a native arm64 binary.) The official `Dockerfile` implements this mixed approach.
+_Fix:_ On amd64, do not use the `chromium` package from Debian's `apt` — it SIGTRAPs under strict non-root/seccomp. Instead, download Chrome for Testing via Puppeteer during the Docker build (`./node_modules/.bin/puppeteer browsers install '[email protected]'`) and point `PUPPETEER_EXECUTABLE_PATH` to it. (arm64 keeps Debian's `chromium`, which ships a native arm64 binary, by choice: Chrome for Testing publishes linux-arm64 builds only from 153, and the image has not moved arm64 to one.) The official `Dockerfile` implements this mixed approach.
**Quick triage:** run `docker stats openwa-api`, click **Start**, and watch which resource spikes toward its
limit the instant before the failure — that tells you A vs B. If neither moves and you see the crashpad
@@ -448,6 +448,15 @@ reads like a Puppeteer bug and gives no hint that the profile is the cause — t
advisory when it detects this error, and the session's `lastError` (the message the dashboard shows on
the session card) carries a short form of it, so the pointer survives without reading the container log.
+**Rolling back to an older browser** does not raise this error. An older Chrome silently deletes the
+IndexedDB of a profile a newer Chrome has opened, and that is where whatsapp-web.js keeps the WhatsApp
+login: every previously linked session starts at a QR code instead of reconnecting, the log names no
+cause (0.23.3 and 0.23.4 log only a generic `relink_required` warning), and upgrading again does not bring
+the pairing back. On amd64 this follows a rollback from 0.23.5 or later (Chrome for Testing 153) to 0.23.4
+or earlier (146); on arm64, a rollback to an image built with an older Debian chromium major. Restoring
+`sessions/` from a backup taken before the first start on the newer image keeps the pairing (see the
+upgrade runbook's rollback in docs/11); without one, scan a new QR.
+
**Fix:** delete the affected session's profile dir and start the session again to scan a new QR. The
profile cannot be salvaged — clearing only the cache subdirs (`Cache`, `GPUCache`, `Code Cache`, …) is
**not** enough, the taint is deeper than the caches — so a one-time re-authentication is required.
diff --git a/docs/13-horizontal-scaling.md b/docs/13-horizontal-scaling.md
index 35327b244..984567e26 100644
--- a/docs/13-horizontal-scaling.md
+++ b/docs/13-horizontal-scaling.md
@@ -66,9 +66,15 @@
> server images — and treat a skew larger than `SESSION_LEASE_TTL_MS` as a misconfiguration.
> The status correction reads the same timestamps: a node whose clock runs more than three TTLs minus
> one heartbeat ahead (160s at defaults) marks a healthy peer's sessions disconnected, even with
-> `AUTO_START_SESSIONS` off, and nothing writes them back. On PostgreSQL the lease columns hold a
-> local wall time with no zone, so every node must also run in the same time zone (`TZ`): a node east
-> of a peer reads that peer's leases as expired by the offset between them.
+> `AUTO_START_SESSIONS` off, and nothing writes them back. On PostgreSQL the lease columns hold the
+> writer's local wall time with no zone, so every node must run in one zone without daylight saving,
+> `TZ=UTC` (the image default) being the simple choice; sharing a zone that observes daylight saving is
+> not enough. Across zones the error runs both ways. A node east of a peer reads
+> that peer's leases as expired by the offset, so it marks the peer's live sessions disconnected, and
+> again after each of their status changes (with auto-start on, it also takes them over). A node west
+> of a peer reads its leases as live for the offset, so a dead peer's sessions stay uncorrected and
+> unadopted for that long. In a shared zone with daylight saving, a lease renewed in the last TTL
+> before the clocks go back is stored an hour early, and peers mark that live session disconnected.
>
> **A forwarded request is throttled on both nodes.** The receiving node counts it before
> forwarding, and the owner counts it again on arrival; with `REDIS_ENABLED=true` both counts land
diff --git a/docs/14-migration-guide.md b/docs/14-migration-guide.md
index 4c00574f2..4e78bb1d3 100644
--- a/docs/14-migration-guide.md
+++ b/docs/14-migration-guide.md
@@ -850,6 +850,18 @@ flowchart TD
G --> K
```
+> [!WARNING]
+> A rollback across a browser major upgrade (on amd64, 0.23.5 moved Chrome for Testing from 146 to 153;
+> arm64 runs the chromium Debian shipped when each image was built) must restore `sessions/` from a backup
+> taken before the first start on the newer image, on both the full and the partial branch: a partial
+> rollback that merges data but keeps the current `sessions/` loses every whatsapp-web.js login. An older
+> Chrome silently deletes the IndexedDB of a profile a newer Chrome has opened, so each previously linked
+> whatsapp-web.js session starts at a QR code instead of reconnecting, the log names no cause (0.23.3 and
+> 0.23.4 log only a generic `relink_required` warning), and upgrading again does not bring the pairing
+> back.
+> A session first paired on the newer image is not in that backup and must be paired again either way.
+> Baileys sessions are unaffected.
+
## 14.7 Environment Migration
### Development → Staging
diff --git a/docs/16-risk-management.md b/docs/16-risk-management.md
index c2483779b..1252ab7ec 100644
--- a/docs/16-risk-management.md
+++ b/docs/16-risk-management.md
@@ -312,7 +312,7 @@ Dependencies (`whatsapp-web.js`, Puppeteer, NestJS, etc.) may have vulnerabiliti
**Mitigation Strategies:**
-> **Current state:** the real dependency check is a dedicated `audit` job in `ci.yml` running `npm run check:audit` over the root tree and `npm audit --audit-level=high` over `dashboard/` (on push / PR — not on a daily schedule); it is deliberately split out of the `Lint` job so a newly published advisory cannot abort the other quality gates. `check:audit` keeps the `high` threshold but applies it per advisory, so one with no patched version can be excused by id in `scripts/check-audit.mjs` — with its reason and removal condition recorded, and a stale entry failing the job — instead of lowering the bar for everything. `release.yml` repeats both and additionally runs a Trivy image scan (`CRITICAL,HIGH`, `ignore-unfixed`) against an explicit `.trivyignore` before the release tags are promoted. Dependabot PRs cover npm for `/` and `/dashboard` (weekly), GitHub Actions (monthly) and Docker base/compose images (weekly), with version-pinned ignores (seven in the root tree, two in `/dashboard`) whose reasons and lift conditions are recorded in `.github/dependabot.yml`. There is **no** standalone `security.yml` and **no** Snyk integration. The workflow below is a recommended enhancement to add scheduled scanning.
+> **Current state:** the real dependency check is a dedicated `audit` job in `ci.yml` running `npm run check:audit` over the root tree and `npm audit --audit-level=high` over `dashboard/` (on push and PR); it is deliberately split out of the `Lint` job so a newly published advisory cannot abort the other quality gates. `check:audit` keeps the `high` threshold but applies it per advisory, so one with no patched version can be excused by id in `scripts/check-audit.mjs` — with its reason and removal condition recorded, and a stale entry failing the job — instead of lowering the bar for everything. `release.yml` repeats both and additionally runs a Trivy image scan (`CRITICAL,HIGH`, `ignore-unfixed`) against an explicit `.trivyignore` before the release tags are promoted. Dependabot PRs cover npm for `/` and `/dashboard` (weekly), GitHub Actions (monthly) and Docker base/compose images (weekly), with version-pinned ignores (seven in the root tree, two in `/dashboard`) whose reasons and lift conditions are recorded in `.github/dependabot.yml`. Between releases, `.github/workflows/security-scan.yml` (Scheduled Security Scan) runs every Wednesday at 03:00 UTC and on demand: it repeats the `audit` job and the release Trivy scan against the published `latest` image on amd64 and arm64, so an advisory those gates would block fails a run within a week of being published; the amd64 Chrome for Testing binary stays outside what Trivy can see (see `.trivyignore`). There is **no** Snyk integration. The workflow below is a recommended enhancement to add Snyk; its scheduled `npm audit` is already covered by `security-scan.yml`.
```yaml
# .github/workflows/security.yml
@@ -341,15 +341,16 @@ jobs:
**Dependency Management Policy:**
-| Action | Frequency |
-| ----------------------------------------------------------------------------------------- | ------------------------ |
-| npm audit (`high`, per-advisory allowlist via `check:audit`; dedicated `audit` job in CI) | Every push / PR |
-| Trivy image scan (`CRITICAL,HIGH`, `.trivyignore`) | Every release |
-| Snyk scan | Not configured (planned) |
-| Dependabot PRs (npm: `/` and `/dashboard`; docker) | Weekly |
-| Dependabot PRs (github-actions) | Monthly |
-| Major updates | Reviewed manually |
-| Security patches | Immediate |
+| Action | Frequency |
+| ----------------------------------------------------------------------------------------- | ---------------------------- |
+| npm audit (`high`, per-advisory allowlist via `check:audit`; dedicated `audit` job in CI) | Every push / PR |
+| Trivy image scan (`CRITICAL,HIGH`, `.trivyignore`) | Every release |
+| Scheduled Security Scan (audit + Trivy on the published `latest` image, amd64 and arm64) | Weekly (Wednesday 03:00 UTC) |
+| Snyk scan | Not configured (planned) |
+| Dependabot PRs (npm: `/` and `/dashboard`; docker) | Weekly |
+| Dependabot PRs (github-actions) | Monthly |
+| Major updates | Reviewed manually |
+| Security patches | Immediate |
---