-
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/expand platform support #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit expands the social media analyzer tool to support a wider range of platforms, including social media, communication, and e-commerce sites. The following platforms have been added: - Telegram - Twitter - Pinterest - LinkedIn - Line - Discord - Teams - Zoom - Amazon - Alibaba The changes include: - Updating the platform list in `main.py` to make the new platforms selectable. - Adding legitimate domains for the new platforms to `heuristics.py` and updating the suspicious URL patterns. - Providing platform-specific advice for identifying fake profiles or scams on the new platforms in `fake_profile_detector.py`.
This commit further expands the social media analyzer tool to support a wider range of platforms and introduces email analysis capabilities. The following platforms have been added: - YouTube - Skype - VK - Reddit - Email The changes include: - Updating the platform list in `main.py` to make the new platforms and email analysis selectable. - Adding legitimate domains for the new platforms to `heuristics.py` and updating the suspicious URL patterns. - Providing platform-specific advice for the new platforms in `fake_profile_detector.py`. - Adding specific advice for analyzing emails, focusing on sender details and content.
This commit expands the social media analyzer tool to support a wider range of platforms and enhances scam detection capabilities. The following platforms have been added: - Viber - Signal - Badoo - Binance The changes include: - Updating the platform list in `main.py`. - Adding legitimate domains and updating suspicious URL patterns in `heuristics.py`. - Adding platform-specific advice for the new platforms in `fake_profile_detector.py`. - Enhancing email analysis advice with Gmail-specific tips. - Adding Forex-related keywords to the scam detection engine to improve its effectiveness against financial scams.
This commit adds support for the ShareChat platform and introduces a new "Browser" option for direct URL analysis. The changes include: - Adding "sharechat" and "browser" to the platform list in `main.py`. - Implementing a special workflow for the "browser" option to allow users to analyze a URL directly. - Adding legitimate domains and platform-specific advice for ShareChat. - Updating the suspicious URL patterns to include ShareChat. This work is in response to user requests to add more platforms and to interpret the request for browser integration as a feature for URL analysis.
Reviewer's GuideThis PR broadens platform coverage by adding detection rules for numerous social networks, extends the main UI to handle a new 'browser' analysis mode with expanded platform listing, and strengthens heuristic patterns and domain whitelists to support the added platforms and new scam vectors. Class diagram for updated heuristics and platform supportclassDiagram
class Heuristics {
+SAFE_DOMAINS: dict
+SUSPICIOUS_KEYWORDS: list
+SUSPICIOUS_URL_PATTERNS: list
}
class FakeProfileDetector {
+analyze_profile_based_on_user_input(profile_url, platform)
+PLATFORM_FAKE_PROFILE_TIPS: dict
}
class ScamDetector {
+analyze_text_for_scams(message, platform)
+is_url_suspicious(url)
}
Heuristics <.. ScamDetector : uses
FakeProfileDetector <.. Heuristics : uses
ScamDetector <.. FakeProfileDetector : uses
Flow diagram for main.py platform selection and analysis logicflowchart TD
A["Start"] --> B["Display platform list (expanded)"]
B --> C["User selects platform"]
C --> D{Is platform 'browser'?}
D -- Yes --> E["Prompt for URL"]
E --> F["Analyze URL for suspicious patterns"]
F --> G["Display URL analysis results"]
D -- No --> H["Prompt for profile or message analysis"]
H --> I{User chooses profile or message}
I -- Profile --> J["Prompt for profile URL"]
J --> K["Analyze profile for fake signs"]
K --> L["Display profile analysis results"]
I -- Message --> M["Prompt for message"]
M --> N["Analyze message for scam indicators"]
N --> O["Display scam analysis results"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary by Sourcery
Expand platform coverage and add browser-based URL analysis while updating heuristics for comprehensive scam detection
New Features:
Enhancements: