AWS outlined a LangGraph security monitor that searches npm, PyPI and container-image sources, checks evidence and suppresses previously reported findings.
AWS published a technical guide on November 10, 2026, showing how to build a daily open-source dependency watcher with LangGraph and the Web Search API in Amazon Bedrock AgentCore. The example monitors npm packages, PyPI packages, and container base images for newly relevant security information.
The workflow runs a separate research branch for each ecosystem in parallel. Each branch uses a Claude model through Amazon Bedrock to identify search queries and produce structured findings. Code, rather than the model, sets key controls: a publication-date window, excluded domains, and a limit of four searches per branch. The guide says one run can make at most 12 searches, and that search and model calls are billed per use.
Before results are reported, the program checks that each cited URL came from its searches, that the source names the package, that any CVE or advisory identifier appears in the source, and that the publication date falls within the chosen window. A LangGraph store then filters out findings already reported. In AWS’s example run, 12 searches returned 80 sources; the three branches completed in 36 seconds, compared with 99 seconds when their durations were added together. Four findings passed the evidence checks, and two were new to the store.
AWS cautions that these checks do not validate every security claim, including severity, exploitation status, affected versions, or recommended action. The guide advises confirming results against authoritative vulnerability feeds and having a person review findings before acting on them.
For recurring operation, AWS describes hosting the graph on AgentCore Runtime and replacing the in-memory store with durable storage. AgentCore Gateway is another option when a platform team needs to apply a shared source policy across agents.
