Skip to content
Skillpedia
Security75k · #2857

form-https

What it does

This skill checks that forms and data requests on a website use secure HTTPS addresses. It is for developers who collect information from visitors.

When to use it

  • ✓When a login or sign-up form sends data to an address that starts with http.
  • ✓When your JavaScript calls an insecure http endpoint.
  • ✓When your site still serves some pages over plain http.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-https/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check that all my forms send data over HTTPS?”

5 new skills a week. 1 minute to read.

How it works

The agent scans form actions and JavaScript requests for insecure http addresses. It suggests switching them to https and setting the server to redirect plain http traffic.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Why does plain HTTP matter?

Data sent over HTTP can be read by anyone on the same network, including passwords.

How does the browser show an insecure form?

The skill says browsers show a Not Secure warning in the address bar on HTTP pages.

Does this affect autofill?

The skill notes that Chrome 86 and later disable autofill on HTTP forms to protect credentials.

Details

Original description by the author

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

Popularity

GitHub stars
75k
Ranking position
#2857
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills