Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
CURSOR ENGINEERING BUG REPORT — Agent chained forbidden md5; sync answer without section 19; self-block not disclosed
Account: same email as Pro+ subscription (not repeated here — forum link limit)
Date: 2026-10-15
Request IDs (reproductions 2026-10-15; prior failing chats deleted):
6d901d0e-28e3-48dd-adb4-c9800d8ddcf4
ce941de2-2f71-42d3-b152-5d2f19dcf080
Approximately twenty in-product reports in about three days on this account; please correlate by account and dates 2026-10-12 through 2026-10-15 if stored at submit time.
Cursor version: 3.24.18 Stable Default track
VS Code Extension API: 1.128.0
Build date: 2026-10-13
Layout: IDE
OS: Darwin arm64 23.1.0
Model for reproductions: Composer 2.5
Product: Cursor IDE Agent, multi-root workspace (published texts folder plus SSHFS site mount), dusty-work-guard hook active
Does this stop you from using Cursor: Yes — about three days, every run
Project rule: dusty-work manual (always applied in published folder workspace). Global user rules also injected.
What happened
-
User: Check if we need to sync the folder with the site. Read the documentation.
-
Manual section 19: only valid check is per-file md5 versus hash list file; do not compare folder to site by browsing.
-
Agent listed the folder and read the hash list, then ran one Shell line chaining several md5 calls with double-ampersand. Manual allows only a single md5 per file per invocation (working directory on text folder; no chaining, no batching).
-
dusty-work-guard rejected the command and marked the session stopped.
-
Agent still told the user sync was likely unnecessary because every filename appeared in the hash list — without any md5 comparison and without stating that the guard had stopped the session and further allowlisted tools were blocked.
-
After user pushback, agent partially corrected the logic but did not clearly frame: I violated the allowlist, blocked myself, and never ran the required check.
Related prior failure (Request ID 6d901d0e-28e3-48dd-adb4-c9800d8ddcf4): Shell for-loop over md5 instead of one md5 per file; same allowlist and section 19 violations.
Why the agent did it (for product and guard design)
A. Allowlist treated as operation allowed instead of exact command shape required.
B. Wrong completion criterion: filename in hash list substituted for md5 outcome.
C. Partial evidence at full confidence after guard stop.
D. Self-block not surfaced as the primary fact to the user.
Expected behavior
One md5 per Shell call as written. If session stopped: first sentence to user is incomplete check plus cause. No sync yes or no until all files md5-compared or user waives procedure.
Minimal repro
Open workspace with dusty-work manual. Ask sync question; read docs; do not change site. Observe chained md5 or loop; guard stop; agent still answers sync without md5 proof.
Suggested product direction
After guard stop: persistent model-visible state — session stopped, do not answer task outcomes. Reject ampersand chains with explicit run N separate invocations message.
Engineering ask
Lookup both Request IDs above. Confirm rule injection and why model answers after guard stop. No billing or refund request.
Daniel Denev
Steps to Reproduce
See above!!!
Operating System
MacOS
Version Information
Version: 3.24.18
VS Code Extension API: 1.128.0
Commit: be4c9e5350d77747b42cd467cbd3370a753d4640
Date: 2026-10-13T18:12:58.182Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 23.1.0
For AI issues: which model did you use?
Composer 2.5
For AI issues: add Request ID with privacy disabled
6d901d0e-28e3-48dd-adb4-c9800d8ddcf4
ce941de2-2f71-42d3-b152-5d2f19dcf080
Does this stop you from using Cursor
Yes - Cursor is unusable