본문으로 건너뛰기
Skillpedia
보안75k · #2857

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“모든 양식이 HTTPS로 데이터를 보내는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 양식 action과 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 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

자주 묻는 질문

일반 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.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2857
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