AWS Builder Center
Agentic Phishing Website Detection with Amazon Bedrock AgentCore

Agentic Phishing Website Detection with Amazon Bedrock AgentCore

Checking suspicious links by hand doesn't scale. This sample uses four AI agents on Amazon Bedrock AgentCore to gather evidence, explain their reasoning, and recommend whether to block, warn, or allow.

Solutions Architect @AWS
A convincing sign-in page can become the starting point for an account takeover, a data breach, or financial fraud. Phishing websites imitate trusted services to trick users into revealing credentials and other sensitive information. Some attacks go further, intercepting authenticated session cookies so attackers can hijack accounts even after users complete certain forms of multi-factor authentication. The consequences can extend beyond the initial victim, giving attackers access to business communications and opportunities to redirect payments or impersonate employees. 

The scale of the problem is substantial. The  FBI’s Internet Crime Complaint Center  received 191,561 phishing and spoofing complaints in 2025, making it the year’s most reported crime category. Reported losses reached $215.8 million, up from $18.7 million in 2023—more than an elevenfold increase in two years. Although these figures cover phishing and spoofing broadly, rather than phishing websites alone, they underscore the financial stakes of detecting these threats before they lead to compromise. 

For security teams, determining whether a website is malicious requires more than checking its URL. An analyst may need to open the page in an isolated environment, examine domain registration records, compare its appearance with the brand it claims to represent, and inspect its code for credential-harvesting forms or obfuscated scripts. As suspicious links arrive through email, chat, support tickets, and user reports, repeating these checks manually becomes a time-consuming workload that is difficult to scale and keep consistent. 

Agentic AI offers a way to support this investigative work. Instead of asking a single model to make a judgment about a URL, a multi-agent workflow assigns focused tasks and tools to specialized agents. These agents gather and analyze different types of evidence, then bring their findings together into an assessment that a human analyst can inspect and validate. The goal is to reduce repetitive investigation work while making the reasoning behind each assessment easier to review. 

In this post, we introduce an open-source phishing URL detection sample that puts this approach into practice with four AI agents. You submit a URL, and the solution returns an assessment, a risk score, a confidence level, and a recommended action. We explore how the agents work together to support phishing investigations while keeping human judgment central to every decision. 

Why a multi-agent approach?  ** ** 
Deciding whether a website is a phishing site means looking at several kinds of evidence together. One clue on its own rarely settles it. A login form is normal on a real service. A familiar logo doesn’t prove the page belongs to that company. The question is whether the web address, the page’s appearance, and what its code does all tell the same story. 
So the sample splits the work. Each agent looks at one kind of evidence, and a separate agent reviews what they found. This catches problems that you would miss by checking only the URL, only the appearance, or only the code. 

One task per agent 
Three specialist agents check each URL that the sample can reach, all at the same time: 
  • URL specialist: checks the web address and facts about the domain, such as how recently it was registered. 
  • Visual specialist: checks what the page looks like and which brand it appears to be. 
  • Code specialist: checks the page’s code for warning signs, such as a form that sends passwords to a different site, or scripts that are deliberately hidden. 
Each specialist has one job, so its prompt stays short and its findings are easy to check. The specialists don’t see each other’s work, and each one reaches its own conclusion. 

An orchestrator agent (4th agent) then reads the three reports. It checks the evidence behind each finding, points out anything the specialists missed, and writes the final assessment. The point isn’t to ask three agents the same question. Each agent covers a different part of the investigation, and the orchestrator checks whether those parts fit together. Because the specialists work separately, the orchestrator can question a conclusion before the result is final. 

Resolving conflicting evidence 
The specialists don’t need to agree. Their disagreements are often the most useful part. For example, a page might look exactly like a well-known sign-in screen while its domain has nothing to do with that service. 

The orchestrator doesn’t count votes. It weighs the evidence and records where the specialists disagreed. Sometimes it can’t decide. That happens when the findings conflict and neither side has concrete evidence, or when a specialist failed and the verdict depends on that specialist’s part. In those cases, the orchestrator can ask one specialist to look again, but only once per scan. This limit keeps each scan short while still letting it settle one specific question. 

How a scan flows 

Figure 1: The scan workflow: a pre-check, three specialists working in parallel, and an orchestrator that checks whether the findings agree and then gives the verdict. 
Solution overview 

We built a phishing detector where three specialist AI agents examine a suspicious link at the same time: one checks the URL and its domain history, one looks at the page the way a person would, and one reads the page's code. An orchestrator agent on Amazon Bedrock AgentCore weighs their evidence and returns a verdict with a plain-language explanation. 


Figure 2: Solution architecture diagram showing the three specialist agents. 

