Datadog's BewAIre system has evolved from detecting malicious code in pull requests to scanning entire dependency packages and upstream package registries. This expansion leverages a two-stage evaluation pipeline: a fast, inexpensive filter phase using a previous-generation or high-speed LLM, followed by a more thorough agentic investigation phase for flagged changes. The investigation phase utilizes tools to gather additional context, such as GitHub API calls for commit history, contributor analysis, and code execution sandboxing. The system is now integrated into the CI/CD pipeline to review all pull requests in real-time, classifying them as benign or malicious with a low false positive rate. This evolution aims to address the growing attack surface and reviewer fatigue associated with AI-assisted development.
All Datadog trails