← Back to Skills Marketplace
chentuan7963-afk

Legal Site Generator

by chentuan7963-afk · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
398
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install legal-site-generator
Description
Generate a compliant legal website with Privacy Policy, Terms, support, and data deletion pages, ready for Cloudflare Pages deployment.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install legal-site-generator
  3. After installation, invoke the skill by name or use /legal-site-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug legal-site-generator
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Legal Site Generator?

Generate a compliant legal website with Privacy Policy, Terms, support, and data deletion pages, ready for Cloudflare Pages deployment. It is an AI Agent Skill for Claude Code / OpenClaw, with 398 downloads so far.

How do I install Legal Site Generator?

Run "/install legal-site-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Legal Site Generator free?

Yes, Legal Site Generator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Legal Site Generator support?

Legal Site Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Legal Site Generator?

It is built and maintained by chentuan7963-afk (@chentuan7963-afk); the current version is v1.0.1.

💬 Comments