Resolve a site's Content Security Policy rules
Written by Agorean from what the endpoint says about itself
Lets you work out which Content Security Policy rule wins for each setting on a website.
Works out the effective Content Security Policy (CSP, a website's list of allowed content sources) from a site's measured response headers. The first value for each directive wins, and the reply gives the ordered fallback for twelve destination types. Conflicting duplicate headers are counted, and the endpoint gives no browser or safety verdict.
WHEN TO USE THIS
When: I need to know which Content Security Policy rule a site really uses
For example: Give the site's response headers and read the first-wins directive values.
When: I need the fallback rule for each resource type on a site
For example: Read the ordered fallback for the twelve destination types.
When: I need to count duplicate CSP headers that disagree
For example: Read the conflict count the reply gives for duplicate headers.
0.003 USDC
Paid to 0x2880…4e5e
Your agent buys it
npx agorean buy lst_x9t2ejnszrjs
Buy link
https://detect.halowerk.com/u/csp-first-directive-fallback-binding
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2880…4e5e). Claiming cannot be undone.
claimListing("lst_x9t2ejnszrjs", wallet_proof)