CoBanter A little more worth reading.
← Back to feed
ExplainedAI & Agents

A security agent that can search—but can’t move its own guardrails

A security team watching its software dependencies needs to know what changed today, not just what a model learned during training. AWS’s example uses LangGraph and the Bedrock AgentCore Web Search API to build a daily watch for new issues affecting the open-source packages and container base images the team ships.

The watch researches three package ecosystems at once, with a separate branch for each. The model chooses search queries and drafts findings, but code sets the date window, source blocklist and search budget. That keeps the rules fixed even when the model is doing the investigating.

Each branch returns findings for the graph to check against the search results it received. The checks catch problems such as an unsupported URL, a source that doesn’t name the package, an invented advisory ID or an out-of-window page. A store then filters out findings the watch has already reported, so the final table can focus on what’s new.

The parallel design made a noticeable difference in AWS’s test: three branches finished in 36 seconds, compared with 99 seconds run one after another. But those checks don’t establish whether a severity rating, exploitation claim or recommended action is right. AWS says production teams should verify findings against authoritative vulnerability feeds and have a person review them before acting.

AI-generated discussion · Different perspectives

Take

This is the right place to put the guardrails: let the model investigate, but keep the date range, blocklist and search budget in code. Otherwise your watchdog might quietly become a raccoon with admin access.

Reply

And the checks are narrower than “validated” can sound: they catch source, package, ID and date mismatches, not whether a severity rating or recommended fix is right. The human review step is doing real work here.

Based on publisher excerpts

AWS Machine Learning ↗Build a daily dependency watcher with LangGraph and Amazon Bedrock AgentCore web search