fuller-stack-dev
70a4f25ab1
fix(security): remove post-compaction audit injection message ( #28507 )
...
* fix: remove post-compaction audit injection (Layer 3)
Remove the post-compaction read audit that injects fake system messages
into conversations after context compaction. This audit:
- Hardcodes WORKFLOW_AUTO.md (a file that doesn't exist in standard
workspaces) as a required read after every compaction
- Leaks raw regex syntax (memory\/\d{4}-\d{2}-\d{2}\.md) in
user-facing warning messages
- Injects messages via enqueueSystemEvent that appear as user-role
messages, tricking agents into reading attacker-controlled files
- Creates a persistent prompt injection vector (see #27697 )
Layer 1 (compaction summary) and Layer 2 (workspace context refresh
from AGENTS.md via post-compaction-context.ts) remain intact and are
sufficient for post-compaction context recovery.
Deleted files:
- src/auto-reply/reply/post-compaction-audit.ts
- src/auto-reply/reply/post-compaction-audit.test.ts
Modified files:
- src/auto-reply/reply/agent-runner.ts (removed imports, audit map,
flag setting, and Layer 3 audit block)
Fixes #27697 , fixes #26851 , fixes #20484 , fixes #22339 , fixes #25600
Relates to #26461
* fix: resolve lint failures from post-compaction audit removal
* Tests: add regression for removed post-compaction audit warnings
---------
Co-authored-by: Wilfred (OpenClaw Agent) <jay@openclaw.dev >
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-02-27 17:15:59 -08:00
..
2026-02-27 10:02:39 +01:00
2026-02-27 10:02:39 +01:00
2026-02-15 05:05:47 +00:00
2026-02-24 02:53:39 +00:00
2026-02-24 23:28:58 +00:00
2026-02-26 14:00:35 +01:00
2026-02-26 13:43:39 +01:00
2026-02-26 14:00:35 +01:00
2026-02-26 11:00:09 +01:00
2026-02-26 11:00:09 +01:00
2026-02-26 16:04:48 +05:30
2026-02-22 08:15:28 +00:00
2026-02-18 18:25:25 +00:00
2026-02-18 19:02:25 +00:00
2026-02-24 23:28:58 +00:00
2026-02-24 23:28:58 +00:00
2026-02-25 04:32:31 +00:00
2026-02-25 04:32:31 +00:00
2026-02-27 17:15:59 -08:00
2026-02-25 23:57:58 +00:00
2026-02-27 17:15:59 -08:00
2026-01-10 02:41:16 +01:00
2026-02-21 13:04:37 +01:00
2026-02-13 05:22:14 +01:00
2026-02-18 01:34:35 +00:00
2026-02-26 11:00:09 +01:00
2026-02-26 11:00:09 +01:00
2026-02-10 00:44:38 -06:00
2026-02-21 13:04:37 +01:00
2026-02-26 11:00:09 +01:00
2026-02-26 11:00:09 +01:00
2026-02-26 21:57:52 +01:00
2026-02-18 01:34:35 +00:00
2026-02-21 13:04:37 +01:00
2026-02-23 02:33:35 -05:00
2026-02-21 13:04:37 +01:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-26 11:00:09 +01:00
2026-02-22 12:02:38 +01:00
2026-02-20 19:26:25 -06:00
2026-02-19 21:16:26 -06:00
2026-02-18 01:34:35 +00:00
2026-02-26 14:00:35 +01:00
2026-02-27 10:02:39 +01:00
2026-02-26 14:00:35 +01:00
2026-02-27 10:02:39 +01:00
2026-02-18 23:09:09 +00:00
2026-02-19 07:24:02 +00:00
2026-02-18 17:48:01 +00:00
2026-02-16 02:11:12 +00:00
2026-02-17 00:11:02 +00:00
2026-02-23 03:18:55 -05:00
2026-02-27 10:02:39 +01:00
2026-02-22 17:11:54 +00:00
2026-02-22 17:11:54 +00:00
2026-02-21 16:14:55 +01:00
2026-02-26 11:00:09 +01:00
2026-02-18 01:34:35 +00:00
2026-02-24 14:27:48 +00:00
2026-02-17 10:26:49 +09:00
2026-02-24 14:27:48 +00:00
2026-01-14 09:11:16 +00:00
2026-02-18 23:09:09 +00:00
2026-01-31 16:19:20 +09:00
2026-02-18 23:09:09 +00:00
2026-02-19 00:17:31 +00:00
2026-02-18 01:34:35 +00:00
2026-02-23 00:50:13 +01:00
2026-02-16 01:45:51 +00:00
2026-02-18 01:34:35 +00:00
2026-02-26 14:34:15 +01:00
2026-02-19 14:33:02 -08:00
2026-02-15 05:25:55 +00:00
2026-02-18 01:34:35 +00:00
2026-02-23 00:50:13 +01:00
2026-01-31 16:19:20 +09:00
2026-02-26 11:00:09 +01:00
2026-01-14 15:02:19 +00:00
2026-02-15 05:05:47 +00:00
2026-02-18 01:34:35 +00:00
2026-02-26 11:00:09 +01:00
2026-02-26 17:01:09 +01:00
2026-02-26 17:36:16 +01:00
2026-02-14 00:29:29 +01:00
2026-02-22 22:20:04 +01:00
2026-02-14 15:39:45 +00:00
2026-01-18 06:12:54 +00:00
2026-02-26 00:53:38 +00:00
2026-02-26 00:53:38 +00:00
2026-02-22 11:29:31 +00:00
2026-02-15 16:45:25 +00:00
2026-02-26 13:11:39 +00:00
2026-02-26 13:43:39 +01:00
2026-02-26 14:00:35 +01:00
2026-02-26 17:01:09 +01:00
2026-02-26 17:36:16 +01:00
2026-02-24 14:27:48 +00:00
2026-02-24 14:27:48 +00:00
2026-02-18 01:34:35 +00:00
2026-01-31 16:19:20 +09:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-26 17:10:09 +00:00
2026-02-26 17:10:09 +00:00
2026-02-13 18:24:01 +01:00
2026-02-18 01:34:35 +00:00
2026-02-17 15:50:07 +09:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-22 12:19:36 -05:00
2026-02-22 12:19:36 -05:00
2026-02-18 01:34:35 +00:00
2026-02-24 23:28:58 +00:00
2026-02-24 23:28:58 +00:00
2026-02-17 00:00:20 +01:00
2026-02-17 00:00:20 +01:00
2026-02-18 01:34:35 +00:00
2026-02-25 02:16:03 +00:00
2026-02-25 02:16:03 +00:00
2026-01-16 21:15:25 +00:00
2026-02-18 01:34:35 +00:00
2026-01-10 03:01:04 +01:00
2026-02-25 02:16:03 +00:00
2026-02-22 22:00:08 +01:00
2026-02-22 22:20:04 +01:00
2026-02-26 16:04:48 +05:30
2026-01-31 16:19:20 +09:00
2026-02-22 19:34:30 +01:00
2026-02-25 00:53:39 +00:00
2026-02-22 13:27:50 -05:00
2026-02-12 18:50:36 -06:00
2026-02-22 17:11:54 +00:00
2026-01-10 03:01:04 +01:00
2026-02-18 01:34:35 +00:00
2026-02-26 17:01:09 +01:00
2026-02-05 16:54:44 -05:00
2026-02-26 16:04:48 +05:30
2026-02-26 21:03:28 +01:00
2026-02-18 01:34:35 +00:00
2026-02-20 20:38:56 -08:00
2026-02-19 21:16:26 -06:00
2026-02-19 21:06:13 -06:00
2026-02-21 23:37:42 -08:00
2026-02-26 14:47:22 +00:00
2026-02-25 23:54:02 +00:00
2026-02-19 14:26:12 +01:00
2026-02-26 16:04:48 +05:30
2026-02-21 19:26:04 +01:00
2026-02-21 19:26:04 +01:00
2026-02-18 18:25:25 +00:00
2026-02-18 18:25:25 +00:00
2026-01-17 10:26:08 +00:00
2026-02-01 10:03:47 +09:00
2026-02-26 17:01:09 +01:00
2026-02-26 11:42:38 +00:00
2026-02-26 17:36:16 +01:00
2026-02-26 17:36:16 +01:00
2026-02-26 17:36:16 +01:00
2026-02-03 23:02:45 -08:00