惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 聂微东
GbyAI
GbyAI
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
Visual Studio Blog
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
B
Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
雷峰网
雷峰网
爱范儿
爱范儿
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
P
Proofpoint News Feed
A
About on SuperTechFans
I
InfoQ
F
Fortinet All Blogs
L
LangChain Blog
T
Tailwind CSS Blog

Under the Sun with Paddy

自”妍” WordPress 主题性能实测 – Paddy ‘s Blog 为什么做了一个报纸风格的 WordPress Markdown 主题 - Under the Sun with Paddy 88×31 – Under the Sun with Paddy 傻孩子我怕你啊,禁止被资本主义异化 – Under the Sun with Paddy [Agent 考古] Ciatto 2025 解读:LLM 住进 BDI 解释器,计划生成与 believes achieved 退化 – Under the Sun with Paddy [Agent 考古] 意图编辑权:从 BDI 到 LLM Agent,谁有权决定机器何时停下来 – Under the Sun with Paddy [Agent 考古] 25,000 次任务实测:多 Agent 协作协议质量排序与治理悖论 – Under the Sun with Paddy [Agent 考古] TouringMachines 与 INTERRaP:混合架构如何调和 Agent 的反应与慎思 – Under the Sun with Paddy [Agent 考古] KQML、FIPA、JADE 协议史:Agent 互操作失败全记录与 MCP/A2A 预测 – Under the Sun with Paddy [Agent 考古] 多 Agent 冲突仲裁三方案:均衡约定、PERSUADER 劝说与行为抽象 – Under the Sun with Paddy [Agent 考古] STEAM 与 ARCHON:联合意图理论如何落地真实工业多智能体系统 – Under the Sun with Paddy [Agent 考古] 合同网协议详解:Smith 1980 任务招标五步流程与囚徒困境的 Python 复现 – Under the Sun with Paddy [Agent 考古] 什么是 Agent?Wooldridge & Jennings 弱概念四性质与强概念定义详解 – Under the Sun with Paddy [Agent 考古] 意图即带承诺的选择:1990 年,”不放弃”第一次有了形式定义 – Under the Sun with Paddy [Agent 考古] 从进程栈到 Z 规范:BDI 意图架构的四代演化 – Under the Sun with Paddy 打开即沦陷:keyv 蠕虫与 AI 编码助手时代的供应链暗战 – Under the Sun with Paddy [Agent 考古] 意图即承诺,智能体即社会——自主性的第一个可计算答案 (阶段三导航) – Under the Sun with Paddy 雷池WAF + fail2ban + AbuseIPDB 完整实战:从日志解析到自动封禁上报 – Under the Sun with Paddy 嚼别人嚼过的口香糖,AI 时代人的价值 – Under the Sun with Paddy 比尔·盖茨长文警告原文翻译:《动荡的 AI 时代已经到来,我们现在的选择至关重要》 – Under the Sun with Paddy [Agent 考古] 自知、自觉、自止——终章定论:Agent 不需要意识,但必须知道自己的边界、理由和终点 – Under the Sun with Paddy 雷池 WAF 一键升级失败解决:手动离线升级注意事项 – Under the Sun with Paddy [Agent 考古] 多头注意力共享目标、参数即隐式模型、CoT 是概率采样——LLM 被三条“反叛伏线”夹击 – Under the Sun with Paddy [Agent 考古] 别再给机器人建“世界模型”了!Brooks用代码证明:世界本身就是最好的模型 – Under the Sun with Paddy [Agent 考古] 别再给机器人装“大脑”了!1986 年的“三无”架构证明:越不思考,活得越久。 – Under the Sun with Paddy [Agent 考古] 你的大脑里住着一个小人吗——Minsky 说:不,住着成百上千个”笨蛋” – Under the Sun with Paddy [Agent 考古] 600 条规则,一个反向推理引擎——专家系统的顶峰是怎么建成又怎么暴露边界的 – Under the Sun with Paddy [Agent 考古] 秘书要求他离开房间——一个程序为什么让人想跟它说心里话 – Under the Sun with Paddy [Agent 考古] 像冰箱一样大的家伙,是怎么学会推箱子的 – Under the Sun with Paddy [Agent 考古] 陈述句革命:告诉AI事实,让它自己想该做什么 – Under the Sun with Paddy
我与垃圾评论 – Under the Sun with Paddy
Paddy · 2025-12-09 · via Under the Sun with Paddy

我与垃圾评论

作为刚建站两个月时,我小心翼翼开放评论第二天就经历了所有WordPress用户共同的噩梦:违规垃圾评论。

在尝试了Akismet(对中文内容拦截效果很差)、全部人工审核(感觉让别人等着审核通过不太好。。。)。

终于发现了两个插件@obabybaby-wp-comment-filter@沈唁志wp-baidu-textcensor

但很快发现了新问题:

  1. 广告开始出现在用户名字段,成功绕过所有检查
  2. 复杂的纯中文的软文广告形态绕过黑名单匹配
  3. 手动维护黑名单的成本极高(试过导入一个很长很长的中文敏感词库导致页面崩溃)
  4. wp-baidu-textcensor对百度审核API的调用没有充分保护,只有频率限制。被有心人用个IP池什么的刷完了咋办。

技术选型:混合防御策略的诞生

经过两周的测试,我发现一个分层验证模型(以baby-wp-comment-filter为基础,后置百度文本内容审核)效果最佳。

通过拒绝通过拒绝安全可疑违规用户提交评论WAF人机验证与频率限制Baby WP基础检查即时拒绝百度AI内容审核自动发布人工审核自动拦截

实施方面我是没有那个能力去从零写,就只有东拼西凑了。

防御层处理速度识别能力资源消耗
雷池 Bot防护2s左右人及防护,但出现了正常评论丢失的问题大约1g内存
Baby WP本地规则毫秒级英文/基础格式可忽略
百度AI审核毫秒级中文语义/变体广告API配额

目前在Baby WP的框架下加入了论百度AI审核的能力,后台插件太多看着难受。我爱大而美\^o^/。

分支地址:https://github.com/PaddySun/baby-wp-comment-filter/tree/feat/baidu-textcensor

还在测试阶段,之后也会继续维护开发分支!(立flag

致谢与Roadmap

特别感谢原插件作者@obaby的基础框架,和@沈唁志的百度审核部分代码。我爱开源社区。

  • 近期:完整测试后PR到baby-wp-comment-filter
  • 中期:加入评论用户名长度限制自定义
  • 长期:可能会研究下NLP和效率优化技术、垃圾评论特征分析等等

需要你的帮助

谢谢你看到这里,那我就在厚脸皮一下。

  1. 测试用例征集 如果你遇到过特殊形态的垃圾评论,欢迎在Issue提交样本,在本站留言会被拦截(希望如此
  2. 误报/漏报/反馈如果你在本站留言被错误拦截,我大概率能受到提醒与你的评论原文。但方便的话请留言邮件或任何方式通知我。

无论最终PR是否被@obaby通过,这个分支都会持续维护。折腾永不停止,与人斗其乐无穷。