Skip to content
Back to skills

Forge Input Validation

ASecurity

Validate and normalize all untrusted input at system boundaries with allow-lists and typed parsing

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsrustshellsql

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-input-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Input Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Input Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-input-validation/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-input-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-input-validation
description: Validate and normalize all untrusted input at system boundaries with allow-lists and typed parsing
---

<!-- Generated from catalog/skills/input-validation/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# Input validation

Parse, don't validate: turn untrusted input into typed values once, at the edge.

## At every boundary
- HTTP bodies, query strings, headers, CLI args, env vars, files, queue messages, webhook payloads and LLM output.
- Use a schema library; reject unknown fields where mass assignment is a risk.

## Rules
- Allow-lists over block-lists (enums, regexes anchored with `^...$`, length limits).
- Normalize before checking (Unicode, case, paths with `path.resolve` + prefix check).
- Parameterized queries and argument arrays for shell; never string-concatenated SQL or commands.

## Verify
Tests send oversized, wrong-type, extra-field and path-traversal inputs to the changed boundary and assert clean 4xx rejections.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.