openai-security-ownership-map — Claude Code plugin: what it does
openai-security-ownership-map reads git history to map who owns which files, measures bus factor and shows where sensitive code sits with few owners. Exports CSV or JSON for graphs.
Apache-2.0 ★ 540 updated 2026-07-14
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-security-ownership-map@skills-curatedWhat openai-security-ownership-map does
The plugin goes through a repository's git history and works out who edits which files, which sensitive areas have a single owner, and what the bus factor looks like. Output comes as CSV or JSON, ready to load into a graph database or draw.
It carries a step-by-step workflow, rules for deciding what counts as sensitive code, a description of the output artifacts, and a helper for querying an LLM. Ready-made security queries are part of the package too, including one for code nobody actively maintains.
It stays quiet unless you ask for a security ownership or bus-factor analysis tied to git history. Ask for a plain list of maintainers and nothing fires, because that job is outside its scope. A general repository report is a different task.
What it helps with
- spot sensitive files only one person has touched
- measure bus factor from commit history
- check
CODEOWNERSagainst who really commits - export file ownership as CSV for a graph database
- find orphaned code with no active owner
Example prompts for the agent
- Analyze this repo's git history and show who owns the sensitive code.
- Compute the bus factor from commits and list areas with a single maintainer.
- Compare
CODEOWNERSwith who actually touches files, then export the map as CSV.
How to install openai-security-ownership-map
Plugin marketplace
/plugin marketplace add trailofbits/skills-curated/plugin install openai-security-ownership-map@skills-curatedStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about openai-security-ownership-map
How do I install Anthropic-security-ownership-map in Claude Code?
Add the marketplace first: /plugin marketplace add trailofbits/skills-curated. Then install the plugin itself: /plugin install openai-security-ownership-map@skills-curated.
What does openai-security-ownership-map do?
It maps people to files from git history, computes the bus factor and shows who owns sensitive code. Results can be written as CSV or JSON.
When does the plugin trigger?
Only on an explicit request for a security-oriented ownership or bus-factor analysis grounded in git history. General maintainer questions won't start it.
Source text
openai-security-ownership-map · Apache-2.0
# Security Ownership Map Analyze git repositories to build a security ownership topology (people-to-file), compute bus factor and sensitive-code ownership, and export CSV/JSON for graph databases and visualization. Trigger only when the user explicitly wants a security-oriented ownership or bus-factor analysis grounded in git history (for example: orphaned sensitive code, security maintainers, CODEOWNERS reality checks for risk, sensitive hotspots, or ownership clusters). Do not trigger for general maintainer lists or non-security ownership questions. ## Installation ``` /plugin install trailofbits/skills-curated/plugins/openai-security-ownership-map ``` ## What It Covers - Overview - Requirements - Workflow - Quick start - Sensitivity rules - Output artifacts - LLM query helper - Basic security queries ## Credits Originally from [OpenAI's curated skills catalog](https://github.com/openai/skills/tree/main/skills/.curated/security-ownership-map). Converted to Claude Code plugin format for the Trail of Bits curated skills marketplace.
© OpenAI · Apache-2.0 · trailofbits/skills-curated