Skip to content

Security: NEARBuilders/everything-dev

SECURITY.md

Security Policy

Supported Versions

Version Supported
main ✅

Reporting a Vulnerability

Use GitHub's private vulnerability reporting: the Report a vulnerability link under the repository's Security tab. It opens a private advisory that only the maintainers can see. Nothing becomes public until a disclosure date is agreed, and the advisory can carry a CVE.

Do not open a public GitHub issue or pull request for a security vulnerability, and do not post details to the community Telegram group.

Include a description, steps to reproduce, the potential impact, and a suggested fix if you have one.

Response targets: a first response within 48 hours, a status update within 7 days, and critical vulnerabilities addressed within 14 days.

Supply-Chain Protections

  • Catalog pinning. The packages Module Federation shares across remotes are pinned in the catalog block of pnpm-workspace.yaml. Its overrides block maps named packages to catalog:, so nested copies follow the same pin.
  • Dependency installs skip lifecycle scripts. pnpm-workspace.yaml sets ignoreScripts: true, and CI installs with pnpm install --frozen-lockfile --ignore-scripts (ci.yml).
  • Actions are pinned to commit SHAs. Every uses: in .github/workflows is a full commit SHA or a local path.
  • No pull_request_target. Nothing under .github uses that trigger.
  • Renovate holds updates back. A release must be 3 days old before it is proposed, 5 days for @tanstack/*. Vulnerability alerts are on, with a 1-day minimum. Only patch updates to dev dependencies are automerged, and never for the Effect toolchain trio. Minor, major, and production updates always need a human merge (.github/renovate.json).
  • pnpm audit runs in CI. The lint-and-typecheck job of ci.yml runs it on pull requests. Critical or high findings fail the job only when the AUDIT_STRICT secret is true; otherwise they post a warning. A timed-out or errored audit is reported as skipped.
  • Effect toolchain in lockstep. @effect/tsgo, oxlint, and oxlint-tsgolint are version-locked and bumped together. On CI, scripts/ensure-effect-toolchain.mjs refuses to fetch the vendored Effect clone unless it runs as prepare (or with BOS_ENSURE_ALLOW_NETWORK=1); a git hook cannot. See the "Effect DevTools" section of AGENTS.md.

If a Dependency Is Compromised

  1. Pin. Move the catalog entry in pnpm-workspace.yaml to a known-good version and redeploy. The overrides block carries the pin to nested copies.
  2. Contain a compromised remote. Repoint or remove it in the authored bos.app.ts, then run bos publish (config only, no build). The runtime adopts the published config, and a UI-only change needs no restart.
  3. Read the trust model. docs/book/10-verification.md explains what a tampered config, bundle, or image can and cannot do.
  4. Report it privately first, through the route above.

There aren't any published security advisories