# Analizador de Content Security Policy

> Explica directivas pegadas e identifica problemas comunes de configuración.

[Open tool](https://www.toolcabana.com/es/content-security-policy-analyzer) · [Educación en privacidad y seguridad](https://www.toolcabana.com/es/category/privacy-and-security-education)

Tool ID: content-security-policy-analyzer. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

Content Security Policy analyzer splits a pasted CSP into directives and lists each with its values and a review note. It flags 'unsafe-inline', 'unsafe-eval', bare wildcard sources, 'none' combined with other sources, and duplicate directives, and adds rows when object-src, base-uri or frame-ancestors is missing. Results are static heuristics for learning and review.

## Supported tasks (es)

Explica directivas pegadas e identifica problemas comunes de configuración.

## Steps (es)

1. Pega la fuente en el editor de entrada o carga el ejemplo integrado.
2. Comprueba el formato de origen antes de ejecutar la operación.
3. Ejecuta el analizador de Content Security Policy, revisa la salida y usa los controles disponibles para copiar o descargar.

## Settings

No additional settings.

## Limitations (es)

Las entradas CSV/XLSX están limitadas a 10 MB cada una, 200 columnas y 20,000 filas; la salida combinada está limitada a 20,000 filas. La evaluación de scripts/filtros JSONPath está desactivada. Otras operaciones aplican sus controles visibles y límites de texto.

## Example input

```text
default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### What happens if a CSP has the same directive twice?

The analyzer marks the repeat as a duplicate and notes that browsers use the first occurrence, so values in the later copy are ignored. Merge the sources into a single directive to make the policy behave as intended.

### Why does the CSP analyzer warn that object-src is missing?

object-src, base-uri and frame-ancestors are checked separately as common hardening directives. If one is absent, a row marked missing suggests reviewing whether an explicit restriction is needed; the check does not account for any default-src fallback.

### Should I paste the full header line including Content-Security-Policy:?

Paste only the policy value. Directives are split on semicolons and the first word of each is read as the directive name, so a header prefix would be treated as the first directive's name. Up to 100 directives are accepted.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las entradas CSV/XLSX están limitadas a 10 MB cada una, 200 columnas y 20,000 filas; la salida combinada está limitada a 20,000 filas. La evaluación de scripts/filtros JSONPath está desactivada. Otras operaciones aplican sus controles visibles y límites de texto.

## Related tools

- [File encryption and decryption](https://www.toolcabana.com/es/file-encryption-and-decryption)
- [Password strength estimator](https://www.toolcabana.com/es/password-strength-estimator)
- [Sensitive data masking tool](https://www.toolcabana.com/es/sensitive-data-masking-tool)
- [Certificate signing request decoder](https://www.toolcabana.com/es/certificate-signing-request-decoder)
