agentic-actions-audito…
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
This skill should be used when the user asks to "open source this project", "prepare this repository for public release", "make this repo public", "check open-source readiness", "choose a license for this project", or "set up release automation" ahead of a public launch.
Claude Code
$ npx -y skills add trailofbits/skills --skill open-sourcing --agent claude-code
Codex
$ npx skills add trailofbits/skills --skill open-sourcing -a codex -y
Cursor
$ npx skills add trailofbits/skills --skill open-sourcing -a cursor -y
Gemini CLI
$ npx skills add trailofbits/skills --skill open-sourcing -a gemini-cli -y
GitHub Copilot
$ npx skills add trailofbits/skills --skill open-sourcing -a github-copilot -y
OpenCode
$ npx skills add trailofbits/skills --skill open-sourcing -a opencode -y
Windsurf
$ npx skills add trailofbits/skills --skill open-sourcing -a windsurf -y
name: open-sourcing description: This skill should be used when the user asks to "open source this project", "prepare this repository for public release", "make this repo public", "check open-source readiness", "choose a license for this project", or "set up release automation" ahead of a public launch. Provides a release-readiness workflow covering secrets hygiene, licensing, documentation, CI, and language-specific packaging.
Prepare a repository for public release so that an outsider with no prior context can build, use, and contribute to it — and so that nothing sensitive ships with it. Work through the steps in order; the secrets audit comes first because its outcome (keeping vs. recreating the repository) affects everything after it.
official")
launch
release-management steps apply; skip the rest
bash {baseDir}/scripts/detect_org.shThe script inspects git remotes and recent committer emails, and prints a profile name. If it prints `trailofbits`, read [references/trailofbits.md](references/trailofbits.md) now and apply its license policy, publishing accounts, and process notes throughout the remaining steps. If it prints `generic`, proceed with the generic guidance alone. If the user says the detection is wrong, trust the user.
A repository that has **ever** contained secrets (API keys, credentials, client data) should not be flipped public. History rewriting is error-prone and does not reach forks, caches, or CI artifacts. The reliable fix is a fresh repository: copy the current tree over, commit, and archive the old repository privately.
1. Ask whether the project ever handled secrets or client-confidential material. For a security consultancy's tooling, also ask whether test fixtures or example data came from client engagements. 2. Scan the full history with a dedicated tool if available — `gitleaks git .` or `trufflehog git file://.` — rather than eyeballing. 3. Check beyond the git tree: GitHub Actions logs and artifacts, old releases, issue and PR history, and the repository wiki all become public with the repository. 4. After going public, enable GitHub secret scanning and push protection in the repository settings.
Reject these rationalizations — this is the one step that cannot be fixed after publication:
leak infrastructure names, internal URLs, and patterns attackers use for targeting.
clones, caches, and CI artifacts; the fresh-repository approach does not.
production systems are confidential regardless of how they are labeled.
bash {baseDir}/scripts/check_readiness.shThe script prints a checklist of presence indicators (README, LICENSE, CONTRIBUTING, SECURITY.md, CI, tests, semver tags, ...) and warns about tracked files that commonly contain secrets. Treat unchecked items as discussion prompts, not hard failures — a research prototype does not need everything a flagship library needs. Walk through the gaps with the user and fix the ones that matter for this project.
The README is the project's front door. Confirm it explains:
source; a fresh-clone build must work using only what is in the repository
Also add:
address or GitHub private vulnerability reporting). For security tooling this is table stakes.
route), linked from the README and the repository website field. See the language references below for per-ecosystem doc tooling.
No license means not open source, regardless of visibility. Read [references/licensing.md](references/licensing.md) for selection criteria and mechanics. The short version:
1. Apply the organization's policy if one was detected in Step 1. 2. Otherwise: Apache 2.0 as the permissive default, AGPLv3 when private modification by competitors is a real concern, Creative Commons for non-code artifacts. 3. Add the `LICENSE` file, set SPDX identifiers in package metadata, state the license in the README, and verify all three agree.
failing default branch signals abandonment.
language-version and platform matrix.
references below), so style debates never reach review.
or type checker as part of open-sourcing. If it lags the current generation (the language references name the current tools), warn the maintainer an
Trail of Bits skills and plugins for AI-assisted security analysis, testing, and development. Install this marketplace in Claude Code or Codex, or import it into your ChatGPT workspace marketplace.
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on…
Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing…
Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools,…
Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging…
Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…