github-security-mcp
v0.1.0GitHub security posture audit tools for AI agents — organization, repository, Actions, secrets, supply chain analysis via MCP
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
github_check_org_security
Check organization security settings: 2FA enforcement, default repository visibility, member privileges. Detects ORG-001, ORG-002, ORG-003.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_org_sso
Check if SSO/SAML single sign-on is configured for the organization. Detects ORG-004.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_org_members
Audit organization members: outside collaborators and member activity. Detects ORG-005, ORG-006.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_org_apps
Audit OAuth app authorizations and GitHub App installations for the organization. Detects ORG-007, ORG-008.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_org_webhooks
Check organization webhooks for insecure HTTP URLs and SSL verification. Detects ORG-009.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_org_audit_log
Review organization audit log for suspicious or high-risk events. Detects ORG-010.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_list_org_repos
List organization repositories with security metadata (visibility, fork count, archived status). Useful for selecting repos to audit.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
type | string | Repository type filter (default: all) |
github_check_repo_branch_protection
Check branch protection rules on the default branch: required reviews, status checks, admin enforcement, signed commits. Detects REPO-001.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or org) |
repo * | string | Repository name |
github_check_repo_secrets
Check if secret scanning and push protection are enabled for the repository. Detects REPO-002, REPO-003.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_code_scanning
Check if code scanning (CodeQL) is configured and review open alerts. Detects REPO-004, REPO-005.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_dependabot
Check Dependabot configuration and open security alerts. Detects REPO-006, REPO-007.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_settings
Check repository security settings: SECURITY.md, private vulnerability reporting, fork restrictions. Detects REPO-008, REPO-009, REPO-010.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_webhooks
Check repository webhooks for insecure HTTP URLs and SSL verification. Detects REPO-011.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_deploy_keys
Audit deploy keys for unnecessary write access. Detects REPO-012.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_repo_codeowners
Check if CODEOWNERS file exists for code review enforcement. Detects REPO-013.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_injection
Scan workflow files for script injection vulnerabilities via untrusted event inputs (${{ github.event.issue.title }}, etc. in run: blocks). Detects ACT-001.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_pr_target
Detect dangerous pull_request_target + checkout pattern that enables arbitrary code execution from fork PRs. Detects ACT-002.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_permissions
Check GITHUB_TOKEN default permissions (should be read, not write). Detects ACT-003.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_pinning
Detect unpinned third-party actions (tag reference vs SHA pinning). Detects ACT-004.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_runners
Detect self-hosted runners and assess persistence/exposure risk. Detects ACT-005.
| Parameter | Type | Description |
|---|---|---|
org | string | Organization name (for org-level runners) |
owner | string | Repository owner |
repo | string | Repository name |
github_check_workflow_environments
Check deployment environments for missing protection rules (reviewers, wait timers, branch policies). Detects ACT-006.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_secrets
Detect patterns where secrets are passed to network commands (curl/wget) or logged in workflow files. Detects ACT-007.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_workflow_oidc
Check OIDC subject claim customization for secure cloud deployment trust. Detects ACT-008.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_secret_scanning
Check secret scanning coverage and review open alerts. Detects SEC-001, SEC-002.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_push_protection
Check for secret scanning alerts where push protection was bypassed. Detects SEC-003.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_secret_patterns
Check if organization has defined custom secret scanning patterns. Detects SEC-004.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_check_secret_scoping
Review secret scoping across environments, repositories, and organization levels. Detects SEC-005.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_dependency_graph
Check if the dependency graph is enabled for vulnerability detection. Detects SUP-001.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_dependabot_updates
Check if Dependabot security updates and version updates are configured. Detects SUP-002.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_sbom
Check if software bill of materials (SBOM) can be generated from the dependency graph. Detects SUP-003.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_vulnerabilities
Check for critical known vulnerabilities and stale unfixed alerts (>90 days). Detects SUP-004, SUP-005.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_team_permissions
Audit team permissions for admin-level access to repositories. Detects ACC-001.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
repo | string | Specific repository name (default: org-wide audit) |
github_check_collaborators
Check for outside collaborators with write, maintain, or admin permissions. Detects ACC-002.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_app_permissions
Audit GitHub App installations for overly broad permission scopes. Detects ACC-003.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner |
repo * | string | Repository name |
github_check_pat_usage
Check for classic personal access tokens with overly broad scopes. Detects ACC-004.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub organization name |
github_list_checks
List all available security checks with their IDs, categories, severities, and descriptions. Filterable by category and severity.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category: org, repo, actions, secrets, supply-chain, access |
severity | string | Filter by severity: CRITICAL, HIGH, MEDIUM, LOW, INFO |
github_audit_summary
Aggregate all findings from the current session by category, severity, and status. Shows critical findings and top remediation actions.
github_audit_report
Generate a comprehensive markdown security report from all findings in the current session.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format (default: markdown) |
severityFilter | array | Filter by severities, e.g. ['CRITICAL', 'HIGH'] |
title | string | Report title (default: GitHub Security Audit Report) |
github_run_all
Run all security checks for an organization and/or repository. Executes org, repo, actions, secrets, supply chain, and access control checks sequentially.
| Parameter | Type | Description |
|---|---|---|
org | string | GitHub organization name (for org-level checks) |
owner | string | Repository owner (defaults to org if not specified) |
repo | string | Repository name (for repo-level checks) |