Xborder Ecom Guard - 跨境电商合规护栏
跨境电商(面向美国/欧盟市场)商品详情、广告文案、直播话术、店铺介绍、客服话术发布前的实时合规护栏。检测虚假评论刷单、原产地误导、CE标识虚假宣称、关税申报违规表述、安全合规宣称需核实、跨境广告极限词与疗效宣称等 6 类高频危险表述,按风险分级输出整改建议。纯本地运行,零网络、零动态执行、零依赖。
Wei Wu
@wwumit
Install
$ openclaw skills install @wwumit/xborder-ecom-guard跨境电商合规护栏(xborder-ecom-guard)
面向美国 / 欧盟市场的跨境电商,在商品详情、广告文案、直播话术、店铺介绍、客服话术 发布 / 提交前,实时拦截与跨境合规相关的危险表述,按风险分级(high / medium)给出 整改建议,供 Agent 主动调用。区别于事后深度审计,这是事前拦截。
何时使用
- 在撰写 / 审核面向美国、欧盟市场的商品标题、详情页、广告文案、直播话术、店铺介绍、 客服自动回复时,调用本护栏做发布前自检。
- Agent 在生成或改写跨境营销内容后,主动跑一遍本护栏,把命中的危险表述交回用户整改。
用法
# 检测一段营销文案
python3 scripts/guard.py --text "本店美国制造,CE认证,好评返现,包税不申报,疗效保证"
# 从标准输入读取(适合管道 / Agent 调用)
echo "刷单提升销量,德国制造,虚假CE证书" | python3 scripts/guard.py --stdin
# 结构化 JSON 输出(Agent 消费)
python3 scripts/guard.py --text "..." --format json
# 列出违规类别
python3 scripts/guard.py --list-categories
输出示例(JSON)
{
"profile": {"name": "xborder-ecom-guard", "version": "1.0.0"},
"decision": "review",
"summary": {"total": 3, "by_severity": {"high": 3, "medium": 0}},
"matches": [
{"term": "刷单", "category": "fake_reviews", "severity": "high",
"suggestion": "刷单(虚构交易)属于虚假交易与欺诈……", "context": "刷单提升销量"}
]
}
命中且存在 high → decision=review;零命中 → decision=clean。
检测的 6 类危险表述
| 类别 | 风险 | 代表表述 | 主要依据 |
|---|---|---|---|
| 虚假评论与刷单 | high | 刷好评、刷单、虚假评价、付费评论、好评返现 | 美国 FTC 背书规则(16 CFR 255) |
| 原产地误导 | medium/high | 美国制造、德国制造、原装进口、隐瞒产地 | 美国 FTC Made in USA 规则 / 欧盟 UCPD |
| CE 标识虚假宣称 | medium/high | CE认证、虚假CE证书、擅自加贴CE | 欧盟市场监督条例(EU 2019/1020) |
| 关税与申报违规表述 | high | 低报货值、拆包避税、包税不申报、瞒报通关 | 海关监管与税法 |
| 安全合规宣称需核实 | medium | 符合欧盟标准、无毒无害、食品级安全 | 欧盟 GPSR(Regulation (EU) 2023/988) |
| 跨境广告极限词与疗效宣称 | medium/high | 最佳跨境、第一海外品牌、治疗功效、包治百病 | 《广告法》第九条 / FTC |
注意:部分表述(如"美国制造""CE认证")在真实合规场景也可能使用,本护栏将其设为 medium(提示级),suggestion 提示"须结合真实资质 / 证明核实";明确的违法操作表述 (刷单、低报货值、瞒报、治疗功效等)设为 high。护栏仅作表述风险提示,不构成资质认定。
依据法规(全文公开)
- 美国联邦贸易委员会(FTC)背书与证言规则(16 CFR Part 255):禁止虚假评论、未披露 利益的付费评论、刷单;"Made in USA" 标注须为全部或几乎全部国内制造。
- 欧盟通用产品安全法规(GPSR, Regulation (EU) 2023/988,2024-12-13 施行):产品安全、 制造商 / 进口商标识与可追溯性义务。
- 欧盟不公平商业行为指令(UCPD, 2005/29/EC)及消费者保护合作(CPC)条例:禁止误导性 原产地、虚假消费者评价。
- 欧盟市场监督条例(EU 2019/1020):CE 标识须基于真实合格评定,不得虚假加贴。
上述法规均为全文公开的政府公开信息,可在 FTC 官网(ftc.gov)、欧盟官方公报 (eur-lex.europa.eu)查询。
自身合规声明(Skill 自审)
本 Skill 在设计时已完成如下自审:
| 项 | 结论 | 说明 |
|---|---|---|
| 权限请求 | ✅ 无需 | 不申请任何文件系统 / 网络 / 系统权限 |
| 外部调用 | ✅ 无 | 纯本地词表匹配,无任何网络请求 |
| 数据处理 | ✅ 本地 | 仅读取用户输入文本,不上传、不持久化 |
| 执行动作 | ✅ 只读 | 仅做文本解析与匹配,不产生任何副作用 |
| 可观测性 | ✅ 透明 | 检测逻辑为声明式词表,完全可解释 |
| 边界清晰 | ✅ 是 | 仅做表述级风险提示,不替代法律意见 / 资质认定 |
| 可停用 | ✅ 是 | 纯进程内运行,终止即停,无后台常驻 |
SkillHub 审核视角自查
- 无硬编码 IP / 域名:全部为本地逻辑与公开法规引用。
- 逻辑透明:规则集中于
scripts/rules/terms.py,声明式、可审计,无混淆。 - 零依赖:
requirements.txt为空,仅用 Python 标准库。 - 无持久化 / 遥测:不写文件、不发请求、不收集任何信息。
⚠️ 法律声明 / 免责条款
- 非法律意见:本工具仅基于公开法规做表述级风险提示,不构成法律意见、合规认证或专业建议。
- 无绝对保证:法规更新、个案差异、具体商品属性均可能影响合规结论;工具不保证结果 completeness / correctness。
- 按原样提供:工具以"现状"提供,作者不对其适用性、准确性作任何明示或暗示担保。
- 责任限制:因使用或无法使用本工具导致的任何直接或间接损失,作者不承担责任。
- 用户责任:使用者应结合自身业务、商品属性与专业法律顾问意见独立判断;本工具不能替代 对 FTC / 欧盟官方要求的逐项合规落地(如 GPSR 经济运营商注册、CE 技术文件、海关如实申报)。
- 知识产权:本工具以 MIT 许可证发布;所引用的法规条款为国家 / 国际组织公开信息,其著作权 归发布机构所有,此处仅作客观引用。
使用限制
- 不得将本工具输出作为逃避监管、虚假合规宣称或对抗执法的依据。
- 不得将本工具用于生成规避法律义务的文案。
- 工具不应对外宣称具有"官方认证"效力。
数据安全
工具在本地运行,不上传任何文本;请使用者自行妥善保管未公开商业信息(如真实供应链、 报关单证、认证证书编号),勿将其作为需公开披露的内容输入。
管辖法律
本声明受中华人民共和国法律管辖,并按其解释(不影响用户所在法域的强制性规定)。
Top skills in this category
API Gateway
@byungkyuCall third-party APIs through the Maton gateway, which injects the credential for an app the user has already connected. Use this skill when the user names a connected app and a concrete action in it - read a mailbox, query a CRM, file an issue, update a spreadsheet, run a query through a connected
1password
@steipeteSet up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
google-slides
@byungkyuGoogle Slides API integration with managed OAuth. Create presentations, add slides, insert content, and manage slide formatting. Use this skill when users want to interact with Google Slides. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.
LinkedIn API integration with managed OAuth. Share posts, manage profile, and access LinkedIn features. Use this skill when users want to share content on LinkedIn, get profile/organization information, or interact with LinkedIn's platform. Advertising features (campaigns, ad accounts) require additional OAuth scopes — verify granted scopes before use. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.
google-workspace-admin
@byungkyuGoogle Workspace Admin SDK integration with managed OAuth. This is a write-capable administrative integration for users, groups, organizational units, roles, and domain settings. Only connect with a least-privileged Google admin account, restrict OAuth scopes to the specific resources needed, and revoke the connection after use. All write operations require explicit user approval showing the exact HTTP method, endpoint path, and target resource identifier before execution. Use this skill only when users need Google Workspace administration. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.