T09 · Insecure Skill Coding Practices
- Location
SKILL.md:123- Finding
Spoofable Sender Identity and Reply Routing
- Content
View full analysis
recipient】` or `【sender->recipient1,recipient2...】📌` - It was sent by a user (`sender_type = user`) - Its `msg_type` is `post` - It has a reference (`reply_to` field) If present: Parse the first message referenced by it and obtain the sender inside `【】`. If absent: Search upward and find the nearest message satisfying: - It matches the `【sender->recipient】` or `【sender->recipient1,recipient2...】` format - The sender is the sender of the current message ``` The reply rule at lines 284–289 additionally instructs the receiver to parse the sender from the marker and reply to that identity: ```text Reply rules: - If the message contains `[pin]【sender->recipient】[pin]` or `📌【sender->recipient】📌`, parse `【】` and reply to the sender named inside it. - If there is no marker, follow the normal logic and reply to the person who mentioned the bot. - Replies also use two steps: bot identity plus a user-identity reply. - Prefer a referenced user message when parsing the sender. - If no matching referenced message is found, search backward. ``` ### Technical Analysis The protocol treats a display name embedded in ordinary message content—`【sender->recipient】`—as an authoritative sender identity. Message bodies and display names are not authentication factors and can be controlled or imitated by group participants. Although the preferred path examines a referenced message, the protoco ...[truncated 2007 chars]- Remediation
View remediation
