Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-security-ownership-map@skills-curated
Open on GitHub

What 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 CODEOWNERS against 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 CODEOWNERS with 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-curated

Step 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

Similar plugins

All plugins for Security →

From the same set51

The whole set →
openai-yeet openai-yeet is a Claude Code plugin that stages and commits changes, pushes them with gh, and opens a pull request in one request. ★ 540repo stars openai-spreadsheet openai-spreadsheet — a skill for spreadsheet work in .xlsx, .csv and .tsv through Python: build files, keep formulas and formatting intact, then check the rendered result. ★ 540repo stars openai-sentry openai-sentry fetches Sentry issues and error events via the Sentry API to summarize production failures. Triggers when investigating recent stack traces directly inside Claude Code. ★ 540repo stars openai-security-threat-model The openai-security-threat-model plugin examines a repository for security threats and writes a concise Markdown model. Use it when you explicitly want to assess a codebase or path. ★ 540repo stars openai-security-best-practices openai-security-best-practices runs security reviews and suggests safer implementations for Python, JavaScript, TypeScript, and Go codebases. ★ 540repo stars openai-screenshot The openai-screenshot plugin for Claude Code captures the desktop, an app window, or a pixel-defined region when you request a screen image or its built-in capture tools are unavailable. ★ 540repo stars openai-playwright openai-playwright — a Claude Code plugin that drives a real browser via playwright-cli: navigation, form filling, snapshots, screenshots, data extraction. ★ 540repo stars openai-pdf openai-pdf guides Claude Code in reading, building, and visually validating PDF documents. ★ 540repo stars

Project sponsors

Companies that keep this analytics open