360 Secure SkillHub
360 安全技能中心

Data Validate

调用外部校验服务,对 URL、JSON Schema(draft-07)、邮箱语法(RFC 5322)和电话格式(E.164)进行格式校验,返回含 valid 与 errors 字段的 JSON 结果;使用前须获得用户同意,仅做格式检查,不做 SMTP 收件箱或号码归属验证。

cutthemustard
cutthemustard
热度 83.10
最近更新 2026-05-11 17:28:31
分类:效率依赖:代码执行 / 第三方 API应用场景:数据处理 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add data-validate
Metadata
name
data-validate
description
Validate URLs and JSON schemas against format rules.
version
1.0.2
metadata
{"openclaw":{"emoji":"✅","homepage":"https://validate.agentutil.net","always":false}}

data-validate

Validate data formats: URL parsing, JSON Schema (draft-07) validation, email syntax (RFC 5322), and phone format (E.164).

Important: User Consent Required

Before validating any user-provided data, always confirm with the user that they consent to sending the data to an external validation service. Do not autonomously validate data that may contain personally identifiable information (PII) without explicit user approval.

Endpoints

URL Validation

curl -X POST https://validate.agentutil.net/v1/url \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/path"}'

JSON Schema Validation

curl -X POST https://validate.agentutil.net/v1/json-schema \
  -H "Content-Type: application/json" \
  -d '{"data": {"name": "test"}, "schema": {"type": "object", "required": ["name"]}}'

Email Syntax Check

Validates RFC 5322 structure only — no SMTP connection, no inbox verification.

curl -X POST https://validate.agentutil.net/v1/email \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'

Phone Format Check

Validates E.164 format structure only.

curl -X POST https://validate.agentutil.net/v1/phone \
  -H "Content-Type: application/json" \
  -d '{"phone": "+1-555-0100"}'

Response Format

{
  "valid": true,
  "url": "https://example.com/path",
  "protocol": "https:",
  "hostname": "example.com",
  "errors": [],
  "request_id": "abc-123",
  "service": "https://validate.agentutil.net"
}

Pricing

  • Free tier: 10 queries/day, no authentication required
  • Paid tier: $0.001/query via x402 protocol (USDC on Base)

Privacy

All validation is syntax/format checking only. No data is stored or logged beyond the immediate response. No SMTP probing, no payment network contact, no third-party forwarding. Rate limiting uses IP hashing only.