form-https
できること
このスキルは、ウェブサイトのフォームとデータのリクエストが、安全な HTTPS のアドレスを使っているかを確認します。訪問者から情報を集める開発者向けです。
使う場面
- ✓ログインやサインアップのフォームが、http で始まるアドレスへデータを送っているとき。
- ✓JavaScript が、安全でない http のエンドポイントを呼び出しているとき。
- ✓サイトの一部のページがまだ平文の http で提供されているとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-https/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“すべてのフォームが HTTPS でデータを送っているか、確認してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、フォームの送信先と JavaScript のリクエストに、安全でない http のアドレスがないかをスキャンします。https に切り替えることと、平文の http の通信を HTTPS へリダイレクトするようサーバーを設定することを提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 usehttps://— neverhttp:// - Forms without an explicit
actionattribute submit to the current page URL — ensure the page itself is on HTTPS - Check
fetch()andXMLHttpRequestcalls in JavaScript — data posted tohttp://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
よくある質問
平文の HTTP はなぜ問題なのですか?
HTTP で送られたデータは、同じネットワーク上の誰にでも読まれる可能性があり、パスワードも含まれるからです。
ブラウザは安全でないフォームをどう表示しますか?
HTTP のページでは、アドレスバーに「保護されていません」の警告を表示すると、このスキルは説明しています。
自動入力に影響しますか?
Chrome 86 以降は、認証情報を守るため、HTTP のフォームで自動入力を無効にすると、このスキルは指摘しています。
詳細
作者による元の説明
Use when reviewing HTML forms, fetch/XHR calls, and form action attributes to ensure data is submitted exclusively over HTTPS.
人気
- GitHubのスター
- 75k
- ランキング
- #2857
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。