Skip to content

docs: add security policy - #8

Merged
uniqueg merged 2 commits into
mainfrom
docs/security-policy
Oct 27, 2026
Merged

uniqueg merged 2 commits into
mainfrom
docs/security-policy

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the default security policy of the organisation, a generic version of the identical policies of FOCA, Cloud Registry, proTES and TRS-Filer:

  • report vulnerabilities privately, through GitHub's private vulnerability reporting ("Report a vulnerability" on the affected repository's Security tab) or by email to [email protected] (as in the existing policies), never in public issues;
  • where private vulnerability reporting is not enabled, reporters use email;
  • supported versions: the latest release of each repository (its latest release series, as in FOCA's policy);
  • what happens next, and the scope, as in the existing policies.

Closes #3

Verification

  • npx [email protected] SECURITY.md: 0 errors.
  • Compared section by section with FOCA's SECURITY.md.
  • Review: light lane (quality reviewer + Sourcery, no adversarial review, per the user). Quality reviewer findings fixed in follow-up commits, except those declined below.
  • Sourcery: one finding (the defaults apply only once this repository is public); answered and resolved, see the note below.
  • No CI workflows in this repository.

Declined review findings

  • Make the placeholder URL clickable (low): it contains <repository>, so it can't be a working link; kept as inline code.

Open questions

None.

Notes for the maintainer

  • Private vulnerability reporting is enabled in foca, cloud-registry, proTES, trs-filer and cloud-components, but not in, e.g., krini, cloud-registry-ui and TESK. Enabling it for all repositories (organisation settings, "Code security", or per repository) makes the first reporting route work everywhere; until then, the email route covers those repositories.
  • GitHub uses the files of this repository as org defaults only while it is public; it is still private.

🤖 Generated with Claude Code

uniqueg and others added 2 commits October 27, 2026 03:36
Add the default security policy of the organisation, a generic version
of the one in FOCA, Cloud Registry, proTES and TRS-Filer: private
reports through GitHub's private vulnerability reporting or by email,
fixes in the latest release of each repository.

Closes #3

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Point to email where private vulnerability reporting is not enabled,
state the supported release series as in FOCA's policy, and say that
repositories with their own policy follow that one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Adds SECURITY.md as the ELIXIR Cloud & AAI default security policy, documenting private reporting channels, supported versions, response and disclosure practices, and vulnerability scope.

Flow diagram for vulnerability reporting and response

flowchart TD
    A["Reporter identifies a vulnerability"] --> B["Open affected repository Security tab"]
    B --> C{"Private vulnerability reporting enabled?"}
    C -->|Yes| D["Submit private vulnerability report"]
    C -->|No| E["Email [email protected]"]
    D --> F["Maintainers acknowledge and assess"]
    E --> F
    F --> G["Confirmed issue is fixed privately"]
    G --> H["Publish security advisory and coordinate disclosure"]
Loading

File-Level Changes

Change Details Files
Add an organisation-wide security policy for repositories without a repository-specific policy.
  • Define private vulnerability reporting through GitHub’s reporting flow or email, with a fallback when the GitHub option is unavailable.
  • Document the supported release policy and limited treatment of older versions.
  • Describe maintainer triage, remediation, disclosure, credit, and best-effort expectations.
  • Define coverage for repository code and published artefacts, along with exclusions for third-party deployments and dependencies.
SECURITY.md

Assessment against linked issues

Issue Objective Addressed Explanation
#3 Add an organization-wide SECURITY.md policy for repositories that do not have their own security policy. ✅
#3 Direct vulnerability reports to private channels rather than public issues. ✅
#3 Specify that the latest release of each repository is supported. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review October 27, 2026 03:30

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="SECURITY.md" line_range="3-5" />
<code_context>
+# Security policy
+
+This policy applies to every repository of
+[ELIXIR Cloud & AAI](https://github.com/elixir-cloud-aai) that has no
+`SECURITY.md` of its own; repositories with their own policy follow that one.
+
+## Reporting a vulnerability
</code_context>
<issue_to_address>
**Security instructions stay hidden**

When the `.github` repository remains private and a repository has no own `SECURITY.md`, gitHub does not use this file as an organization-wide default, so that repository does not show the promised reporting and policy guidance to reporters, who may report vulnerabilities publicly instead.

Make the `.github` defaults repository public or publish the policy through another visible, supported route.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: SECURITY.md:5

Comment thread SECURITY.md Resolved
@uniqueg
uniqueg merged commit e0fa8bd into main Oct 27, 2026
1 check passed
@uniqueg
uniqueg deleted the docs/security-policy branch October 27, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add org-wide security policy

1 participant