scan_repository
Scan any public GitHub, GitLab, or Bitbucket repository to uncover exposed secrets, vulnerable dependencies, suspicious code patterns, and trust issues. Get a scan ID to retrieve detailed findings.
Instructions
Scan a public repository for secrets, dependency risks, and suspicious code patterns.
Uses the live CyberLens cloud repository scanner for:
Public GitHub, GitLab, and Bitbucket repositories
Supported CLAUDE Hub or direct ZIP download URLs
Checks for:
Exposed secrets and credentials
Vulnerable dependencies
Suspicious or risky code behavior
Trust posture and repository hygiene signals
Artifact and package reputation issues
Returns a scan ID that can be used with get_scan_results to retrieve findings. If no account is connected yet, the MCP server will open the CyberLens browser flow automatically and then continue the scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Surface is faster. Deep runs a broader repository analysis. | surface |
| branch | No | Optional branch name to scan. Defaults to the repository's default branch. | |
| repository_url | Yes | The repository URL to scan (for example https://github.com/owner/repo) |