security-ownership-map
Build a people-to-file security ownership map from git history: bus factor, sensitive-code ownership, exported as CSV or JSON.
- Kind
- Skill
- Works with
- Codex, Claude Code
- Source
- openai/skills @ 49f948faa925
- Path
- skills/.curated/security-ownership-map/SKILL.md
- Jobs
- Review
- Topics
- Git & pull requests, Security audits
Credit
- Made by
- openai
- Original
- github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/security-ownership-map/ (the skill folder)
- 3 file(s) the skill refers to
- 7 other files in the folder: LICENSE.txt, agents/openai.yaml, references/neo4j-import.md, scripts/build_ownership_map.py and 3 more
- Runs scripts
- Yes
- skills/skills/security-ownership-map/scripts/run_ownership_map.py
- skills/skills/security-ownership-map/scripts/query_ownership.py
- skills/skills/security-ownership-map/scripts/community_maintainers.py
- scripts/build_ownership_map.py
- Uses the network
- Yes
- downloads Python packages
- downloads Python packages (scripts/build_ownership_map.py)
- downloads Python packages (scripts/run_ownership_map.py)
- Needs secrets
- None found
- Reads outside the project
- /usr/bin/env (scripts/build_ownership_map.py)
- Value without its scripts
- Low
- The main file runs 3 of the 4 bundled scripts (scripts/community_maintainers.py, scripts/query_ownership.py, scripts/run_ownership_map.py), so most of the job needs them.
- scripts/build_ownership_map.py: Build a security ownership map from git history.
- scripts/community_maintainers.py: Report monthly maintainers for a file's community.
- scripts/query_ownership.py: Query ownership-map outputs without loading everything into an LLM context.
- scripts/run_ownership_map.py: One-shot runner for building the security ownership map.
- Source revision
- 49f948faa925
- Licence
- Apache-2.0
- Last activity
- 28 Oct 2026
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# 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: ```bash pip install networkx ``` ## Workflow 1. Scope the repo and time window (optional `--since/--until`). 2. Decide sensitivity rules (use defaults or provide a CSV config). 3. Build the ownership map with `scripts/run_ownership_map.py` (co-change graph is on by default; use `--cochange-max-files` to ignore supernode commits). 4. Communities are computed by default; graphml output is optional (`--graphml`). 5. Query the outputs with `scripts/query_ownership.py` for bounded JSON slices. 6. Persist and visualize (see `references/neo4j-import.md`). …