TGViewer
#bugbountytips #bugbountytips @bughuntertips · 3.07K subscribers
Post #562 3.1K
🎯 CSP Takeover Hunting

Content-Security-Policy (CSP) whitelists trusted hosts for scripts/resources — but if a whitelisted domain is vulnerable to subdomain takeover (expired DNS, dangling CNAME, abandoned cloud service), an attacker can host malicious assets and bypass CSP.

How to find them:

Use cspgrabber - to extract domains/subdomains from CSP headers across your targets, then feed results to Nuclei’s subdomain-takeovers profile to detect takeovers that could bypass CSP.

One-liner example:

./cspgrabber -f alive_http_services.txt -c 40 -rps 120 -clean -o csp_domains.txt && \
nuclei -l csp_domains.txt -profile subdomain-takeovers -nh -o takeovers.txt


#bugbountytips
  • 🔥 3
  • 🗿 3
  • ❤ 2
More from @bughuntertips
  1. Jan 7, 2026🔍 SwaggerSpy: Automated OSINT for API Intelligence Looking for exposed secrets in API doc…
  2. Dec 23, 2025🔍 Quick Win: Git Exposure → Secret Hunting 🔥 Step 1: Mass Git Config Hunt nuclei -l aliv…
  3. Dec 16, 2025Want to report a scanner finding, but feel like writing it up is too tedious? 😅 Install t…
  4. Dec 5, 2025If you need to generate a target-specific wordlist, make sure to check out GAP extension.…
  5. Dec 4, 2025Cloudflare has recently started blocking proxy tools such as Burp Suite by detecting their…
  6. Nov 9, 2025If you found a package.json file in the wild, you might find some internal packages vulner…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →