MemoPhishAgent: Memory-Augmented Multi-Modal LLM Agent for Phishing URL Detection
MemoPhishAgent is a memory-augmented multi-modal LLM agent that leverages episodic memories and dynamic tool orchestration to significantly outperform state-of-the-art baselines in detecting both novel and recurring phishing URLs, achieving high recall in real-world deployments.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are the security guard at the gate of a massive, bustling city (the internet). Your job is to stop imposters (phishing websites) who are trying to trick people into giving away their keys (passwords and credit card numbers).
For a long time, security guards used two main methods:
- The "Wanted Poster" List: They kept a list of known bad guys. If someone looked like a name on the list, they were stopped.
- The "Rule Book": They had a strict checklist. "If the sign says 'PayPa1' instead of 'PayPal', stop them."
The Problem: The bad guys are clever. They change their names, wear different masks, and invent new tricks every day. The "Wanted Poster" list gets outdated instantly, and the "Rule Book" is too rigid to catch clever disguises.
Recently, people tried using a super-smart AI (a Large Language Model) to help. But these AIs were like rookie guards who only get one chance to look at the suspect. They read the description, make a snap judgment, and that's it. If they miss a clue, they can't go back and ask more questions.
Enter: MemoPhishAgent (The "Super Detective")
The paper introduces MemoPhishAgent (MPA), which is like hiring a seasoned, memory-keeping detective instead of a rookie guard. Here is how it works, broken down into simple concepts:
1. The Detective Has a Toolkit (Not Just One Eye)
Instead of just looking at a URL (the web address), MPA is an agent that can actively do things. Think of it as a detective who doesn't just stare at a suspect; they have a bag of tricks:
- The Snoop: It visits the website and reads the messy code (HTML) to find hidden clues.
- The Photographer: It takes a screenshot of the page to see if the logo looks fake or the layout is weird.
- The Zoomer: If the whole page looks okay, it zooms in on specific pictures or buttons to check for fakes.
- The Researcher: It uses a search engine to ask, "Is this company actually real?" or "Has anyone reported this site?"
- The Tracker: It follows the "breadcrumbs." If the site tries to redirect you to a different page, the detective follows that path to see where it really leads.
The Magic: Unlike old systems that follow a rigid script (Check A, then B, then C), this detective decides what to do next based on what it finds. If the screenshot looks suspicious, it zooms in. If the text looks weird, it searches the web. It adapts in real-time.
2. The "Case File" Memory (The Secret Sauce)
This is the most important part. Most AI systems have amnesia; they forget everything the second they finish a task.
MemoPhishAgent has a giant, organized filing cabinet (Episodic Memory).
- How it works: Every time the detective solves a case (or even just investigates a suspicious site), it writes down exactly how they solved it. "I saw a fake logo, so I searched the brand name, and that confirmed it was a scam."
- The Benefit: If a new scammer shows up wearing a disguise that looks almost exactly like a scammer the detective caught last week, the detective doesn't start from scratch. They open the Case File, say, "Ah, I've seen this before! I know exactly what steps to take," and solve it instantly.
- The Result: It gets smarter and faster every day without needing to be retrained by a human.
3. The Teamwork (Reasoning Loop)
The detective doesn't just guess. It uses a ReAct loop (Reason + Act).
- Observe: "This site looks like Apple, but the URL is weird."
- Reason: "I should check the screenshot to see if the logo is pixelated."
- Act: (Takes a screenshot).
- Observe: "The logo is blurry."
- Reason: "That's a red flag. Let me search for the real Apple domain to compare."
- Act: (Searches).
- Verdict: "It's a scam. Arrest it!"
Why This Matters (The Results)
The researchers tested this "Super Detective" against the old "Rule Book" guards and the "One-Shot" AI rookies.
- On Standard Tests: It caught 13.6% more phishing sites than the best existing systems.
- On Real-World Tests: They tested it on actual suspicious links found on social media (where scams are most dangerous). It caught 20% more scams than the competition.
- In the Real World: This system is already being used by Amazon! It processes about 60,000 high-risk links every week, protecting millions of customers. It caught 91% of the bad links, which is a huge improvement over the old methods.
The Big Picture Analogy
- Old Systems: Like a bouncer who only checks IDs against a printed list. If the criminal changes their name, they get in.
- Current AI: Like a bouncer who reads the ID, guesses if it's fake, and lets the person in or out based on a gut feeling.
- MemoPhishAgent: Like a Sherlock Holmes who checks the ID, looks at the shoes, asks the person questions, checks their phone, and then consults his notebook of past criminals to see if this person matches a pattern he's seen before.
By combining active investigation (tools) with learning from the past (memory), this new agent doesn't just react to threats; it anticipates them, making the internet a much safer place for everyone.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.