Analyzing Malicious URL with URLScan
SkillSecurityAnalyzing-malicious-url-with-urlscan is a skill that guides an AI agent through investigating suspicious URLs with URLScan.io, a free service for scanning and analyzing suspicious URLs. The agent submits a URL, which is rendered in an isolated browser, then reviews the screenshot, page behavior, and threat details to identify phishing without exposing the analyst's system to risk.
Use Analyzing Malicious URL with URLScan in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Analyzing Malicious URL with URLScan and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Analyzing Malicious URL with URLScan skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have a URLScan.io account; a free tier is available and an API key is needed for automation.
What your AI can do with it
- Submit suspicious URLs to URLScan.io via its web interface or API
- Capture screenshots, DOM content, HTTP transactions, and JavaScript behavior
- Analyze results for phishing signs such as brand impersonation, credential forms
- Extract indicators of compromise like IPs and hashes
- Cross-reference findings with VirusTotal, PhishTank, and Google Safe Browsing
- Review SSL/TLS certificate details, network logs in HAR format, and IP/ASN
Getting started
- Have a URLScan.io account; a free tier is available and an API key is needed for automation.
- Have Python 3.8 or later with the requests library installed.
- Add the skill to your agent so it can follow the documented workflow.
- Provide the suspicious URL to analyze and configure scan visibility, such as private, when submitting.
What this skill tells your AI
The instructions your AI receives, as published by mukul975/anthropic-cybersecurity-skills in skills/analyzing-malicious-url-with-urlscan/SKILL.md and read by ahel’s review.
Overview
URLScan.io is a free service for scanning and analyzing suspicious URLs. It captures screenshots, DOM content, HTTP transactions, JavaScript behavior, and network connections of web pages in an isolated environment. This skill covers using URLScan's web interface and API to investigate phishing URLs, credential harvesting pages, and malicious redirects without exposing the analyst's system to risk.
When to Use
- When investigating security incidents that require analyzing malicious url with urlscan
- When building detection rules or threat hunting queries for this domain
- When SOC analysts need structured procedures for this analysis type
- When validating security monitoring coverage for related attack techniques
Prerequisites
- URLScan.io account (free tier available, API key for automation)
- Python 3.8+ with requests library
- Understanding of HTTP protocols and web technologies
- Familiarity with phishing URL patterns
Key Concepts
URLScan Capabilities
- Safe browsing: Renders URLs in isolated Chromium instance
- Screenshot capture: Visual snapshot of the rendered page
- DOM analysis: Full HTML content after JavaScript execution
- Network log: All HTTP requests made by the page (HAR format)
- Certificate analysis: SSL/TLS certificate details
- Technology detection: Identifies web frameworks and libraries
- IP/ASN mapping: Infrastructure intelligence
- Verdict: Community and automated classification
Phishing URL Red Flags
- Newly registered domains (< 30 days)
- Free hosting services (Wix, GitHub Pages, Firebase)
- URL shorteners hiding final destination
- Excessive subdomain depth (login.microsoft.com.evil.com)
- Brand name in subdomain or path, not domain
- Non-standard ports
- Data URIs or base64-encoded content
- JavaScript-heavy pages with minimal HTML
Workflow
Step 1: Submit URL to URLScan
Web: Navigate to https://urlscan.io and submit the suspicious URL
API: POST https://urlscan.io/api/v1/scan/
Header: API-Key: your-api-key
Body: {"url": "https://suspicious-url.com", "visibility": "private"}
Step 2: Analyze Results
- Review screenshot for brand impersonation
- Check redirects and final destination URL
- Examine DOM for credential input forms
- Review network requests for data exfiltration endpoints
- Check SSL certificate validity and issuer
Step 3: Extract IOCs
- Domains and IPs contacted
- URLs in redirect chain
- SHA-256 hashes of page resources
- JavaScript file hashes
Step 4: Cross-Reference with Threat Intelligence
Use the scripts/process.py to automate URL scanning, extract IOCs, and cross-reference with VirusTotal, PhishTank, and Google Safe Browsing.
Tools & Resources
- URLScan.io: https://urlscan.io/
- URLScan API: https://urlscan.io/docs/api/
- VirusTotal URL Scanner: https://www.virustotal.com/
- PhishTank: https://phishtank.org/
- Google Safe Browsing: https://transparencyreport.google.com/safe-browsing/search
- Any.Run: https://any.run/ (interactive sandbox)
- Hybrid Analysis: https://www.hybrid-analysis.com/
Validation
- Successfully scan a suspicious URL via API
- Extract screenshot and identify brand impersonation
- Document complete redirect chain
- Generate IOC list from scan results
- Cross-reference findings with at least 2 threat intelligence sources
Signals
- GitHub stars
- 34k
- Forks
- 4k
- Last commit
- Aug 2026
Questions
- What does URLScan.io cost?
- URLScan.io is a free service for scanning and analyzing suspicious URLs; a free tier account is available, with an API key required for automation.
- Is it safe to analyze suspicious URLs this way?
- Yes. URLs are rendered in an isolated Chromium instance, so the analyst's system is not exposed to the page's content or network activity.
- What does a scan capture?
- A scan captures a screenshot, the full DOM after JavaScript execution, all HTTP requests in HAR format, SSL/TLS certificate details, detected web technologies, and IP/ASN information.
Advanced
- Item type
- skill
- Key
analyzing-malicious-url-with-urlscan-mukul975- Source
- github.com/mukul975/anthropic-cybersecurity-skills
github.com/mukul975/anthropic-cybersecurity-skills
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScriptpython-performance-optimization
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonowasp-security
Skill · davila7
The pick for Web (OWASP)security-and-hardening
Skill · addyosmani
The pick for Web (OWASP)