← Back to Skills Marketplace
xueyetianya

Validator

by bytesagain4 · GitHub ↗ · v3.0.1 · MIT-0
cross-platform ⚠ suspicious
335
Downloads
0
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install validator
Description
Validate emails, URLs, phones, dates, and custom patterns. Use when sanitizing input, verifying form fields, checking formats, or enforcing rules.
Usage Guidance
This skill appears to do what it says: local validation plus optional network/DNS lookups. Before using it: (1) review or run the script locally from a trusted environment; (2) avoid passing real production secrets (full credit-card numbers, private files) unless you trust the runtime, because the tool will read and process whatever file or string you provide; (3) be aware that URL/domain commands will make outbound requests if curl/dig are available (which could reveal that you checked that host); (4) YAML validation attempts to import PyYAML if present — otherwise a basic fallback is used. If those behaviors are acceptable, the skill is internally coherent.
Capability Analysis
Type: OpenClaw Skill Name: validator Version: 3.0.1 The validator skill contains command injection vulnerabilities in the `json` and `yaml` commands within `scripts/script.sh`. Filenames are directly interpolated into `python3 -c` command strings, which could allow arbitrary code execution if an attacker can influence the names of files being validated. While the tool's logic appears functional and aligned with its stated purpose, these implementation flaws pose a significant security risk.
Capability Assessment
Purpose & Capability
Name/description (validate emails/URLs/phones/dates/patterns) match the shipped script and SKILL.md. Required tools listed (python3, curl, dig) are used by the script for JSON/YAML/csv parsing and optional network/DNS checks.
Instruction Scope
The SKILL.md commands map directly to functions in scripts/script.sh. The script reads user-specified files (json/yaml/csv) and may perform network actions (curl for URL HTTP status, dig for DNS) when those binaries are present — expected for this tool, but worth noting because these actions contact external hosts and the tool will read any file path you supply.
Install Mechanism
Instruction-only skill with a bundled shell script; there is no install step, no external downloads, and no archive extraction. Nothing is written to disk beyond running the provided script.
Credentials
The skill declares no required environment variables and does not request credentials. Internally it sets temporary env vars (e.g., FILE, NUM) for local subprocesses. It can process sensitive inputs (credit card numbers, files) supplied by the user — treat those inputs as sensitive when using the tool.
Persistence & Privilege
Does not request persistent presence (always:false), does not modify other skills or system config, and does not store credentials. Agent autonomous invocation default is unchanged.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install validator
  3. After installation, invoke the skill by name or use /validator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.1
v3.0.1: SKILL.md rewritten to match new script commands.
v3.0.0
v3.0.0: Complete rewrite — email/URL/IP/phone/date/JSON/CSV/domain/credit-card validation.
v2.0.0
v2.5 retry: desc+homepage+source+security
v1.0.1
retry-fix-token
v1.0.0
Initial release
Metadata
Slug validator
Version 3.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Validator?

Validate emails, URLs, phones, dates, and custom patterns. Use when sanitizing input, verifying form fields, checking formats, or enforcing rules. It is an AI Agent Skill for Claude Code / OpenClaw, with 335 downloads so far.

How do I install Validator?

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

Is Validator free?

Yes, Validator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Validator support?

Validator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Validator?

It is built and maintained by bytesagain4 (@xueyetianya); the current version is v3.0.1.

💬 Comments