Pular para o conteúdo
Skillpedia
Segurança75 mil · #2857

form-https

O que ela faz

Esta skill verifica se formulários e requisições de dados de um site usam endereços HTTPS seguros. É para desenvolvedores que coletam informações dos visitantes.

Quando usar

  • ✓Quando um formulário de login ou cadastro envia dados para um endereço que começa com http.
  • ✓Quando seu JavaScript chama um endpoint http inseguro.
  • ✓Quando seu site ainda entrega algumas páginas por http simples.

Link da skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-https/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-https/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode verificar se todos os meus formulários enviam dados por HTTPS?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente examina as ações dos formulários e as requisições em JavaScript em busca de endereços http inseguros. Ele sugere trocá-los para https e configurar o servidor para redirecionar o tráfego http simples.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Submit forms over HTTPS

A login form that posts credentials to an HTTP endpoint sends usernames and passwords as plain text over the network — anyone on the same Wi-Fi, the ISP, or a network proxy can read them without any special tools.

Quick Reference

  • Every <form action> URL must use https:// — never http://
  • Forms without an explicit action attribute submit to the current page URL — ensure the page itself is on HTTPS
  • Check fetch() and XMLHttpRequest calls in JavaScript — data posted to http:// endpoints is unencrypted
  • Browsers show a 'Not Secure' warning in the address bar when a form is on an HTTP page
  • From Chrome 86+, autofill is disabled on HTTP forms to protect credentials

Check

Scan all HTML form elements for action attributes pointing to http:// URLs. Check all JavaScript fetch() and XMLHttpRequest calls for http:// endpoints. Verify the current page URL is HTTPS so forms without an explicit action submit securely.

Fix

Replace all http:// form action URLs with https:// equivalents. Ensure the web server redirects HTTP to HTTPS (301) so that forms on the page also benefit. For JavaScript API calls, update all endpoint URLs to use https://.

Explain

Explain why form submissions over HTTP expose user data in transit, how network attackers can intercept plain HTTP traffic, and what the browser security indicators look like on insecure forms.

Code Review

Review server config, headers, forms, and integration points related to Submit forms over HTTPS. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/security/form-https

Perguntas frequentes

Por que o HTTP simples importa?

Dados enviados por HTTP podem ser lidos por qualquer pessoa na mesma rede, inclusive senhas.

Como o navegador mostra um formulário inseguro?

A skill diz que os navegadores exibem um aviso de Não seguro na barra de endereço em páginas HTTP.

Isso afeta o preenchimento automático?

A skill observa que o Chrome 86 e versões posteriores desativam o preenchimento automático em formulários HTTP para proteger credenciais.

Detalhes

Descrição original do autor

Use when reviewing HTML forms, fetch/XHR calls, and form action attributes to ensure data is submitted exclusively over HTTPS.

repo: thedaviddias/Front-End-Checklist

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2857
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas