CyberShield is a real-time URL security scanner designed to identify potentially harmful websites before you visit them. By leveraging the Google Safe Browsing API, CyberShield provides instant feedback on whether a link is associated with phishing, malware, or other social engineering threats.
CyberShield also includes an AI-powered Scam Text Detector, which uses the Google Gemini API to analyze suspicious messages, emails, job offers, and SMS texts for fraud patterns.
Using CyberShield is straightforward:
For text/message scanning, head to the Scam Detector Chat and paste any suspicious message.
CyberShield categorizes URLs into two states:
The URL is not currently listed in the Google Safe Browsing database as a threat. While highly reliable, always exercise caution with unfamiliar websites.
The URL has been flagged as malicious. Common threat types include:
To run CyberShield locally, ensure Node.js v14+ is installed, then:
git clone https://github.com/Mrinalray/Cybershield_URL.git cd Cybershield_URL npm install node server.js
Create a .env file in the project root:
API_KEY=your_google_safe_browsing_key GEMINI_API_KEY=your_gemini_api_key CORS_ORIGINS=http://localhost:3000,https://yourdomain.com REQUEST_TIMEOUT_MS=8000 REQUEST_RETRIES=2
Get your Google Safe Browsing key at Google Cloud Console. Never commit the .env file — it is in .gitignore.
POST /check — URL threat scan (Google Safe Browsing) POST /api/scam-detect — Text scam analysis (Gemini AI) GET / — Health check