CentralCSP

Main menu

All articles

Next Article

CSP frame-ancestors vs X-Frame-Options

CSP scanner & evaluator

Thursday, November 14, 2024

4 min read

Theotime Quere

Theotime Quere

The Content Security Policy configuration can be complex. Our CSP Scanner and Evaluator tools help you identify misconfigurations, security gaps, and potential improvements in your policies, whether they're already deployed or still in development.

CSP Scanner: Analyze Live Websites

The CSP Scanner is designed to analyze Content Security Policies of publicly accessible websites. It fetches and evaluates the current CSP configuration, providing detailed insights and recommendations.

What the Scanner Checks

Security Vulnerabilities

Identifies potential security risks like unsafe-inline usage or missing critical directives

Configuration Errors

Detects typos, redundant values, and misconfigured directives

Best Practices

Evaluates compliance with current security standards and best practices

Reporting Setup

Verifies proper configuration of violation reporting

Try the CSP Scanner

How the scanner grade the configuration

Our grading system takes into account all security aspects including XSS protection, clickjacking prevention, formjacking prevention, reporting configuration, and policy maintainability.

Overall Grade

The overall grade reflects the combined assessment of your CSP configuration based on all security and configuration criteria listed below.
F
E
D
C
B
A
A+

← Needs Improvement — Excellent →

Security Categories

XSS

Evaluates protection against Cross-Site Scripting attacks through script-src and related directives.

Formjacking

Assesses defenses against form data theft and manipulation through proper CSP configuration.

ClickJacking

Checks frame-ancestors, frame-src and X-Frame-Options configuration to prevent clickjacking attacks.

Configuration Categories

Reporting

Verifies proper setup of violation reporting through report-uri or report-to directives.

Mixed Content

Evaluates prevention of mixed content (HTTP/HTTPS) loading.

Maintainability

Assesses policy quality in terms of readability, redundancy, and best practices.

Score Levels

Good

Follows best practices and provides strong security.

Medium

Adequate protection but room for improvement.

Bad

Significant security gaps that need attention.

Finding Severity Levels

High Severity

Critical security issues that require immediate attention. These findings indicate significant vulnerabilities in your CSP.

Medium Severity

Important security concerns that should be addressed. These findings may impact your security posture.

Low Severity

Minor security issues or best practice violations that should be reviewed.

Information

General observations and suggestions for improving your CSP configuration.

Downloadable Report

Download a comprehensive report of your CSP analysis to share with your team or keep for your records. The report includes all findings and recommendations in an easy-to-read format.

CSP Evaluator: Test Draft Policies

The CSP Evaluator allows you to analyze Content Security Policies before deployment, perfect for testing new configurations or policies for internal applications.

Monitoring and Maintenance

A strong CSP requires ongoing monitoring and maintenance. Use our reporting endpoint to track violations and adjust your policy as needed:

Create your Account

Sign up for a CentralCSP account in a minute. Get 14 days free trial.

Create a Reporting Endpoint

Once logged in, register you application and get your reporting endpoint. You'll receive a unique endpoint URL that looks like: https://report.centralcsp.com/[your-endpoint-id]

Configure Your CSP Headers

Add your new endpoint URL to your CSP configuration using both report-uri and report-to directives for maximum browser compatibility.

Monitor Violations

Access your CentralCSP dashboard to view and analyze any CSP violations in real-time. You'll receive detailed reports about blocked resources and potential security issues.

First Tier Benefits

The first tier includes all essential features: real-time violation reporting, detailed analytics, and support for multiple domains. Upgrade only when you need advanced features like custom alerting, API access, or higher volume reporting.

Conclusion

The CSP Scanner and Evaluator are essential tools for developing and maintaining effective Content Security Policies. Regular analysis helps identify potential security gaps and ensures your policies follow the latest security best practices. Combined with proper violation reporting, these tools form a comprehensive CSP management solution.

Continue Reading

frame-ancestors vs X-Frame-Options

Learn the differences between CSP frame-ancestors directive and X-Frame-Options header, and how to properly protect your site from clickjacking attacks.

2024-02-25

3 min read

Theotime Quere

Theotime Quere

Read more →

Get started with CSP

Learn how to properly setup your CSP to ensure a secure configuration.

2024-12-03

5 min read

Theotime Quere

Theotime Quere

Read more →

Docs

CSP ScannerCSP EvaluatorReporting Endpoint

Contact


CentralSaaS © 2025