Open-source plugin hard-blocks Qwen's hallucinated signed OSS URLs before agent tool calls

builderjaydub · x · 2026-10-27

qwen-block-proxy-artifacts is an opencode plugin that hard-blocks hallucinated file-proxy artifact URLs before any tool call goes out.

The trigger: Qwen 3.8 Flash Next was observed fabricating signed Aliyun OSS "file proxy" links — complete with Expires, OSSAccessKeyId and Signature parameters — and feeding them to webfetch, MCP fetchers, or curl. Nobody configured those hosts; the model simply regurgitated the URL shape memorized from pretraining data.

The plugin pattern-matches these hallucinated URL shapes and blocks them pre-dial-out, keeping agents from chasing nonexistent links. MIT-licensed, with tests and a SURGERY.md write-up.

Original post →

More from coding & agent

coding & agent channel →