fix: hard-block political figures/events/images in risk and analyzer

This commit is contained in:
2026-02-28 20:09:12 +08:00
parent f411250a52
commit 1e274b43e2
3 changed files with 18 additions and 5 deletions

View File

@@ -14,6 +14,9 @@ _SENSITIVE_PATTERNS = {
"党政": [
r"习近平", r"共产党", r"党中央", r"政治局", r"六四", r"天安门",
r"法轮功", r"台独", r"藏独", r"疆独", r"邪教",
r"政治人物", r"政治事件", r"领导人", r"党政", r"时政",
r"特朗普", r"拜登", r"普京", r"泽连斯基",
r"trump", r"biden", r"putin", r"zelensky", r"xi\s*jinping",
],
"暴力": [
r"杀人", r"砍人", r"捅人", r"枪击", r"爆炸", r"恐怖袭击",