Skip to content
EventPast event

WeChat agent plugin alleged not to neutralize tags in media descriptions

1 reports1 reporting sourcesLatest report

Start here

AI overview

On November 5, 2026, an issue on the WeChat agent plugin dsh-plugin-wechat pointed out that the media message branch rebuilds the prompt and overwrites previously processed content, and that the weixin_ tag in the caption enters the prompt without being neutralized, forming a prompt injection entry point. The report located src/index.js:2187, where prompt = parts.join('\n\n') overwrites the result composed of quoted and neutralizeTags(message.text).

Generated by AI from reports · Updated 24 days ago

Progress timeline

Nov 5
  1. xrzhai/dsh-plugin-wechat
    WeChat agent plugin dsh-plugin-wechat reports that the media branch overwrites the prompt, and an unneutralized caption can lead to tag injection

    An issue in the WeChat agent plugin dsh-plugin-wechat points out that the media message branch rebuilds the prompt and overwrites previously processed content; the weixin_ tags in the caption enter the prompt without being neutralized, creating a prompt injection entry point. The report locates that at src/index.js:2187, prompt = parts.join('\n\n') overwrites the result composed of quoted and neutralizeTags(message.text), and that in src/media/inbound.js, describeInboundMedia directly appends the raw caption to the end. This leads to three consequences: when attachment download fails, the text entered by the user does not enter the prompt at all; the caption can inject weixin_ tags; and quoted replies with media messages are discarded entirely. The report rates the impact as high.