2.4 KiB
2.4 KiB
URL Sandbox
A lightweight web-based sandbox for analyzing websites and domains.
It performs WHOIS lookups, GeoIP enrichment, script/form inspection, and provides analyst-friendly output.
🚀 Features
- Domain & IP Enrichment
- WHOIS lookups with fallback to raw text when fields are missing
- Explicit handling of privacy-protected WHOIS records (
N/AorPossible Privacy) - GeoIP (City, Region, Country, Latitude/Longitude)
- ASN, ISP, and network details
- Flagged Content Analysis
- Suspicious script detection
- Suspicious form detection
- Nested bullet-style reporting for clarity
- Improved UX
- Automatic addition of
http://,https://, andwww.if only a domain is provided - Modal spinner to indicate background analysis (
Analyzing website…)
- Automatic addition of
- Resilient GeoLite2 Database Management
- Downloads the MaxMind GeoLite2-City database on first startup
- Checks file age and only re-downloads if older than 14 days (configurable via environment variable)
⚙️ Setup Instructions
1. Clone the Repository
git clone https://github.com/yourusername/url-sandbox.git
cd url-sandbox
2. Create a MaxMind Account & License Key
- Go to MaxMind GeoLite2
- Sign up for a free account
- Navigate to Account > Manage License Keys
- Generate a new license key
3. Configure Environment Variables
All environment variables are loaded from a .env file.
- Copy the sample file:
cp .env.example .env
- Edit
.envand set your values (see.env.examplefor available options).
Make sure to add your MaxMind License Key under MAXMIND_LICENSE_KEY.
4. Run with Docker Compose
docker-compose up --build
This will:
- Build the app
- Download the GeoLite2 database if not present or too old
- Start the web interface
📝 Example Output
WHOIS Info
- Registrar: MarkMonitor, Inc.
- Organization: Possible Privacy
- Creation: 1997-09-15
- Expiration: 2028-09-14
GeoIP Info
- IP: 172.66.159.20
- City: N/A
- Region: N/A
- Country: United States
- Coordinates: (37.751, -97.822)
- ASN: 13335
- ISP: Cloudflare, Inc.
📌 Roadmap
See Next Steps Checklist for planned features:
- Improved UI templates
- Artifact cleanup
- Proxy support (optional)