lab7: mTLS-границы, OpenBao raft, TLS-телеметрия, evidence уровней 3-4

This commit is contained in:
2026-11-27 23:05:20 +03:00
parent 6b44b067c4
commit cf6b78f899
31 changed files with 572 additions and 116 deletions
+9 -8
View File
@@ -5,15 +5,16 @@
| Файл | Как получить |
| --- | --- |
| `smoke.txt` | `python tests/smoke.py --base-url https://localhost:8443 --ca-file pki/trust/public-ca.crt` |
| `security.txt` | `python tests/security.py --base-url https://localhost:8443 --ca-file pki/trust/public-ca.crt` |
| `test-lab7.txt` | `python student-tests/test_lab7.py` |
| `smoke.txt` | `make test` (`tests/smoke.py` по HTTPS с проверкой CA) |
| `security.txt` | `make test-security` (`tests/security.py`) |
| `test-lab7.txt` | `python3 student-tests/test_lab7.py` (48 проверок, включая hardening/rotation) |
| `argon2.txt` | `python scripts/argon2_bench.py` |
| `ports.txt` | `docker compose --env-file .env ps` и `ss -ltnp` / `netstat -ano` |
| `hardening.txt` | `docker inspect` по api/worker/ingress (read_only, cap_drop, user) |
| `openbao.txt` | вывод `scripts/openbao_bootstrap.py` (без токенов) и `bao status` |
| `rotation.txt` | `evidence/rotated-s3-worker.txt` + протокол `revoke-identity.sh` / `rotate-secret.sh` |
| `scan/` | `sh scripts/scan.sh` |
| `ps.txt` | `docker compose --env-file .env ps` |
| `health.json` | `curl --cacert pki/trust/public-ca.crt https://localhost:8443/health/ready` |
| `queue-lag.txt` | stop worker → 5 upload → metric/alert в Prometheus → start worker |
| `smoke-telemetry-outage.txt` | `make test` при остановленных Loki и Tempo |
| `rotated-s3-worker.txt` | access key id старого/нового worker-пользователя (сами ключи не пишутся) |
| `scan/` | `sh scripts/scan.sh`; его README объясняет статус последних прогонов |
Учебные данные (`secrets/`, `pki/`, `bootstrap/`) в Git не попадают;
`evidence/revoked-*` игнорируется, потому что содержит приватные ключи отозванных leaf.
+34
View File
@@ -0,0 +1,34 @@
{
"parameters": {
"type": "Argon2id",
"memory_kib": 19456,
"time_cost": 2,
"parallelism": 1,
"hash_len": 32,
"salt_len": 16,
"hash_prefix": [
"",
"argon2id",
"v=19",
"m=19456,t=2,p=1"
],
"iterations": 20
},
"hash_ms": {
"mean": 12.03,
"median": 11.31,
"max": 22.43
},
"verify_ms": {
"mean": 11.57,
"median": 11.31,
"max": 15.54
},
"login_dos_budget": {
"hash_concurrency": 4,
"hashes_per_second": 353.57,
"slot_timeout_seconds": 5.0,
"rate_limit_ip_per_minute": 20,
"rate_limit_user_per_minute": 30
}
}
+1
View File
@@ -0,0 +1 @@
{"status":"ok"}
+14
View File
@@ -0,0 +1,14 @@
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
messenger-lab7-api-1 messenger-lab7-app:1.7.0 "python -m app.server" api About a minute ago Up About a minute (healthy) 8443/tcp
messenger-lab7-api-2 messenger-lab7-app:1.7.0 "python -m app.server" api About a minute ago Up About a minute (healthy) 8443/tcp
messenger-lab7-grafana-1 grafana/grafana:11.2.0 "/run.sh" grafana 23 minutes ago Up 20 minutes 127.0.0.1:3000->3000/tcp
messenger-lab7-ingress-1 nginx:1.27-alpine "/docker-entrypoint.…" ingress 23 minutes ago Up 43 seconds 127.0.0.1:8443->8443/tcp, [::1]:8443->8443/tcp
messenger-lab7-loki-1 grafana/loki:3.1.1 "/usr/bin/loki -conf…" loki 23 minutes ago Up 23 minutes 3100/tcp
messenger-lab7-minio-1 pgsty/silo:RELEASE.2026-11-12T00-00-00Z "/bin/sh -c 'set -eu…" minio 31 minutes ago Up 31 minutes 9000/tcp
messenger-lab7-openbao-1 openbao/openbao:2.7.3 "/opt/lab7/openbao-e…" openbao 24 minutes ago Up 24 minutes 127.0.0.1:8200->8200/tcp
messenger-lab7-otel-collector-1 otel/opentelemetry-collector-contrib:0.105.0 "/otelcol-contrib --…" otel-collector 23 minutes ago Up 20 minutes 4317/tcp, 55678-55679/tcp
messenger-lab7-postgres-1 postgres:17.6-alpine "/opt/lab7/postgres-…" postgres 31 minutes ago Up 31 minutes (healthy) 5432/tcp
messenger-lab7-prometheus-1 prom/prometheus:v2.54.1 "/bin/prometheus --c…" prometheus 23 minutes ago Up 20 minutes 9090/tcp
messenger-lab7-rabbitmq-1 rabbitmq:3.13-alpine "/opt/lab7/entrypoin…" rabbitmq 2 minutes ago Up About a minute (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
messenger-lab7-tempo-1 grafana/tempo:2.6.0 "/tempo -config.file…" tempo 23 minutes ago Up 20 minutes
messenger-lab7-worker-1 messenger-lab7-app:1.7.0 "python -m app.worker" worker About a minute ago Up About a minute 8443/tcp
+6
View File
@@ -0,0 +1,6 @@
== queue age before (expect ~200s)
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"messenger_queue_oldest_job_age_seconds","deployment_environment_name":"lab","exported_instance":"864849dcb590","exported_job":"messenger-api","instance":"otel-collector:8889","job":"otel-collector","queue_name":"attachment.process.v1","service_instance_id":"864849dcb590","service_name":"messenger-api","service_version":"1.7.0","telemetry_sdk_language":"python","telemetry_sdk_name":"opentelemetry","telemetry_sdk_version":"1.27.0"},"value":[1795806499.237,"229.036533"]},{"metric":{"__name__":"messenger_queue_oldest_job_age_seconds","deployment_environment_name":"lab","exported_instance":"b57f94bc3f91","exported_== alerts before (expect QueueLagHigh firing)
{"status":"success","data":{"alerts":[{"labels":{"alertname":"QueueLagHigh","deployment_environment_name":"lab","exported_instance":"864849dcb590","exported_job":"messenger-api","instance":"otel-collector:8889","job":"otel-collector","queue_name":"attachment.process.v1","service_instance_id":"864849dcb590","service_name":"messenger-api","service_version":"1.7.0","severity":"warning","telemetry_sdk_language":"python","telemetry_sdk_name":"opentelemetry","telemetry_sdk_version":"1.27.0"},"annotations":{"description":"Самая старая задача в queued старше 60 секунд.","runbook":"Проверить worker (docker compose ps worker, logs worker); проверить RabbitMQ; проверить S3/DB latency.","summary":"Очередь обработки отстаёт > 60s"},"state":"firing","activeAt":"2026-11-27T19:05:46.740170046Z","value":"2.29036533e+02"},{"labels":{"alertname":"QueueLagHigh","deployment_environment_name":"lab","exported_instance":"b57f94bc3f91","exported_job":"messenger-api","instance":"otel-collector:8889","job":"otel-collector","queue_name":"attachment.process.v1","service_instance_id":"b57f94bc3f91","service_name":"messenger-api","service_version":"1.7.0","severity":"warning","telemetry_sdk_language":"python","telemetry_sdk_name":"opentelemetry","telemetry_sdk_version":"1.27.0"},"annotations":{"description":"Самая старая задача в queued старше 60 секунд.","runbook":"Проверить worker (docker compose ps worker, logs worker); проверить RabbitMQ; проверить S3/DB latency.","summary":"Очередь обработки отстаёт > 60s"},"state":"firing","activeAt":"2026-11-27T19:05:46.740170046Z","value":"2.24407922e+02"}]}}== alerts after worker start
{"status":"success","data":{"alerts":[]}}== queue age after
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"messenger_queue_oldest_job_age_seconds","deployment_environment_name":"lab","exported_instance":"864849dcb590","exported_job":"messenger-api","instance":"otel-collector:8889","job":"otel-collector","queue_name":"attachment.process.v1","service_instance_id":"864849dcb590","service_name":"messenger-api","service_version":"1.7.0","telemetry_sdk_language":"python","telemetry_sdk_name":"opentelemetry","telemetry_sdk_version":"1.27.0"},"value":[1795806542.167,"0"]},{"metric":{"__name__":"messenger_queue_oldest_job_age_seconds","deployment_environment_name":"lab","exported_instance":"b57f94bc3f91","exported_job":"mes== attachments by status
ready|17
+2
View File
@@ -0,0 +1,2 @@
old worker S3 access key id: workerNXm6Cn38uEEVcuuq (disabled)
new worker S3 access key id: workerBYQ5PRWe9pK1FXcV
+41
View File
@@ -0,0 +1,41 @@
# Результаты скана
Команда: `sh scripts/scan.sh`. Отчёты пишутся атомарно: неудачный прогон
уходит в `*.failed-network.txt` и не затирает предыдущий успешный отчёт.
## Успешный прогон (финальный образ)
Образ `messenger-lab7-app:1.7.0`: Debian 13.8, Python 3.11, Pillow 13.0.0,
starlette 0.38.6.
- `trivy-image.txt` — Trivy 0.57.1, HIGH/CRITICAL, `--ignore-unfixed`:
- базовый слой Debian: **Total 1** (HIGH 1, CRITICAL 0) — `libzstd1`;
- Python-слой: **Total 6** (HIGH 6, CRITICAL 0) — `jaraco.context`,
`protobuf`, `starlette` (3), `wheel`.
- `pip-audit.txt` — аудит установленного в образе окружения (`--local`):
**33 advisories в 5 пакетах** — `opentelemetry-api`, `pip`, `protobuf`,
`setuptools`, `starlette`.
До обновления зависимостей тот же скан давал **69** HIGH/CRITICAL в базовом
слое и **65** в Python-слое, из них 28 — Pillow 12.3.0 (включая CRITICAL
`CVE-2026-112393`, heap overflow в `_tiffWriteProc`).
## Неудачные прогоны
`pip-audit.failed-network.txt` — пример неудачного прогона: сеть стенда рвала
загрузку managed CPython (`unexpected EOF`, 0–100 Б/с), плюс на macOS
`pip-audit` падал на `ensurepip` в своём venv. Поэтому аудит теперь идёт
внутри Linux-образа. Аналогичные обрывы загрузки базы Trivy (138 МБ) в Git не
сохранялись — это были только progress-бары без findings.
## Разбор
Применимость каждой оставшейся находки и решение (fix / residual + причина) —
в `REPORT.md`, раздел «Scan triage». Кратко: Pillow закрыт обновлением;
`starlette` требует парного bump с `fastapi`; `protobuf`/`opentelemetry-api`
ограничены версией OTel-стека; `pip`/`setuptools`/`wheel`/`jaraco.context` —
build-time и план по multi-stage; `libzstd1` уйдёт со следующим обновлением
базового образа.
Повторить скан: `sh scripts/scan.sh` (база Trivy кэшируется в volume
`trivy-cache`, поэтому повторный прогон занимает секунды).
@@ -0,0 +1,13 @@
Downloading cpython-3.11.15-macos-aarch64-none (download) (19.1MiB)
Downloading cpython-3.11.15-macos-aarch64-none (download) (19.1MiB)
Downloading cpython-3.11.15-macos-aarch64-none (download) (19.1MiB)
Downloading cpython-3.11.15-macos-aarch64-none (download) (19.1MiB)
error: Request failed after 3 retries in 253.2s
Caused by: Failed to extract archive: cpython-3.11.15-20260325-aarch64-apple-darwin-install_only_stripped.tar.gz
Caused by: Invalid tar file
Caused by: failed to unpack `/Users/enikiforovavya/.local/share/uv/python/.temp/.tmpZRUIw8/python/include/python3.11/internal/pycore_fileutils.h`
Caused by: failed to unpack `python/include/python3.11/internal/pycore_fileutils.h` into `/Users/enikiforovavya/.local/share/uv/python/.temp/.tmpZRUIw8/python/include/python3.11/internal/pycore_fileutils.h`
Caused by: error decoding response body
Caused by: request or response body error
Caused by: error reading a body from connection
Caused by: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
+37
View File
@@ -0,0 +1,37 @@
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Found 33 known vulnerabilities in 5 packages
Name Version ID Fix Versions
----------------- ------- ------------------- -------------
opentelemetry-api 1.27.0 CVE-2026-114603 1.45.1
opentelemetry-api 1.27.0 CVE-2026-126360 1.45.2
pip 24.0 PYSEC-2026-1795 25.3
pip 24.0 PYSEC-2026-1796 26.0
pip 24.0 PYSEC-2026-2875 26.1
pip 24.0 PYSEC-2026-2876 26.1
pip 24.0 PYSEC-2026-196 26.1.2
pip 24.0 PYSEC-2026-1795 25.3
pip 24.0 PYSEC-2026-1796 26.0
pip 24.0 PYSEC-2026-196 26.1.2
pip 24.0 PYSEC-2026-2875 26.1
pip 24.0 PYSEC-2026-2876 26.1
pip 24.0 PYSEC-2026-3721 26.2
pip 24.0 PYSEC-2026-3721 26.2.0
protobuf 4.25.9 PYSEC-2026-1805 5.29.6,6.33.5
protobuf 4.25.9 PYSEC-2026-1805 5.29.6,6.33.5
setuptools 79.0.1 PYSEC-2026-3447 83.0.0
setuptools 79.0.1 PYSEC-2026-3447 83.0.0
setuptools 79.0.1 GHSA-xmj3-9gf7-h52w 84.1.0
starlette 0.38.6 PYSEC-2026-1943 0.40.0
starlette 0.38.6 PYSEC-2026-1941 0.47.2
starlette 0.38.6 PYSEC-2026-161 1.0.1
starlette 0.38.6 PYSEC-2026-161 1.0.1
starlette 0.38.6 PYSEC-2026-2281 1.1.0
starlette 0.38.6 PYSEC-2026-2280 1.1.0
starlette 0.38.6 PYSEC-2026-249 1.3.1
starlette 0.38.6 PYSEC-2026-248 1.3.0
starlette 0.38.6 PYSEC-2026-249 1.3.1
starlette 0.38.6 PYSEC-2026-248 1.3.0
starlette 0.38.6 PYSEC-2026-1943 0.40.0
starlette 0.38.6 PYSEC-2026-1941 0.47.2
starlette 0.38.6 PYSEC-2026-2281 1.1.0
starlette 0.38.6 PYSEC-2026-2280 1.1.0
+51
View File
@@ -0,0 +1,51 @@
2026-11-27T20:03:05Z INFO [vuln] Vulnerability scanning is enabled
2026-11-27T20:03:05Z INFO Detected OS family="debian" version="13.8"
2026-11-27T20:03:05Z INFO [debian] Detecting vulnerabilities... os_version="13" pkg_num=87
2026-11-27T20:03:05Z INFO Number of language-specific files num=1
2026-11-27T20:03:05Z INFO [python-pkg] Detecting vulnerabilities...
2026-11-27T20:03:05Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.57/docs/scanner/vulnerability#severity-selection for details.
messenger-lab7-app:1.7.0 (debian 13.8)
======================================
Total: 1 (HIGH: 1, CRITICAL: 0)
┌──────────┬─────────────────┬──────────┬────────┬───────────────────┬──────────────────────┬──────────────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
├──────────┼─────────────────┼──────────┼────────┼───────────────────┼──────────────────────┼──────────────────────────────────────────────────────────┤
│ libzstd1 │ CVE-2026-124851 │ HIGH │ fixed │ 1.5.7+dfsg-1 │ 1.5.7+dfsg-1+deb13u1 │ zstd: Zstandard Information Disclosure via Uninitialized │
│ │ │ │ │ │ │ Buffer │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-124851 │
└──────────┴─────────────────┴──────────┴────────┴───────────────────┴──────────────────────┴──────────────────────────────────────────────────────────┘
2026-11-27T20:03:05Z INFO Table result includes only package filenames. Use '--format json' option to get the full path to the package file.
Python (python-pkg)
===================
Total: 6 (HIGH: 6, CRITICAL: 0)
┌───────────────────────────┬────────────────┬──────────┬────────┬───────────────────┬────────────────┬──────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
├───────────────────────────┼────────────────┼──────────┼────────┼───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ jaraco.context (METADATA) │ CVE-2026-23949 │ HIGH │ fixed │ 5.3.0 │ 6.1.0 │ jaraco.context: jaraco.context: Path traversal via malicious │
│ │ │ │ │ │ │ tar archives │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-23949 │
├───────────────────────────┼────────────────┤ │ ├───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ protobuf (METADATA) │ CVE-2026-0994 │ │ │ 4.25.9 │ 6.33.5, 5.29.6 │ python: protobuf: Protobuf: Denial of Service due to │
│ │ │ │ │ │ │ recursion depth bypass │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-0994 │
├───────────────────────────┼────────────────┤ │ ├───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ starlette (METADATA) │ CVE-2024-47874 │ │ │ 0.38.6 │ 0.40.0 │ starlette: Starlette Denial of service (DoS) via │
│ │ │ │ │ │ │ multipart/form-data │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2024-47874 │
│ ├────────────────┤ │ │ ├────────────────┼──────────────────────────────────────────────────────────────┤
│ │ CVE-2026-48818 │ │ │ │ 1.1.0 │ starlette: Starlette: SSRF and NTLM credential theft via UNC │
│ │ │ │ │ │ │ paths in StaticFiles... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-48818 │
│ ├────────────────┤ │ │ ├────────────────┼──────────────────────────────────────────────────────────────┤
│ │ CVE-2026-54283 │ │ │ │ 1.3.1 │ starlette: Starlette: request.form() limits silently ignored │
│ │ │ │ │ │ │ for application/x-www-form-urlencoded enable DoS │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-54283 │
├───────────────────────────┼────────────────┤ │ ├───────────────────┼────────────────┼──────────────────────────────────────────────────────────────┤
│ wheel (METADATA) │ CVE-2026-24049 │ │ │ 0.45.1 │ 0.46.2 │ wheel: wheel: Privilege Escalation or Arbitrary Code │
│ │ │ │ │ │ │ Execution via malicious wheel file... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-24049 │
└───────────────────────────┴────────────────┴──────────┴────────┴───────────────────┴────────────────┴──────────────────────────────────────────────────────────────┘
+2
View File
@@ -0,0 +1,2 @@
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "/Users/enikiforovavya/study/labs/mtusi2026lab7/pki/trust/public-ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
+2
View File
@@ -0,0 +1,2 @@
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "/Users/enikiforovavya/study/labs/mtusi2026lab7/pki/trust/public-ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
+2
View File
@@ -0,0 +1,2 @@
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "/Users/enikiforovavya/study/labs/mtusi2026lab7/pki/trust/public-ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
+50
View File
@@ -0,0 +1,50 @@
PASS make check (offline contract)
PASS rogue PKI material present
PASS external TLS trust (public test-security) — PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
PASS external TLS: wrong hostname rejected by verification — cert_error:IP address mismatch, certificate is not valid for '127.0.0.1'.
PASS exposure: no service published on all interfaces
PASS hardening: api replicas non-root, read-only, cap_drop, no-new-privileges — messenger-lab7-api-1 user=10001 ro=True; messenger-lab7-api-2 user=10001 ro=True
PASS public smoke over HTTPS — PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
PASS mTLS LB->API: allowed identity lb — {'result': 'ok', 'status': 200}
PASS mTLS LB->API: no client certificate rejected — {'result': 'tls_error', 'error': 'SSLError'}
PASS mTLS LB->API: same-CA foreign identity rejected — {'result': 'http', 'status': 403}
PASS mTLS LB->API: certificate from foreign CA rejected — {'result': 'tls_error', 'error': 'SSLError'}
PASS mTLS LB->API: health identity cannot call business API — {'result': 'http', 'status': 403}
PASS broker mTLS: messenger-api identity accepted — {'result': 'ok'}
PASS broker mTLS: messenger-worker identity accepted — {'result': 'ok'}
PASS broker mTLS: same-CA foreign identity rejected — {'result': 'connect_error', 'error': 'ProbableAuthenticationError'}
PASS broker ACL: worker cannot declare a foreign queue — {'result': 'access_denied', 'code': 403}
PASS OTLP ingress: api identity accepted — {'result': 'http', 'status': 200}
PASS OTLP ingress: same-CA foreign identity rejected — {'result': 'http', 'status': 403}
PASS OTLP ingress: no client certificate rejected — {'result': 'http', 'status': 400}
PASS S3: api may write staging/ — {'result': 'ok', 'key': 'staging/probe-3cb3dbbe06014d7a9d3d81d556eb93d3'}
PASS S3: api cannot write originals/ — {'result': 'denied', 'code': 'AccessDenied'}
PASS S3: worker cannot write staging/ — {'result': 'denied', 'code': 'AccessDenied'}
PASS S3: worker may write originals/ — {'result': 'ok', 'key': 'originals/probe-5de56aed653140afa82a85c35ed111de'}
PASS ACL: outsider cannot read chat
PASS ACL: outsider cannot read attachment metadata
PASS ACL: forged X-User-Id does not change identity
PASS ACL: token invalid after logout
PASS auth: identical error for wrong password and unknown user — statuses=401/401 codes=unauthorized/unauthorized
PASS worker pipeline ready over TLS — ready
PASS OpenBao: api reads own secret, denied elsewhere — DENIED=
PASS OpenBao: sealed by operator — 204
PASS sealed OpenBao: running API stays ready
PASS sealed OpenBao: running API still serves business requests
PASS sealed OpenBao: new process fails instead of using cached/file secrets
PASS OpenBao: unsealed again
PASS rotation: stack back to ready after recreating ingress/api
PASS rotation: old lb identity rejected on new connections — {'result': 'http', 'status': 403}
PASS rotation: new lb identity works — {'result': 'ok', 'status': 200}
PASS rotation: image not rebuilt
PASS rotation: stack back to ready after recreating worker
PASS rotation: disabled S3 identity denied — {'result': 'denied', 'code': 'InvalidAccessKeyId'}
PASS rotation: worker works with rotated secret
PASS rotation: image not rebuilt (secret)
PASS telemetry: no secrets or user identifiers in logs/metric labels — {'result': 'ok', 'log_matches': [], 'forbidden_labels': [], 'lines_scanned': 54}
PASS rehash: legacy hash replaced on successful login — status=201 prefix=$argon2id$v=19$m=19456,t=2,p=1$C
PASS rate limit: 429 returned — statuses=401,401,401,401,429
PASS rate limit: Retry-After present — 29
PASS rate limit: shared across replicas (both instances observed before 429) — instances=160a1aca3c0e,82747fb33d1f
SUMMARY: 48 passed, 0 failed