mixed-content
하는 일
이 스킬은 HTTPS 사이트에서 일반 HTTP로 로드되는 스크립트, 이미지, 스타일시트, 프레임을 확인합니다. 보안 페이지를 안전하게 유지하려는 사이트 운영자와 개발자를 위한 스킬입니다.
사용하는 경우
- ✓보안 웹사이트에서 안전하지 않은 리소스 링크를 찾아 달라고 요청할 때.
- ✓브라우저가 혼합 콘텐츠를 경고하거나 HTTPS 페이지의 스크립트를 막을 때.
- ✓사이트를 HTTPS로 옮긴 뒤 남은 http 주소를 찾고 싶을 때.
스킬 링크
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mixed-content/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“브라우저가 HTTPS 사이트의 일부 콘텐츠가 안전하지 않다고 해요. 그 링크를 찾아서 고쳐 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 페이지 소스, 네트워크 요청, CSS에서 일반 HTTP 주소를 찾습니다. 이를 HTTPS 버전으로 바꾸고, 남은 것은 자동으로 업그레이드하도록 보안 정책을 추가할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Avoid mixed content on HTTPS pages
Active mixed content (scripts loaded over HTTP into an HTTPS page) gives network attackers the ability to execute arbitrary JavaScript on your page — the same power as XSS, despite the page itself being served over HTTPS.
Quick Reference
- Active mixed content (scripts, iframes, stylesheets) is blocked outright by all modern browsers
- Passive mixed content (images, audio, video) triggers a security warning and may be upgraded or blocked
- Use
upgrade-insecure-requestsCSP directive to automatically upgrade HTTP sub-resources to HTTPS - Audit all hardcoded
http://URLs in HTML, CSS, and JavaScript - The
Content-Security-Policy: upgrade-insecure-requestsdirective is the most practical fix for legacy content
Check
Scan the page source and network requests for any HTTP resources loaded on an HTTPS page. Check <script src>, <img src>, <link href>, <iframe src>, and CSS url() values for http:// URLs. Also check the Content-Security-Policy header for the upgrade-insecure-requests directive.
Fix
Replace all http:// resource URLs with https:// equivalents. If the resource provider does not support HTTPS, host the resource yourself or find an alternative. Add Content-Security-Policy: upgrade-insecure-requests as a safety net for any remaining HTTP URLs.
Explain
Explain the difference between active and passive mixed content, why active mixed content is blocked by browsers, and how the upgrade-insecure-requests CSP directive works.
Code Review
Review server config, headers, forms, and integration points related to Avoid mixed content on HTTPS pages. 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/mixed-content
자주 묻는 질문
능동적 혼합 콘텐츠와 수동적 혼합 콘텐츠의 차이는 무엇인가요?
스크립트 같은 능동 콘텐츠는 브라우저가 막고, 이미지 같은 수동 콘텐츠는 경고를 띄울 수 있습니다.
upgrade-insecure-requests는 무엇인가요?
브라우저가 HTTP 리소스를 HTTPS로 대신 로드하도록 알려 주는 콘텐츠 보안 정책 설정입니다.
제공자가 HTTPS를 지원하지 않으면 어떻게 하나요?
리소스를 직접 호스팅하거나 다른 대안을 찾으라고 스킬은 제안합니다.
상세 정보
작성자의 원본 설명
Use when reviewing an HTTPS page for resources (scripts, images, stylesheets, iframes) that are loaded over plain HTTP.
인기도
- GitHub 스타
- 75k
- 순위
- #2939
- 라이선스
- MIT
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
frontendchecklist
75k명령줄 도구를 사용해 380개가 넘는 규칙으로 프런트엔드 코드와 실시간 페이지를 접근성, 속도, SEO, 보안 측면에서 점검합니다.
frontend-checklist-global
75kFront-End Checklist의 386개 규칙 전체로 프런트엔드 프로젝트를 감사하고, 발견한 문제마다 구체적인 해결 방법을 제시합니다.
404-page
75k없는 페이지 화면에 도움이 되는 링크가 있고 실제 404 상태 코드를 반환하는지 확인해, 길을 잃은 방문자를 돕습니다.
about-page
75k사이트를 운영하는 사람을 설명하는 명확한 소개 페이지가 있는지 검토해, 방문자와 검색 엔진의 신뢰를 높입니다.