security-ownership-map

Analyze git repositories to compute bus factor and sensitive-code ownership.

1|12|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/ChatAndBuild/chatchat-skills --skill security-ownership-map-chatandbuild
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-ownership-map
Source: https://github.com/ChatAndBuild/chatchat-skills/tree/main/skills/security-ownership-map
Command: npx skills add https://github.com/ChatAndBuild/chatchat-skills --skill security-ownership-map-chatandbuild

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires networkx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill analyzes git repositories to identify security ownership risks, including bus factor and sensitive code ownership, helping teams maintain secure and resilient codebases.

Core Features & Use Cases

  • Security Ownership Analysis: Analyze ownership of files and commits in a git repository to identify risks like orphaned sensitive code and low bus factor.
  • Graph Visualization: Export ownership maps to graph databases and visualization tools for further analysis.
  • Querying: Use built-in commands to query ownership information and visualize data.
  • Use Case: Imagine you want to check the security ownership of your repository for a critical component like a database driver. This Skill can help you quickly identify potential risks and maintainers.

Quick Start

Run the following command to analyze the security ownership of the current git repository:

python scripts/run_ownership_map.py --repo . --out ownership-map-out

Frequently Asked Questions about security-ownership-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check git repository security ownership and bus factor?

To check git repository security ownership and bus factor, you can run a Python script that analyzes git commit history to build a security ownership topology, identifying sensitive code ownership and potential risks.

What is a bus factor analysis in git and why does it matter for security?

Bus factor analysis in git measures the number of developers who actively own security-critical components, helping teams identify orphaned sensitive code and maintain resilient codebases by preventing single points of failure.

How do I analyze sensitive code ownership in a git repository?

Analyzing sensitive code ownership in a git repository involves examining commit history and file ownership data to build an ownership topology, which highlights who maintains security-critical components and associated risks.

Do I need Python and networkx to run a git ownership analysis?

Yes, you need Python and the networkx library to run a git ownership analysis, as networkx provides the required graph analysis capabilities to map and compute the security ownership topology.

Can I export git ownership maps to graph databases for visualization?

Yes, you can export git ownership maps to graph databases and visualization tools for further analysis, allowing you to query the security ownership topology and visualize data relationships.

What are the limitations of using git history for security ownership analysis?

Git history analysis for security ownership is limited to codebases with tracked security-critical components and requires existing knowledge of git history and file ownership to accurately identify risks.