security-ownership-map

Generates ownership maps and detects anomalies in Chest x-rays and other medical images using AI-powered computer vision algorithms and CNNs.

5|Updated Jul 6, 2025
One-click install
npx skills add https://github.com/GuicedEE/ai-rules --skill security-ownership-map-guicedee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-ownership-map
Source: https://github.com/GuicedEE/ai-rules/tree/main/skills/.curated/security-ownership-map
Command: npx skills add https://github.com/GuicedEE/ai-rules --skill security-ownership-map-guicedee

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Analyzes git history to build a security-oriented ownership topology (people-to-file), identify bus-factor risks, and surface ownership drift, enabling faster risk auditing.

Core Features & Use Cases

  • Build a bipartite, people-to-files ownership graph from commits to reveal ownership gaps and bus factor risks.
  • Compute sensitive-code hotspots and export CSV/JSON artifacts for Neo4j/Gephi visualization.
  • Use cases include security ownership audits, CODEOWNERS reality checks, and risk assessment of orphaned sensitive code.

Quick Start

Run the ownership map on a repository to generate the discovery graphs and summary artifacts.

Frequently Asked Questions about security-ownership-map

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

FAQPage Schema
How do I calculate bus factor risk from git history?

You can calculate bus factor risk by analyzing git commit history to build a people-to-file ownership topology. This process maps author contributions to specific code assets, surfacing ownership gaps and orphaned sensitive files.

What is CODEOWNERS drift and how do I detect it?

CODEOWNERS drift occurs when declared ownership rules misalign with actual commit patterns. Detect this drift by generating a people-to-file ownership graph from git history and comparing it against your CODEOWNERS file to surface discrepancies.

Can I export git ownership graphs for Neo4j or Gephi visualization?

Yes, you can export git ownership graphs for Neo4j or Gephi visualization. The analysis generates CSV and JSON graph artifacts containing the people-to-file topology and co-change relationships, which are directly importable into graph databases.

Does networkx support community detection for code co-change graphs?

Networkx supports community detection for code co-change graphs. By constructing a bipartite people-to-file ownership graph from git commits, you can apply community detection algorithms to identify clusters of frequently modified files.

How do I audit security ownership for orphaned sensitive code?

You audit security ownership for orphaned sensitive code by running an ownership topology analysis on your target repository. Apply optional sensitivity rules and time windows to git history to surface code assets lacking active maintainers and assess bus factor risks.

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

Limitations of using git history for code ownership analysis include relying entirely on commit metadata, which may not reflect actual review authority. Additionally, time window selections can skew bus factor metrics and miss historical ownership drift.