analyze_dependencies
Fetch Dependabot alerts for a GitHub repository to uncover vulnerable package dependencies. Pinpoint security risks in npm, pip, and other ecosystems before they impact your project.
Instructions
Fetches Dependabot alerts for a GitHub repository to analyze vulnerable package dependencies.
Side effects: None. This is a strictly read-only operation.
Data sources: GitHub REST API (dependabot/alerts).
Auth requirements: Requires GITHUB_TOKEN with appropriate permissions (dependabot alerts are often restricted).
Rate limits: Subject to standard GitHub API limits.
Return shape: Returns a JSON array of vulnerable package dependencies including summary, severity, package_name, state, and html_url.
Usage guidelines: Use this tool ONLY to find vulnerable package dependencies (npm, pip, etc.). DO NOT use this tool for other checks:
For static code security vulnerabilities (CodeQL), use 'analyze_code_scanning' instead.
For a computed A-F health score grading, use 'get_health_score' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name (e.g., 'sdk') | |
| owner | Yes | GitHub repository owner (e.g., 'modelcontextprotocol') | |
| severity | No |