Security fixes are provided for the latest published release.
Please use GitHub's private vulnerability reporting for this repository. Do not open a public issue containing exploit details, private source code, credentials, or tokens.
Include the affected version, impact, reproduction, and any suggested mitigation. You should receive an acknowledgement within seven days, and we aim to share an assessment and a fix or mitigation plan within 30 days. Reports that are not accepted get a written reason.
Dependency and Actions alerts inside this repository are triaged under docs/SECURITY_TRIAGE.md. That policy sets a deadline per severity, the only conditions under which an alert may be dismissed and by whom, and who is responsible when the maintainer is away.
Fixes for confirmed vulnerabilities are developed privately, released in a new version, and published as a GitHub security advisory (with a CVE where one applies) that credits the reporter unless they ask to stay anonymous. Publicly known vulnerabilities with a fix available are not left open: the advisory states the affected and fixed versions. For the full release process, see MAINTAINERS.md.
Offing treats scanned repository contents as untrusted data. Core scans run locally, registry entries are data rather than executable plugins, and the MCP server uses local stdio. Migration verification commands are suggestions and are never executed by Offing automatically. Review commands and code changes under the normal authorization policy of your environment.
Lifecycle evidence travels through a signed data channel: each release ships rules in the package; between releases you can fetch newer rules only by running offing data update yourself. Bundles are Sigstore-signed, verified offline against a trusted root that ships in the package, and refused (with a fallback to the bundled rules) when verification fails. You can pin an exact bundle for reproducible CI. There is no Offing-operated backend and no account. The threat model records what each surface trusts; the command and surface access table lists every capability.
The published package can read the filesystem, read environment variables, spawn child processes (including local git and, for guard, a package manager), and make outbound HTTP requests. Scans and the local MCP server use none of the network path. In short:
- Network:
offing data update(signed public releases you opt into) and, in the GitHub Action only, an optional pull-request comment via the GitHub API whenpr-commentis enabled. The GitLab CI/CD component never calls an API. Package install (npm/npx) is outside the scan path. - Child processes: local
git/tarfordiffandfix --branch, optional localgit remote get-urlforbadge --snippetwhen--repois omitted, hook/path helpers forinit, optional editor spawn for interactive scan, fixed version probes fordoctor --system, and the package managerguardruns after a passing check. - Filesystem and env: reading the authorized repository is the product; writes and env reads are limited to the rows in that table (baselines, status files, caches, agent instruction files, proxies, and data-pin variables).
.github/workflows/scorecard.yml runs OpenSSF Scorecard weekly, on demand, and on branch-protection changes. It publishes results to the Scorecard API and uploads SARIF to GitHub code scanning. Actions in that workflow are pinned to full commit SHAs, and the job uses the minimum token permissions Scorecard needs (contents: read, security-events: write, id-token: write). For the Branch-Protection check it also accepts an optional repository secret SCORECARD_TOKEN: a fine-grained PAT with Administration: Read-only (and Metadata read, set automatically), passed as repo_token per the Scorecard fine-grained auth docs. Without that secret the check stays at -1 ("some github tokens can't read" classic rules).
.github/workflows/codeql.yml runs CodeQL static analysis on every pull request and push to main, as well as every week and on demand, covering the JavaScript and TypeScript source that makes up the package, CLI, MCP server, and Action. It uploads SARIF to GitHub code scanning alongside the Scorecard and Offing results, with the same SHA-pinned actions and a job-level security-events: write permission.
Dependabot keeps npm dependencies and SHA-pinned Actions current, configured in .github/dependabot.yml. Its pull requests run the same npm run check and review as any other change.
Existing workflows already declare top-level read permissions (or empty permissions) and SHA-pin third-party actions, except where noted below. Checks that stay below 7 on purpose, or that need a maintainer setting rather than a repository file change:
| Check | Why it is not raised further |
|---|---|
| Branch-Protection | main requires the ci-ok status check; force pushes and deletions are disabled. Required approving reviews stay at zero so agent and maintainer pull requests can merge after green checks; code-owner review is configured in .github/CODEOWNERS but not enforced as a hard gate. Reading classic protection rules needs the optional SCORECARD_TOKEN secret (Administration: Read-only); until a maintainer creates and stores that PAT, Scorecard reports -1 for this check. |
| Code-Review | Same as Branch-Protection: human review is expected for lifecycle evidence and public contracts via CODEOWNERS, but a required review count is not enforced on every merge. |
| Pinned-Dependencies | GitHub Actions and Docker steps used in CI are SHA-pinned. The SLSA reusable workflow in release.yml stays on the upstream v2.1.0 tag because that is how slsa-framework/slsa-github-generator documents calling it. |
| Token-Permissions | Workflows use read-only (or empty) top-level permissions and grant write only on the jobs that need it. |
| Fuzzing | Not applicable: Offing is a local scanner over manifests and source text, not a network-facing parser farm. |
| CII-Best-Practices | The project holds the OpenSSF Best Practices passing badge. The repository-side answers are this policy, the quality standards in CONTRIBUTING.md, the Apache-2.0 LICENSE, and the CI workflows listed above. |