Skip to main content

input-validation

Validate and constrain untrusted input at the boundary. Use on any handler that accepts external data.

Informações da origem

Repositório
Archive228/loopkit
Última atividade na origem
29 de junho de 2026 às 22:25
Idioma detectado do SKILL.md
inglês
Estrelas
757
Forks
124

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
input-validation
description
Validate and constrain untrusted input at the boundary. Use on any handler that accepts external data.
when_to_use
request bodies, query params, file uploads, webhook payloads, form data
# Input Validation Validate at the edge, before the data touches logic or storage. - **Schema** — type, required fields, allowed values. Reject unknown fields rather than ignoring them. - **Bounds** — string length, number ranges, array size. An unbounded input is a DoS and a memory bomb. - **Format** — emails, UUIDs, dates parsed and re-validated, not trusted as strings. - **Files** — size limit, type allowlist (check content, not just extension), no path traversal in names. - Reject with a clear 4xx and a message that says what's wrong — without leaking internals. Never trust "it comes from our own frontend". The request can come from anywhere.
Ver no GitHub