← 返回 Skills 市场
chentuan7963-afk

Legal Site Generator

作者 chentuan7963-afk · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
398
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install legal-site-generator
功能描述
Generate a compliant legal website with Privacy Policy, Terms, support, and data deletion pages, ready for Cloudflare Pages deployment.
使用说明 (SKILL.md)

Legal Site Generator

Generate an App Store compliant legal website suitable for Cloudflare Pages.

Features

  • Privacy Policy
  • Terms of Service
  • Support Page
  • Data Deletion Page
  • GDPR & CCPA compliant
  • No ads
  • No location collection
  • No tracking scripts

Output

Generates a dist/ folder ready for upload to Cloudflare Pages.

Parameters

  • appName
  • companyName
  • contactEmail

Security

This skill does not execute external programs. It only generates static HTML files.

安全使用建议
This skill is not obviously malicious, but it is inconsistent and incomplete: SKILL.md promises multiple legal pages, yet the handler only writes a placeholder index.html. Before installing or invoking it: (1) review skill.js locally and run it in an isolated or empty directory to avoid unexpected file writes; (2) if you expect full privacy/terms/delete pages, update the handler to call the provided generation functions and write those HTML files, or reject the skill; (3) note that sanitize() only escapes < and > — if you plan to inject attributes or rich content, review and strengthen escaping/encoding to avoid HTML injection; (4) confirm contact email inputs and test the generated output to ensure the legal text meets your requirements. If you need the promised full-site behavior, ask the author for a fixed handler implementation or patch it yourself.
功能分析
Type: OpenClaw Skill Name: legal-site-generator Version: 1.0.1 The skill is classified as suspicious due to a Cross-Site Scripting (XSS) vulnerability in the generated output. The `handler` function in `skill.js` directly embeds `input.appName` and `input.contactEmail` into the `dist/index.html` file without proper HTML sanitization. While the file defines a `sanitize` function and uses it in other document generation functions, the primary `handler` fails to apply it to the `index.html` it actually creates, making the output vulnerable to XSS if malicious input is provided for these parameters.
能力评估
Purpose & Capability
The SKILL.md and top-level description promise a full set of pages (privacy, terms, support, data deletion) in a ready-to-deploy ./dist folder. The code contains helper functions to generate those pages, but the handler implementation only writes a single placeholder index.html into ./dist and does not call the generation functions. That mismatch means the skill does not deliver its claimed capability as-is.
Instruction Scope
The runtime instructions and code are limited to generating static HTML and writing files under the current working directory (./dist). The skill does not invoke external programs, network endpoints, or read environment variables or arbitrary system files. Writing to the working directory is expected for this purpose but you should run it in a safe/empty folder.
Install Mechanism
There is no install spec and no external downloads. The package.json and skill.js are included in the bundle; nothing is fetched from outside during install. This is lower-risk from an install perspective.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not access any. No secrets appear to be requested or used.
Persistence & Privilege
The skill is not marked always:true, does not modify other skills or system-wide settings, and only writes files under ./dist. It does not request persistent elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install legal-site-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /legal-site-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- No changes detected in this version. - All features and documentation remain the same as the previous release.
v1.0.0
Generate App Store legal site for Cloudflare Pages
元数据
Slug legal-site-generator
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Legal Site Generator 是什么?

Generate a compliant legal website with Privacy Policy, Terms, support, and data deletion pages, ready for Cloudflare Pages deployment. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 398 次。

如何安装 Legal Site Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install legal-site-generator」即可一键安装,无需额外配置。

Legal Site Generator 是免费的吗?

是的,Legal Site Generator 完全免费(开源免费),可自由下载、安装和使用。

Legal Site Generator 支持哪些平台?

Legal Site Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Legal Site Generator?

由 chentuan7963-afk(@chentuan7963-afk)开发并维护,当前版本 v1.0.1。

💬 留言讨论