addition of Phishing Email Detector Agent and case studies - #11
Open
vaishnavisuvarnakar wants to merge 8 commits into
Open
addition of Phishing Email Detector Agent and case studies#11vaishnavisuvarnakar wants to merge 8 commits into
vaishnavisuvarnakar wants to merge 8 commits into
Conversation
- Rule-based feature extraction + pattern matching - Gemini + OpenRouter/DeepSeek dual LLM support - simulated fallback (demo runs without API key) - .eml file + raw text + built-in demo email support - Risk score 0-100 with red flags list and LLM advisory
Author
|
@Precise-Goals that "merge branch 'Falcon-s-Hackathon:main' into main" commit came in my pr because i directly worked on main without making a branch. please ignore it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛡️ Phishing Email Detector Agent
A security-focused sample agent that analyzes emails for phishing indicators
and provides risk scores with detailed red flag analysis.
🧠 What This Agent Does
Takes an email (demo, raw text, or real
.emlfile) and automatically:⚙️ Core Changes
sampleagents/phishing_detector_agent.py— main agentOur-Case-Study-to-understand_2.md— Traffic Agent case studyOur-Case-Study-to-understand_3.md— Phishing Detector case studyDAG Structure: extract_features → check_patterns → llm_analyze → generate_report
Dual LLM Support:
gemini-1.5-flash-latest)openrouter/free— auto-selects best free model)Input Modes:
--textraw string--emlemail file--gemini/--openrouterfor live LLMbash
Demo (no API key needed)
python sampleagents/phishing_detector_agent.py
With live LLM
python sampleagents/phishing_detector_agent.py --gemini YOUR_KEY
Real email file
python sampleagents/phishing_detector_agent.py --eml email.eml --gemini YOUR_KEY
screenshots of results attached



