security-ownership-map

Installation
Summary

Map git repository ownership to people and files, compute bus factor for sensitive code, and export graph artifacts for visualization.

  • Builds a bipartite people-to-file ownership graph from git history with optional co-change clustering (Jaccard similarity) to identify files that move together
  • Flags sensitive code paths (auth, crypto, secrets) by default; customize with a CSV config and query by tag, bus factor, or staleness
  • Outputs CSV nodes/edges, JSON summaries (orphaned sensitive code, hidden owners, bus factor hotspots), and optional GraphML for Neo4j or Gephi
  • Includes a query helper script to slice ownership data by person, file, community, or sensitivity tag without loading the full graph into memory
  • Computes community detection on co-change edges by default; excludes common glue files (lockfiles, .github/*) and Dependabot commits to focus on actual code movement
SKILL.md

Security Ownership Map

Overview

Build a bipartite graph of people and files from git history, then compute ownership risk and export graph artifacts for Neo4j/Gephi. Also build a file co-change graph (Jaccard similarity on shared commits) to cluster files by how they move together while ignoring large, noisy commits.

Requirements

  • Python 3
  • networkx (required; community detection is enabled by default)

Install with:

pip install networkx

Workflow

Related skills

More from openai/skills

Installs
1.1K
Repository
openai/skills
GitHub Stars
18.9K
First Seen
Feb 2, 2026