Skip to content

Security Policy

The following security policies are applied to all projects within the oxc-project organization.

Please inform @boshen if you notice any oversights.

https://www.npmjs.com/~boshen and https://crates.io/users/Boshen are the only accounts with publish access to our packages and crates.

github.com

  • Required two-factor authentication for everyone in the organization
    • Only secure two-factor methods are allowed
  • Enabled GitHub Security Scanning, including secret scanning
  • GitHub Actions: Required all actions to be pinned to a full-length commit SHA
  • Enabled release immutability — assets and tags cannot be modified once a release is published
  • Required signed commits: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
    • Not enforced in repository settings; otherwise external contributors would not be able to contribute
  • Long-lived tokens are not stored for publishing — see trusted publishing for npmjs.com and crates.io below
  • Enabled Renovate Bot for security updates
  • Using https://docs.zizmor.sh to lint GitHub Actions for common security issues

npmjs.com

crates.io

Released under the MIT License.