Skip to content

[Bug]屏蔽词可以通过引用绕过 #9227

Description

@15515151

What happened / 发生了什么

Image

Reproduce / 如何复现?

如上

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

v4.26.5
aiocqhttp(onebot)

OS

Linux

Logs / 报错日志

[2026-07-13 02:22:23.995] [Plug] [DBUG] [astrbot.group_chat_context:158]: group_chat_context | 超:GroupMessage:00000| [Autumn_Wing/02:22:23]: ⚠️[DIRECTED AT YOU] [Quote(Autumn_Wing: 众所周知青梅精会刺激口水大量分泌物,淀粉砖可以瞬间吸收唾液,两个一起吃,看看矛和盾谁更强)] [At: 香菜七号机] 你说呢
[2026-07-13 02:22:24.002] [Core] [DBUG] [agent_sub_stages.internal:193]: ready to request llm provider
[2026-07-13 02:22:24.002] [Core] [DBUG] [agent_sub_stages.internal:217]: acquired session lock for llm request
[2026-07-13 02:22:24.455] [Core] [DBUG] [pipeline.context_utils:95]: hook(OnLLMRequestEvent) -> antipromptinjector - finalize_llm_request
[2026-07-13 02:22:24.456] [Core] [DBUG] [pipeline.context_utils:95]: hook(OnLLMRequestEvent) -> astrbot_plugin_LLMPerception - my_custom_hook_1
[2026-07-13 02:22:24.456] [Plug]
[INFO]
[astrbot_plugin_llmperception.main:430]: 已添加感知信息: 发送时间: 2026-07-13 02:22:24 | 周一, 工作日, 深夜 | 农历丙午年(马年)五月廿九 | 当前节气: 小暑 | 平台: QQ, 群聊, 群名: Autumn_Wing、香菜...

这里就已经进入llm请求了,应该不用后续日志了吧

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions