Desk closing-reason check `_ASKS_BACK` misses common reply/contact phrasings — agent draft can tell a reporter to reply to a closed ticket
Report
Tier claimed: Minor (650 XE)
Repo: xeprotocol/desk @ 8faae44aa2e82967689a62fd6f3e5960c31d1da7 ("Tell: a closed report is told by the desk, in the programme's closing reply", 2026-11-14 22:21 UTC; diff ab9df7f..8faae44)
XE payout address: 7e0b28b5148977d82e7f40dad76a6839bad8182b1d11d519249bbc81a4247b62
Summary
The desk's new auto-sent closing reply (desk/services/tell.py, landed in 8faae44) carries an agent's adopted reply draft as its {reason} slot when review_reason(closing=True) passes. The "no request for a reply or for contact" rule is enforced only by an enumerated regex, _ASKS_BACK (desk/services/thread.py:378-383), which misses common ways of asking the reporter to write back: "reach out", "send us", "DM us", "comment below", "follow up here", "ping us". Such a reason is sent unread, signed "XE desk", telling the reporter to reply or make contact through a channel that does not exist — a closed ticket takes no more messages — and in the sharpest form asks for their wallet address.
The programme's own stock closing templates were fixed for exactly this in the same diff (commit ed6b922, "Copy: a reply that goes with a close does not ask for a reply (XE-1960, sweep)", with test test_closing_replies_do_not_ask_for_a_reply), but the fix covered only the stock lines, not the agent-drafted {reason} slot in the same reply — the sibling the sweep missed.
Mechanism
- An agent proposes a
reply_draftand astatus=closedclosure together (same token, withinTOGETHER); a person adopts both on/team/triage. - The sweep (
tell_resting,desk/services/tell.py:293) builds the closing reply in_reply_for(tell.py:157-208). For a closed private ticket with an adopted draft,reason_review(tell.py:90-115) asksthread.review_reason(ctx, text, t, closing=True); if it returnsNone, the draft is filled into the template as{reason}(tell.py:201-203:text = await thread.fill_for(ctx, db, tpl, t, reason=t.draft.strip())) and sent. review_reason(closing=True)(desk/services/thread.py:385-443) holds a closing reason only when_ASKS_BACKmatches._ASKS_BACKenumerates exactly:repl(y|ies|ying|ied),respond(s|ed|ing)?,reopen(s|ed|ing)?,write (to|back),contact,e-?mail,message us,get in touch,let us know(thread.py:378-383). The code's own comment states the reason for the rule: "a closed ticket takes no more messages from its reporter (reporters.reply), so a reason that asks for one sends them to a box that is not there". The brief states the rule the same way (desk/brief.py:524: "no request for a reply or for contact"), and the public copy notes the closing templates never ask for a reply (config/copy/public.yaml:214: "the way back is a new report").
Reproduction (executed against the real review_reason with the repo's real Config, desk @ 8faae44)
review_reason(ctx, text, t, closing=True) returns None (sends) for all of these:
"Reach out to us and we will look again."→None"Send us your wallet address and we will look again."→None"DM us with a reproduction and we will look again."→None"Comment below with a reproduction."→None"Follow up here with what you saw."→None"Ping us if it still reproduces."→None
Control, correctly held: "Reply here with a reproduction." → "asks for a reply a closed ticket cannot take".
End to end: agent proposes reply_draft + status=closed together, a person adopts both on /team/triage, the sweep sends the closing reply ~15 minutes later with that reason, unread, signed "XE desk".
Impact
No held-data disclosure, no money movement, no privilege. The harm is a false instruction issued in the programme's voice to a dead channel, plus reporter confusion: the reporter is told to reply/contact, cannot do so (a closed ticket takes no more messages; the way back is a new report), and in the sharpest phrasing is asked to send their wallet address to the programme. The wallet-address wording asks for sensitive information, but the reporter cannot reply to a closed ticket, so it cannot be exfiltrated to an attacker through that channel. Minor — same record-integrity / false-programme-statement class as XE-13131 (Minor).
Why not a duplicate
- XE-1960 (named in commit
ed6b922): not a board ticket — signed-in check 2026-11-14 ~23:13 UTC returns 404 "no such ticket" forXE-1960, and a board search for it returns only XE-7199 (unrelated). It is an internal/GitHub reference, not a filed bounty report. What the commit itself fixed is visible in the diff and its test (test_closing_replies_do_not_ask_for_a_reply): only the programme's stock closing templates. This report is the agent-drafted{reason}slot in the same reply, governed by a different check (_ASKS_BACK) that theed6b922sweep did not touch. - XE-10091 (read in full, 2026-11-14): the non-closing plain-acknowledgement filter at
ab9df7f— spelled-out amounts, dates, tier abbreviations, bare code identifiers. It predates_ASKS_BACK(which did not exist before this diff) and says nothing about reply/contact phrasings or closing reasons. - XE-10833 / XE-12067:
review_reasonlink check and Unicode-confusable bypasses — different gates, both addressed by this diff's_LINK/_UNPLAINbroadenings. - Board searches immediately before drafting (
/?q=review_reason— 7 tickets;/?q=closing— 39;/?q=asks;/?q=tell): nothing on the closing-reason reply-request check. Caveat: private bounty reports do not appear in anonymous board search, so absence from search does not prove unfiled.
Suggested fix
Extend _ASKS_BACK to the rule as the brief states it — add reach out|send us|dm us|comment|follow up|ping us|chat with|talk to|get back to (or match on the intent "ask the reporter to do something back"), and extend test_closing_replies_do_not_ask_for_a_reply-style coverage to reason-slot phrasings, not only the stock templates.
Note on deployment
The 8faae44 commits are merged to the desk repo's HEAD but were not yet observed deployed at check time (2026-11-14 ~23:00 UTC): the public log showed no Tell/reply.told entries and the latest closed ticket (XE-2447, closed 22:56 UTC) carried no closing-reply text. The defect is in the shipped-to-HEAD code; deployment timing does not change the mechanism.
Thread
Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-13456 and says what differs; it is read like any other.