Skip to content
Skillpedia
Security75k · #2972

password-field-security

What it does

This skill checks password inputs on a site and makes sure they support password managers, accessible reveal controls, and correct autocomplete settings. It is for developers building sign-up and login forms.

When to use it

  • ✓When you ask the agent to review a login or sign-up form for password field best practices.
  • ✓When password managers do not fill or save passwords on your site.
  • ✓When you are building a new password field and want it to include a show and hide option that works with a keyboard and screen readers.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/password-field-security/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/password-field-security/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 my sign-up form to make sure the password fields work well with password managers and are accessible?”

5 new skills a week. 1 minute to read.

How it works

The agent checks that password fields use the password type, have the right autocomplete value, and include an accessible show or hide button. It can also suggest a strength indicator that shows the requirements.

Technical content (original SKILL.md)

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

FAQ

What autocomplete value should a sign-up field use?

The skill says new-password for a sign-up field, and current-password for a login field.

Should I add a show password button?

The skill recommends an accessible toggle so people can check what they typed.

Does this cover how passwords are stored?

The skill notes that passwords must never be stored or sent in plain text, but its checks focus on the form and its behavior.

Details

Original description by the author

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

Popularity

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills