Skip to content

shellward

Scanner and runtime guard that checks AI projects against Chinese compliance rules

Permissive (OSI) · Apache-2.0 AI-native

Listed by , founder & editor

56

Health

Active

Overview

Stars

140

Last commit

2 months ago

Sep 2026

Repository age

8 months

since Mar 2026

Latest version

v0.7.21

Jun 2026

Contributors

–

1 active in 90 days

Releases

25

last 12 months

Language

TypeScript

ShellWard is a TypeScript tool that checks AI applications against Chinese regulatory requirements, including the Cybersecurity Law, PIPL, MLPS 2.0, cross-border data transfer and AI labeling. One command scans a project and produces a scorecard with findings down to file and line. It runs locally and does not upload data.

The scan looks for overseas LLM endpoints and SDK dependencies, hardcoded secrets, Chinese personal information in files, and exposed .env files. When it finds an overseas model, it suggests domestic alternatives such as Qwen, DeepSeek, Kimi and GLM, with OpenAI-compatible base URLs. It also provides a skill for coding agents such as Claude Code, Cursor and Codex that runs a fuller audit and writes a report. A web scanner mode can be deployed with the included Dockerfile, and a local web GUI is available.

It also positions itself as a runtime layer that blocks prompt injection, data exfiltration and dangerous commands. The authors state it is technical self-check material, not legal advice.

Who it's for

Teams shipping AI products in China

It maps findings to Chinese rules and points to the exact file and line.

Skip if: You need formal legal sign-off, filings or classification, which a tool cannot provide.

Developers using coding agents like Claude Code or Cursor

An installable skill drives a deeper audit with evidence checks.

Skip if: You want a deterministic scan only, with no agent in the loop.

Security engineers reviewing LLM data flows

It detects overseas endpoints, SDK dependencies, secrets and PII in files.

Skip if: Your concern is general global compliance rather than Chinese regulation.

The problem it solves

AI projects that call overseas models or handle personal data can break Chinese compliance rules without anyone noticing. Checking by hand is slow and misses issues buried in code and config. This gives you a quick scan with a scored report.

Strengths

  • One command, npx shellward scan, with no installation and no upload
  • Findings point to file and line and map to specific regulations
  • Detects endpoints and SDKs for dozens of overseas LLM providers
  • Suggests domestic model alternatives with compatible base URLs
  • Active: 25 releases in the last year, Apache-2.0

Trade-offs

  • Most of the 14 regulatory controls need manual confirmation after a scan
  • Aimed at Chinese regulation, so less useful elsewhere
  • Documentation is mainly in Chinese
  • Essentially a single recent contributor

Self-host shellward

Self-hostable
No (desktop or local app)

Quick start

npx shellward scan

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is open source under Apache-2.0.

Does it upload my code?

No. The scan is read-only and local, and the local web mode keeps private code on your machine.

How do I run it?

Run npx shellward scan in your project directory.

Is the result legal advice?

No. The authors describe it as technical self-check material.

Similar tools in AI security and guardrails

jev-as-a-judge

AI security and guardrails

115 18 2 months ago Dormant Unknown

localmod

AI security and guardrails

Offline moderation API that flags toxicity, PII, spam and prompt injection in text and

116 22 32 days ago Slowing MIT

Claw-Hunter

AI security and guardrails

Script that finds OpenClaw AI agent installs on endpoints for IT security teams

89 8 9 months ago Dormant MIT

skill-audit

AI security and guardrails

63 3 10 months ago Dormant Unknown

clawsecure-openclaw-security

AI security and guardrails

Security scanner for OpenClaw agent skills, checked against the OWASP ASI Top 10

41 4 2 months ago Slowing MIT

agent-browser-shield

AI security and guardrails

Browser extension that cleans pages and blocks prompt injection for browsing AI agents

35 3 18 days ago Active PolyForm-Shield-1.0.0