本文へスキップ
Skillpedia
セキュリティ75k · #2972

password-field-security

できること

このスキルは、サイトのパスワード入力欄を確認し、パスワード管理ツール、アクセシブルな表示の切り替え、正しいautocomplete設定に対応しているかを確かめます。新規登録やログインのフォームを作る開発者向けです。

使う場面

  • ✓ログインや新規登録のフォームがパスワード欄のベストプラクティスに沿っているか確認するようエージェントに頼むとき。
  • ✓パスワード管理ツールがサイトのパスワードを入力したり保存したりしないとき。
  • ✓新しいパスワード欄を作っていて、キーボードとスクリーンリーダーで使える表示切り替えを付けたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/password-field-security/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“新規登録フォームのパスワード欄が、パスワード管理ツールに対応していてアクセシブルか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、パスワード欄がpasswordタイプであり、正しいautocompleteの値を持ち、アクセシブルな表示または非表示のボタンがあるかを確認します。要件を示す強度インジケーターも提案できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Secure password input fields

Properly implemented password fields improve security by working with password managers, helping users create strong passwords, and providing accessible controls for all users.

Quick Reference

  • Use type='password' with correct autocomplete attribute
  • Provide accessible show/hide toggle for password visibility
  • Show password strength indicator with requirements
  • Never store or transmit passwords in plain text
  • Support password managers with proper input names

Check

Verify password fields use type='password', have proper autocomplete values, and include accessible show/hide toggles.

Fix

Implement password fields with autocomplete='new-password' or 'current-password', accessible toggle buttons, and optional strength meters.

Explain

Explain security and UX best practices for password fields including autocomplete attributes and accessible reveal functionality.

Code Review

Review server config, headers, forms, and integration points related to Secure password input fields. 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/password-field-security

よくある質問

新規登録欄のautocompleteの値は何にすべきですか?

このスキルは、新規登録欄にはnew-password、ログイン欄にはcurrent-passwordを挙げています。

パスワードを表示するボタンを付けるべきですか?

このスキルは、入力内容を確かめられるように、アクセシブルな切り替えボタンを勧めています。

これはパスワードの保存方法も対象ですか?

このスキルは、パスワードを平文で保存したり送信したりしてはいけないと述べていますが、確認の内容はフォームとその動作に焦点を当てています。

詳細

作者による元の説明

Use when reviewing headers, forms, cookies, or third-party integrations related to Secure password input fields. Validate the effective browser and HTTP behavior in a production-like environment.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2972
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル