Files
apex-twin/docs
lotherk 8e6f075e0c apex-twin 1.3.0: SSRF probe, detection rules, integrity baseline, ESP flash
Red:
- ssrf_probe opens a loopback listener, injects one parameter with URLs
  (127.0.0.1, localhost, 127.1, unique tokens) and reports a callback only when
  a request actually arrives; the request line is saved as evidence. GET query
  or POST form, or a callback_base collector for remote targets. It never
  targets metadata endpoints.

Blue:
- detect_rules writes one Sigma, one Suricata and one YARA skeleton per finding
  under $APEX_HOME/detections/, with id, title, target and severity, and states
  that they must be tuned before deployment.
- integrity_baseline creates/verifies a SHA-256 manifest (new sha256.c) and
  reports changed, missing and added files; no external tools.

Hardware:
- esp_flash runs esptool write_flash only with confirm=true, an absolute image
  path (1..16 MiB) and offset checks, and audits every attempt.

Tests: fetch-performing SSRF target plus one that ignores the URL, six rule
files from two findings with content assertions, a baseline round trip
(modified/missing/added) including the SHA-256 abc vector, and the three
esp_flash refusal paths. 476 checks, ASan green, analyze clean, release-check
green including distcheck 1.3.0.
2026-11-21 11:29:14 +00:00
..