diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d12a9cf..d895f8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,9 @@ on: - "v*" workflow_dispatch: +permissions: + contents: read + jobs: release: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3ceb96..26f1e1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,9 @@ on: branches: [main] pull_request: {} +permissions: + contents: read + jobs: test: name: PyTest (${{ matrix.os }}, ${{ matrix.python }}) diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..4c1f49b --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,20 @@ +# Security Policy + +## Supported Versions + +The latest released version of this project receives security fixes. + +## Reporting a Vulnerability + +Please **do not** open public GitHub issues for security vulnerabilities. + +Report privately via one of: + +- **GitHub Security Advisories** — Security tab → "Report a vulnerability" (preferred) +- **Email** — open.source@ribose.com + +We acknowledge reports within 72 hours and aim to ship a fix within 30 days for critical issues. Coordinated disclosure is supported. + +## Disclosure + +Public disclosure happens after a fix is released, on a timeline agreed with the reporter.