A comprehensive phone number analysis tool designed for cybersecurity professionals, fraud investigators, and security researchers. This tool provides detailed intelligence about phone numbers while maintaining strict ethical and legal compliance.
IMPORTANT: This tool is designed for legitimate cybersecurity research, fraud prevention, and authorized investigations only. Users must ensure compliance with all applicable laws and regulations, including privacy laws (GDPR, CCPA, etc.) and obtain proper authorization before analyzing phone numbers.
- Phone Number Parsing & Validation: Supports international and local formats
- Geographic Information: Country, region, and timezone identification
- Carrier Intelligence: Network provider, line type (mobile/landline/VoIP)
- Security Assessment: Spam risk analysis and reputation scoring
- Technical Details: Multiple format outputs (E164, international, national)
- OSINT Enrichment: Open source intelligence gathering
- Breach Database Checking: Integration with HaveIBeenPwned API
- Risk Scoring: Comprehensive risk assessment (0-100 scale)
- Visual Analytics: Interactive maps and risk visualizations
- Audit Logging: Complete activity tracking for compliance
- Numverify: Enhanced carrier and validation data
- Twilio Lookup: Advanced security and reputation information
- HaveIBeenPwned: Breach database checking
- Extensible Plugin System: Easy integration of additional data sources
- Python 3.8 or higher
- pip package manager
-
Clone or download the project files
-
Install dependencies: ```bash pip install -r requirements.txt ```
-
Set up API keys (optional but recommended):
Create a
.envfile in the project root: ```env NUMVERIFY_API_KEY=your_numverify_key_here TWILIO_ACCOUNT_SID=your_twilio_sid_here TWILIO_AUTH_TOKEN=your_twilio_token_here HIBP_API_KEY=your_hibp_key_here ``` -
Run the application: ```bash streamlit run app.py ```
-
Access the web interface: Open your browser to
http://localhost:8501
- Sign up at numverify.com
- Get your free API key (1000 requests/month)
- Add to
.envfile or enter in the web interface
- Create account at twilio.com
- Get Account SID and Auth Token from console
- Add to
.envfile or enter in the web interface
- Subscribe at haveibeenpwned.com/API/Key
- Get your API key
- Add to
.envfile or enter in the web interface
- Enter a phone number in any format
- Click "Analyze" to start the investigation
- Review the comprehensive results across multiple tabs
- JSON Format: Complete data export for further analysis
- CSV Format: Spreadsheet-compatible format for reporting
- All analysis activities are logged for audit purposes
- Legal disclaimer must be acknowledged before use
- No unauthorized geolocation or privacy violations
- Strict compliance with data protection regulations
The tool includes an extensible plugin architecture for adding custom analysis capabilities:
```python from plugins import PluginBase
class MyPlugin(PluginBase): def init(self): super().init("My Plugin", "1.0.0") self.description = "Custom analysis plugin"
def analyze(self, phone_number, context=None):
# Your analysis logic here
return {'custom_data': 'analysis_result'}
```
- Fraud Detection: ML-based fraud probability scoring
- Custom integrations: Easy to add new data sources
``` phone-intelligence-tool/ ├── app.py # Main Streamlit application ├── phone_intelligence.py # Core analysis engine ├── config.py # Configuration management ├── plugins/ # Plugin system │ ├── init.py │ └── fraud_detection.py ├── requirements.txt # Python dependencies └── README.md # This file ```
- No persistent storage of analyzed phone numbers
- Secure API key handling
- Comprehensive audit logging
- GDPR/CCPA compliance features
- Built-in legal disclaimers
- Usage warnings and guidelines
- Audit trail for accountability
- No unauthorized surveillance capabilities
"Invalid phone number format"
- Try different formats: +1-555-123-4567, (555) 123-4567
- Include country code for international numbers
"API key not working"
- Verify API keys are correctly entered
- Check API quotas and billing status
- Ensure proper permissions for API keys
"Map not displaying"
- Check internet connection
- Verify country code is recognized
- Some regions may not have map data
Check phone_intelligence.log for detailed error information and analysis history.
This tool is designed for professional cybersecurity use. Contributions should focus on:
- Enhanced security analysis capabilities
- Additional legitimate data source integrations
- Improved compliance and audit features
- Better visualization and reporting
This tool is provided for educational and legitimate cybersecurity purposes only. Users are responsible for ensuring compliance with all applicable laws and regulations.
For technical issues or questions about legitimate use cases, please review the documentation and logs first. This tool is designed for professional cybersecurity practitioners who understand the legal and ethical implications of phone number intelligence gathering.