AWS Details a LangGraph Dependency-Security Watch

AWS published a tutorial that uses AgentCore web search and LangGraph to monitor package and container-image advisories, check source evidence and avoid repeat reports.
What happened
AWS published a tutorial for a daily security-monitoring workflow built with LangGraph and the Web Search API in Amazon Bedrock AgentCore. The example looks for new information affecting npm and PyPI packages and container base images. Separate research branches run in parallel; application code checks each finding against search results, then a store suppresses items already reported. AWS says the API returns web results with titles, URLs, publication dates and relevant text extracts. AWS ML Blog
The tutorial describes searches signed with AWS credentials and served from a web index operated by Amazon. Requests can carry domain exclusions or inclusions and a publication-date range. In the LangChain integration, search results are available to the application as data as well as to the model as text, enabling code to compare findings with cited sources. AWS also outlines an AgentCore Gateway option for platform teams that want an administrator-defined source policy to apply across agents or MCP clients. These are descriptions from AWS, not independently verified product assessments. AWS ML Blog
Why it matters
The example illustrates a way to keep important constraints outside an agent’s discretion. Code supplies the date window, blocked domains and search budget, while evidence checks reject findings whose cited URL was not returned, whose source does not name the package, whose advisory identifier is absent, or whose source date falls outside the window. This can make a monitoring workflow more traceable than relying on a model’s unsupported summary, although it does not establish that every accepted claim is correct. AWS ML Blog
AWS reports that its test used 12 searches and returned 80 sources. The three parallel branches finished in 36 seconds, compared with 99 seconds when their times were added sequentially. Two findings failed the evidence checks; four passed, and two were new to the store. These are results AWS reports for its own example, not independently verified benchmarks or a promise of similar performance elsewhere. AWS ML Blog
Practical impact
Developers can use the tutorial as a starting point for a scheduled watch: define the dependencies and time window, search across ecosystems, check findings against returned sources, and keep a durable record to prevent duplicate alerts. AWS says a run makes at most 12 searches and that search and model calls are billed per use. It also reports a default quota of 10 requests per second per account in each Region, shared by agents. Teams considering deployment therefore need to confirm regional availability, grant the required IAM permission and account for usage costs and shared throughput. AWS ML Blog
The notebook example uses an in-memory store, which AWS says lasts only for the runtime session. A recurring job needs durable storage; the post gives DynamoDBStore as one possible option. Teams that want centrally enforced search-source rules can consider the Gateway route, which requires additional permissions compared with calling the search API directly. AWS ML Blog
Limitations
The checks do not validate a finding’s severity, exploitation status, affected versions or recommended response. AWS also warns that a page dated by the index within the monitoring window may describe an older incident, so the date check does not establish when an issue was first disclosed. The post recommends verifying production findings against authoritative vulnerability feeds and having someone review them before action. It does not provide an independent assessment of search coverage or accuracy. This report relies on a single AWS source, so its product descriptions and test results cannot be independently corroborated from the supplied material. AWS ML Blog
Sources
Sources & Citations
- Build a daily dependency watcher with LangGraph and Amazon Bedrock AgentCore web search·Published 10 November 2026