Scan path, step by step 
  1. You submit a URL. Use the web app, served through Amazon CloudFront and AWS WAF, or one call to the REST API on Amazon API Gateway. The API validates the URL, screens it with an Amazon Bedrock Guardrails input guardrail, and records a pending scan in Amazon DynamoDB. 
  1. The scan is queued. The API places it on an Amazon Simple Queue Service (Amazon SQS) queue. An AWS Lambda worker function runs at most 25 scans at a time by default. 
  1. The pre-check runs before any model. The worker calls the tools MCP server directly, not through a Gateway. The tools MCP server has no model. It opens the URL once in Amazon Bedrock AgentCore Browser and reads the final HTTP status. An HTTP 404 ends the scan as Error 404. An HTTP 410, a host that doesn't resolve, a refused connection, or a redirect to a dead host ends it as Site down. Either way, the scan returns a fixed answer (risk 10, high confidence, allow), and no agent runs or bills tokens. Any other response, including an ordinary redirect, continues to step 4. The pre-check skips the Gateway because it is one fixed call made by code, with no model choosing a tool, and it keeps the dead-link path one hop shorter. 
  1. The orchestrator starts. The worker retrieves up to three similar past scans from Amazon Bedrock AgentCore Memory, labeled as context and not evidence. Then it invokes the orchestrator, Claude Opus on Amazon Bedrock AgentCore Harness. 
  1. The orchestrator calls the dispatcher. The orchestrator has one tool, an Amazon Bedrock AgentCore Gateway named phish-specialists. In round one, a single call is made to the dispatcher via the Gateway to invoke the specialist agents in parallel. 
  1. The specialists run in parallel. The dispatcher invokes the three specialists, url_analyst, brand_visual, and code_analyst, at the same time on Amazon Bedrock AgentCore Runtime. Each specialist is an agent with its own model, exposed to the orchestrator as an MCP tool on the same Gateway (agents as tools). They don't use the Agent2Agent (A2A) protocol and don't talk to each other. 
  1. The specialists gather evidence. They call their tools through a second Gateway, phish-tools: the domain registration lookup over the Registration Data Access Protocol (RDAP), the page capture, and the page code capture. The same Gateway holds Amazon Bedrock AgentCore Web Search, which only brand_visual uses, to confirm a brand's official site (the dashed line). In a Region without the Web Search connector, the sample falls back to a separate Gateway for web search. 
  1. The tools MCP server opens the page. The tools MCP server is the only component that opens a browser, an isolated one in AgentCore Browser that AWS runs for you. It loads the page, saves the screenshot and page code to Amazon Simple Storage Service (Amazon S3), and runs the RDAP lookup itself. Each specialist saves its finding to Amazon S3 too. 
  1. When all three specialists finish, the dispatcher returns their findings in one reply, and the orchestrator decides. If the findings conflict, or one failed and the verdict depends on it, the orchestrator can call one specialist directly through phish-specialists for a second round (the dashed round 2 line). It never calls the dispatcher again, and there is at most one second round per scan. Then it gives the verdict. 

The web app shows the verdict right away, and the orchestrator then writes the full report. Because the specialists run at the same time, a scan takes about as long as the slowest one.  

Agents and models 
The four agents and their models are listed below. 
Agent 
What it checks 
Model at the time of writing 
Orchestrator 
Holds the findings to a quality bar, gives the verdict, writes the report 
Claude Opus 5.5 (us.anthropic.claude-opus-5-5) 
URL analyst 
Look-alike domains, risky hosting, domain age, redirects 
Claude Sonnet 5.5 (global.anthropic.claude-sonnet-5-5) 
Brand and visual analyst 
Brand impersonation, fake sign-in pages, scare copy 
Claude Sonnet 5.5 
Code analyst 
Credential forms that post elsewhere, keyloggers, obfuscation 
Claude Sonnet 5.5 

Model IDs depend on your Region. The defaults use us. inference profile for the orchestrator and global. cross-Region profile for the specialists. Outside US Regions, override the orchestrator model with the inference profile for your Region (for example eu., apac., au., or jp.). Because the model landscape keeps evolving, update to use latest models via Amazon Bedrock models whenever they are released. The  README and configuration guide  explains how. 

What a scan returns 

A scan returns a verdict, a report, and a screenshot of the page it examined. For a legitimate page, the verdict is "legitimate", and the screenshot shows the clean page. For a phishing page, the verdict is "phishing" and the screenshot..


Figure 3: A completed scan of a legitimate page, with the verdict and the full orchestrator report. 


Figure 4: A phishing detection result with risk 98, high confidence, and a recommended action of Block. 

Results and performance: 96.5% of phishing caught in about a minute 

