{
"url": "https://example.com/",
"finalUrl": "https://example.com/",
"statusCode": 200,
"enforced": false,
"verdict": "no_csp",
"scriptProtection": "none",
"grade": "F",
"score": 40,
"summary": {
"errors": 1,
"warnings": 0,
"infos": 0
},
"policies": [],
"issues": [
{
"severity": "error",
"code": "csp_missing",
"message": "No Content-Security-Policy header and no <meta http-equiv=\"Content-Security-Policy\"> tag was found, so the browser applies no CSP and nothing limits where scripts load from. Basis: W3C Content Security Policy Level 3, \"Content-Security-Policy header\".",
"docs": "https://www.w3.org/TR/CSP3/#csp-header"
}
],
"metaPolicies": 0,
"cached": false,
"checkedAt": "2026-10-21T15:38:39.223Z",
"note": "Evaluates the Content Security Policy that the page declares in its HTTP response headers (Content-Security-Policy and Content-Security-Policy-Report-Only) and in <meta http-equiv> tags in the HTML head, using the W3C Content Security Policy Level 3 rules. The page is fetched with this API's own user agent, so a site that serves different headers to other clients can look different to real browsers. Policies set by scripts at runtime are not seen. Findings are static analysis of the policy text: they do not prove that a page is exploitable or safe, and a clean report is not a security guarantee."
}
curl --location --request GET 'https://zylalabs.com/api/14379/csp+evaluator+api/36041/evaluate+the+content+security+policy+of+a+website?url=https://example.com' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए सीएसपी मूल्यांकनकर्ता API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
वेबसाइट सामग्री सुरक्षा नीति में कमजोर बिंदुओं का पता लगाता है जो स्क्रिप्ट-इंजेक्शन सुरक्षा को कमजोर करते हैं एक ग्रेडेड JSON रिपोर्ट लौटाता है जिसमें एक निर्णय ग्रेड और स्थिर मुद्दे कोड होते हैं
एक वेब पेज की कंटेंट सुरक्षा नीति को रिस्पॉन्स हेडर और एचटीएमएल हेड में मेटा टैग से पढ़ा जाता है यह एक निर्णय एक स्क्रिप्ट सुरक्षा स्तर एक ग्रेड पार्स की गई नीतियाँ और कोडित मुद्दों को लौटाता है प्रत्येक उन W3C CSP स्तर 3 अनुभाग से जुड़ा होता है जिस पर यह आधारित है
नहीं यह नीति पाठ का एक स्थिर आकलन है एक साफ़ रिपोर्ट सुरक्षा की गारंटी नहीं है और रनटाइम पर स्क्रिप्ट द्वारा जो नीतियाँ जोड़ी जाती हैं उन्हें नहीं देखा जाता
सख्त का मतलब है कि स्क्रिप्ट्स का सुरक्षा नॉनसेस या हैशेस द्वारा किया जाता है अनुमति सूची का मतलब है कि केवल एक होस्ट अनुमति सूची उन्हें सुरक्षित करती है कोई नहीं का मतलब है कि कोई प्रभावी स्क्रिप्ट सुरक्षा नहीं है और अपरिचित का मतलब है कि इसे निर्धारित नहीं किया जा सका उदाहरण के लिए क्योंकि पृष्ठ ने एक त्रुटि स्थिति लौटाई।
हाँ एक नग्न डोमेन जैसे example.com को https के रूप में माना जाता है पैरामीटर उपनाम जैसे u लिंक लक्ष्य और साइट भी स्वीकार किए जाते हैं
हाँ परिणाम 15 मिनट तक कैश होते हैं ताज़ा पैरामीटर सेट को 1 जोड़ें ताकि कैश को बायपास किया जा सके उदाहरण के लिए ठीक उसी समय जब आप अपनी नीति बदलते हैं