{"repo":"jnMetaCode/shellward","free":true,"listed":false,"github":"https://github.com/jnMetaCode/shellward","clone":"git clone https://github.com/jnMetaCode/shellward.git","description":"AI 应用合规网关 · 一行命令体检 AI 项目的「数据出境 / 硬编码密钥 / 个人信息暴露」（网安法·PIPL·等保2.0·数据出境·AI标识），并给出境内模型替代建议；可作运行时防护拦截注入与数据外泄 · 中文优先 · 零依赖 · 开源","language":"TypeScript","stars":131,"topics":["openclaw","prompt-injection","security","ai-agent","ai-security","llm-security","shellward","pii-detection","agent-security","cursor"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"ShellWard AI 应用合规网关 — 为中国监管而生的 AI Agent 安全合规工具（网安法 2026 / PIPL / 等保2.0 / 数据出境 / AI标识）。先一行命令体检项目合规风险，再在运行时拦截提示注入、数据外泄与危险命令。中文威胁检测 + 中文 PII + 零依赖——英文工具不做的事。 🌐 官网: https://jnmetacode.github.io/shellward/ 中文 English 30 秒合规体检 零安装、只读、不上传任何数据。一行命令，扫出你的 AI 项目踩了哪些合规红线： 输出一张映射到 网安法 / PIPL / 等保2.0 / 数据出境 / AI标识 的红黄绿评分卡，并精确到 文件:行 ： 想在浏览器里看？ npx shellward scan --open （扫完直接打开报告）或 --serve （本地 http://localhost 提供报告）—— 数据全程不出本机 。 Web 扫描器 / 客户端（双模式） ： - shellward web — 公开仓库 web 扫描器：网页贴「公开仓库 URL」或用 /scan?repo=URL 链接体检（可部署，见 Dockerfile ）。 - shellward web --local — 本地 web GUI（客户端体验）：填本地路径扫描， 私有代码不上传、不出本机 ，无需命令行。 --json 供 CI · --ci 发现 critical 时让构建失败 · --html report.html 导出可打印成 PDF 的报告（备案/审计存档）· 也可作 GitHub Action 接入 PR 门禁。 检测重点： 境外大模型端点与 SDK 依赖（数据出境——中国独有、英文工具没有的概念） 、硬编码密钥、文件中的中文 PII、 .env 暴露。扫到境外模型（如 openai 依赖）时， 直接给出境内合规替代 （通义千问 / DeepSeek / Kimi / 智谱）及其 OpenAI 兼容 base url ——多数迁移只需改一个 base url 。 想在浏览器里看报告？ 在项目目录跑 npx shellward scan --open —— 自动扫描并在浏览器打开报告， 无需上传、无弹框、数据不出本机 （最干净）。也可 npx shellward web --local 起本地图形界面（粘贴/点选路径，服务端直读）。 更多命令、运行时防护（MCP / 插件）、与英文文档见下方 English 章节。 --- English AI Agent Security & Compliance Gateway — the AI agent security middleware built for China's regulatory regime (CSL / PIPL / MLPS 2.0 / cross-border data / AI labeling). Scan your project for compliance risks, then block prompt injection, data exfiltration, and dangerous commands at runtime. Chinese-language threat detection + Chinese PII + zero dependencies — things English tools don't do. Quick start: npx shellward","default_branch":null,"files":null,"tree":[],"storefront":"/r/jnMetaCode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jnMetaCode/shellward/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}