On 2026-11-24, we scanned 600 URLs through the API of a default deployment in us-west-2. The URLs were 300 from the OpenPhish public feed, pulled that day, and 300 domains sampled at random from the Tranco top-1M list. We scored the 544 that still served a page (286 phishing, 258 legitimate). The other 56 no longer served a page and are left out. A phishing URL counts as caught when the verdict is phishing, or suspicious with a risk of 50 or more. 

The sample caught 96.5% of phishing URLs, with a 4.7% false positive rate. A verdict took 60 seconds at the median, for about $0.10 in tokens. The pre-check answered 52 of the 600 scans (8.7%) with Error 404 or Site down, at no model cost. The other 4 dead links ran the full scan, because the site answered with a server error page (HTTP 502, HTTP 503, or a Cloudflare 522) or reached its 404 only after a blank page. The orchestrator then returned Site down for three of them and Error 404 for one. 

Measure (2026-11-24) 
Value 
Phishing caught (recall), 544 live URLs 
96.5% (276 of 286) 
Phishing flagged at any risk (phishing or suspicious) 
97.2% (278 of 286) 
Legitimate sites flagged (false positive rate) 
4.7% (12 of 258) 
Precision / accuracy / F1 score 
95.8% / 96.0% / 0.962 
Scan time to the verdict, median / 90th percentile 
60 s / 78 s 
Model token cost per scan, median / 90th percentile (548 model-backed scans) 
$0.099 / $0.124 

Your results will vary with the pages you scan and when you scan them. This was one run on one day, with AgentCore Memory on, and the test stack's memory held many earlier runs: 435 of the 600 scans recalled records from them, which may raise recall. Prices and latency are for us-west-2 at the time of writing. 

Cost 
The repository estimates an idle cost of about $14 to $15 per month, mostly the AWS WAF web access control list and AWS Key Management Service keys, plus about $0.012 per scan for other services. With token cost, 1,000 scans in a month come to about $130 to $140. Use the  AWS Pricing Calculator  to estimate your own volume. 

Limits and considerations 

Keep these points in mind before you use the solution beyond a prototype. 
  • Human in the loop. A verdict is a recommendation, not a final decision. The confidence score shows how strongly the agents agreed and how solid their evidence was. It isn't a precise probability. Review any low-confidence result, and any result marked "Page not observed", yourself. 

  • Adjust the rules to fit your needs. The rules for when to block, warn or allow are written in plain English in the  orchestrator's instructions . You can change them and redeploy. Test the change on URLs you've already labeled before you rely on it. The repository explains how in  Tune confidence, risk and actions . 

  • Known blind spots. A brand-new phishing site with an empty page can look harmless. Some phishing sites show one page to automated tools and a different page to people. A real login page hosted by a third party can be flagged by mistake. 

  • Know what data is kept. By default, scanned URLs and results are kept for 90 days, and screenshots and page captures for 30 days. Short scan summaries are kept until you delete the stack. If you run it long term, set up automatic cleanup of old summaries, as described in  Designing lifecycle policies for AgentCore memory . If you need records for longer, keep your own copies. Don't submit URLs that contain personal data, passwords or access tokens. 

  • Use it responsibly. Only scan URLs you're allowed to visit, and limit who can sign up for the web app before you share it. The repository's  security ,  threat model  and  Responsible AI  pages cover the rest. 

Get started 

To try the sample, clone the  GitHub repository  and follow the  Quick start  in the README for prerequisites and deployment. You can deploy the solution as a web console (UI), as an API for programmatic scanning, or as CDK infrastructure code that you run yourself to stand up the full stack in your own AWS account. To avoid ongoing charges, delete the stacks as described in the README's  Clean up  section. 

If you have feedback about this post, submit comments in the Comments section below. If you have questions, start a new thread on AWS re:Post or contact AWS Support. 

About the authors 

Sindhura Palakodety  Sindhura is a Senior Solutions Architect at Amazon Web Services (AWS) and Single-Threaded Leader (STL) for ISV Generative AI, where she is dedicated to empowering customers in developing enterprise-scale, Well-Architected solutions. She specializes in generative AI and data analytics domains, enabling organizations to leverage innovative technologies for transformative business outcomes. 

Lakshya Kumar 
Lakshya Kumar is a Solutions Architect at Amazon Web Services (AWS) who works with digital native enterprises. Lakshya builds customer prototypes and reference implementations on AWS, with a focus on generative AI, agents on Amazon Bedrock AgentCore, and infrastructure as code, and co-built the Agentic Phishing URL Detection sample. 

Omer Shariff 
Omer Shariff is a Trust & Safety Customer Advisor at AWS, who partners with enterprise organizations to safeguard their operations and enhance security posture. He specializes in delivering rapid response solutions for critical security concerns, while providing strategic guidance to strengthen customer’s trust and safety standards. 
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article