Skip to content

Update SECURITY.md#3

Merged
416rehman merged 1 commit intomainfrom
416rehman-patch-1
Apr 16, 2026
Merged

Update SECURITY.md#3
416rehman merged 1 commit intomainfrom
416rehman-patch-1

Conversation

@416rehman
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 05:23
@416rehman 416rehman merged commit 146fd41 into main Apr 16, 2026
3 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a repository security policy document (SECURITY.md) describing supported versions, how to report vulnerabilities, threat model highlights, and disclosure expectations.

Changes:

  • Introduces a “Supported Versions” policy and private vulnerability reporting channels.
  • Documents key risk areas (processor loading, YAML parsing, filesystem access, worker parallelism).
  • Adds security best practices for processor authors and a coordinated disclosure policy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SECURITY.md
Comment on lines +5 to +8
| Version | Supported |
|---------|-----------|
| Latest (`main`) | ✅ |
| Older releases | ❌ |
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The Markdown table syntax in this section starts each row with ||, which renders an unintended empty first column (or may fail to render as expected). Use a single leading | per row so the Supported Versions table formats correctly.

Copilot uses AI. Check for mistakes.
Comment thread SECURITY.md
| Latest (`main`) | ✅ |
| Older releases | ❌ |

We only provide security fixes for the latest release. Please update before reporting.
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

This text says security fixes are only provided for the latest release, but the table describes support as “Latest (main)”. Please reconcile this (e.g., refer to the latest tagged release, or explicitly state that only the main branch is supported) so the policy is unambiguous.

Suggested change
We only provide security fixes for the latest release. Please update before reporting.
We only provide security fixes for the latest `main` branch. Please update before reporting.

Copilot uses AI. Check for mistakes.
Comment thread SECURITY.md

Report vulnerabilities privately via one of the following:

- **GitHub Private Advisories**: [Security Advisories](https://github.com/416rehman/DeepZero/security/advisories/new)
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The Security Advisory link is hard-coded to https://github.com/416rehman/DeepZero/..., which will be incorrect for forks or if the repo is transferred/renamed. Prefer a relative link (e.g., /security/advisories/new) so it stays correct regardless of the repository owner/name.

Suggested change
- **GitHub Private Advisories**: [Security Advisories](https://github.com/416rehman/DeepZero/security/advisories/new)
- **GitHub Private Advisories**: [Security Advisories](/security/advisories/new)

Copilot uses AI. Check for mistakes.
Comment thread SECURITY.md
- Keep `setup()` / `teardown()` symmetric, don't leave sockets or file handles open.
- Run the required linting and security scan before submitting:
```bash
ruff check . && ruff format --check . && bandit -r src processors
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

The recommended Bandit command here doesn’t match the CI gate (CI runs Bandit with -ll -ii and -c pyproject.toml over the repo). Consider updating the documented command to mirror CI so contributors get the same findings locally (and so Bandit picks up the repo’s config/excludes).

Suggested change
ruff check . && ruff format --check . && bandit -r src processors
ruff check . && ruff format --check . && bandit -r -ll -ii -c pyproject.toml .

Copilot uses AI. Check for mistakes.
@416rehman 416rehman deleted the 416rehman-patch-1 branch April 16, 2026 05:57
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.

2 participants