If you discover a security vulnerability in this project, please report it responsibly by emailing the maintainer directly rather than opening a public issue.
This library wraps the Azure DevOps Python SDK (azure-devops) and handles
authentication via azure-identity. Security considerations:
- Authentication tokens —
ConnectionFactoryacquires OAuth tokens viaDefaultAzureCredential. Tokens are cached per-org and refreshed automatically. Leaked tokens grant Azure DevOps API access. - Error messages —
ActionableErrorinstances may carry SDK exception messages containing URLs, project names, or repository identifiers. Consumers should applyactionable_errors.sanitizerbefore logging or returning errors to external callers. - Repository discovery —
inspect_git_repository()reads git remote URLs from the local filesystem. In shared environments, ensure the working directory is trusted.
- Use
DefaultAzureCredential(managed identity in CI, Azure CLI locally) rather than hardcoded PATs - Apply the
actionable-errorscredential sanitizer to error messages before exposing them to AI agents or API responses - Do not log or persist raw OAuth tokens