TAM-H-STG-009 · Human · Stage: Getting ready · New in TAM

Cloning Every Repository

The insider clones far more source code than their work needs, often all of it, ahead of leaving or selling it.

Engineers clone repos every day, so a single clone means nothing. What stands out is breadth: dozens or hundreds of distinct repositories in a short window, including ones the person has never committed to.

Scripts make this trivial. A loop over the GitHub API can clone every private repo in an org overnight. Mirrors, forks to a personal namespace and zip downloads of archives do the same job.

The pattern is strongest when it lines up with a resignation, a competing offer, or a recent permission change that widened what the person can read. Investigators should compare repos cloned with repos the person actually works in.

What it looks like

  • A developer runs `gh repo list org --limit 1000` piped into `git clone` the evening after giving notice.
  • An engineer downloads the source archive of every repo tagged "core" through the web interface.
  • A contractor sets up a mirror job that pushes internal repos to a personal Bitbucket account.

Detections (1)

Controls (1)