Saltar al contenido
Skillpedia
Seguridad75 mil · #2857

form-https

Qué hace

Esta skill comprueba que los formularios y las peticiones de datos de un sitio web usen direcciones HTTPS seguras. Es para desarrolladores que recogen información de los visitantes.

Cuándo usarla

  • ✓Cuando un formulario de inicio de sesión o de registro envía datos a una dirección que empieza por http.
  • ✓Cuando tu JavaScript llama a un endpoint http inseguro.
  • ✓Cuando tu sitio todavía sirve algunas páginas por http sin cifrar.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-https/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes comprobar que todos mis formularios envíen los datos por HTTPS?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente analiza las acciones de los formularios y las peticiones de JavaScript en busca de direcciones http inseguras. Sugiere cambiarlas a https y configurar el servidor para redirigir el tráfico http sin cifrar.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Por qué importa el HTTP sin cifrar?

Los datos enviados por HTTP pueden ser leídos por cualquiera en la misma red, incluidas las contraseñas.

¿Cómo muestra el navegador un formulario inseguro?

La skill dice que los navegadores muestran una advertencia de No seguro en la barra de direcciones en las páginas HTTP.

¿Esto afecta al autocompletado?

La skill indica que Chrome 86 y posteriores desactivan el autocompletado en los formularios HTTP para proteger las credenciales.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2857
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas