मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी75k · #2939

mixed-content

यह क्या करती है

यह स्किल HTTPS साइट पर उन स्क्रिप्ट, तस्वीरों, स्टाइलशीट और frames को जाँचती है जो सादे HTTP पर लोड होते हैं। यह साइट मालिकों और डेवलपर्स के लिए है जो चाहते हैं कि उनके सुरक्षित पेज सुरक्षित ही रहें।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से सुरक्षित वेबसाइट में असुरक्षित संसाधन लिंक जाँचवाना चाहते हैं।
  • ✓जब आपका ब्राउज़र HTTPS पेज पर mixed content की चेतावनी देता है या कोई स्क्रिप्ट रोकता है।
  • ✓जब आप साइट को HTTPS पर ले जा रहे हैं और बचे हुए http पते खोजना चाहते हैं।

Skill का लिंक

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mixed-content/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mixed-content/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा ब्राउज़र कहता है कि मेरी HTTPS साइट पर कुछ सामग्री असुरक्षित है। क्या आप उन लिंक्स को खोजकर ठीक कर सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पेज सोर्स, नेटवर्क requests और CSS में सादे HTTP पते खोजता है। वह उन्हें HTTPS संस्करणों से बदलता है और एक security policy जोड़ सकता है, जो बचे हुए संसाधनों को अपग्रेड करे।

तकनीकी सामग्री (मूल 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-requests CSP 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-requests directive 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

अक्सर पूछे जाने वाले सवाल

active और passive mixed content में क्या फ़र्क है?

स्क्रिप्ट जैसी active सामग्री को ब्राउज़र रोक देते हैं, जबकि तस्वीरों जैसी passive सामग्री पर चेतावनी आ सकती है।

upgrade-insecure-requests क्या है?

यह एक Content Security Policy सेटिंग है, जो ब्राउज़र से कहती है कि HTTP संसाधन HTTPS पर लोड करे।

अगर किसी प्रदाता ने HTTPS सपोर्ट नहीं किया तो?

स्किल संसाधन खुद होस्ट करने या कोई विकल्प खोजने का सुझाव देती है।

जानकारी

लेखक का मूल विवरण

Use when reviewing an HTTPS page for resources (scripts, images, stylesheets, iframes) that are loaded over plain HTTP.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#2939
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills