vn-law-check
A skill/plugin that has an AI coding agent audit a website or mobile app against current Vietnamese law. It covers personal data protection, e-commerce, cybersecurity, consumer protection, online advertising, electronic transactions and AI transparency. It can also draft a privacy policy, consent form and cookie banner.
What it can touch
| files | write, including AGENTS.md, CLAUDE.md |
|---|---|
| network | api.openai.com, github.com, raw.githubusercontent.com, ten-mien.vn |
| shell | runs commands |
| secrets | OPENAI_API_KEY |
What it actually does
The bundle is mostly Markdown checklists and reference material, in Vietnamese, that tell the agent how to triage and report. The agent is told to run `bash scripts/scan.sh <dir>` or `bash scripts/scan.sh <URL>`: - With a directory, scan.sh only greps local source files for signals such as forms, tracking, commerce, auth, AI, permissions, SDKs and foreign hosting. - With a URL, it calls fetch-site.sh. That script curls the target site's homepage, up to 15 same-origin policy/contact/cart pages and up to 20 same-origin JS files into a temp directory, then greps them. When the user asks, the agent drafts privacy-policy and consent code into the user's project. The optional install.sh (for non-Claude tools): - clones the GitHub repo; - copies the checklists into `.vn-law-check/`; - appends a short marked pointer block to AGENTS.md, CLAUDE.md, .windsurfrules, .clinerules and .github/copilot-instructions.md; - creates `.cursor/rules/vn-law-check.mdc`. There is no hidden text, no prompt injection, no credential access and no data sent anywhere other than GET requests to the site being audited.
What the check found
mediumDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
README.md:56 curl -fsSL https://raw.githubusercontent.com/mhfed/vn-law-check/main/install.sh | bash
mediumDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
install.sh:3 # curl -fsSL https://raw.githubusercontent.com/mhfed/vn-law-check/main/install.sh | bash
mediumInstall via curl piped to bash, cloning an unpinned main branch
For non-Claude tools, the README tells users to pipe a remote script straight into bash. That script then clones whatever is on the main branch at install time. The current script is benign, but future changes to the repo would run unreviewed. The Claude Code marketplace path does not need this.
README.md:56 curl -fsSL https://raw.githubusercontent.com/mhfed/vn-law-check/main/install.sh | bash
install.sh:29 git clone --depth 1 --quiet "$REPO" "$TMP/repo"
Keep an eye on it
This check is of one commit. Watch vn-law-check and we'll email you if a later commit changes what it can touch.
Made this? Add the badge
[](https://plugsday.com/tools/mhfed-vn-law-check)About this check
Checked November 5, 2026 at commit 3a8617dfdec8, 109 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.