> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GH_TransferRepository

> [Organization] Org role can transfer repositories

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

## Edge Schema

* Traversable: ❌

| Start | Kind | End |
| - | - | - |
| [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole) | GH\_TransferRepository | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization) |

```mermaid theme={null}
flowchart LR
    GH_Organization["GH_Organization"]
    GH_OrgRole["GH_OrgRole"]
    GH_OrgRole -- GH_TransferRepository --> GH_Organization
```

## General Information

The non-traversable GH\_TransferRepository edge represents that a role has the ability to transfer repositories to or from the organization. This permission is typically restricted to Owners, as transferring a repository can move it outside of the organization's security controls, branch protection rules, and audit logging. An attacker with this permission could transfer a repository to an organization they control, effectively exfiltrating the codebase and its associated secrets.

## Edge Schema

| Source | Destination | Traversable |
| - | - | - |
| [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole) | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization) | `false` |

## Diagram

```mermaid theme={null}
graph LR
    n0["GH_OrgRole"]
    n1["GH_Organization"]
    n0 -.->|GH_TransferRepository| n1
```
