Skip to content

chore: add CLAUDE.md with Hacken bug bounty PR guidelines#404

Merged
rootulp merged 1 commit intomainfrom
rootulp/update-claude-md
Apr 7, 2026
Merged

chore: add CLAUDE.md with Hacken bug bounty PR guidelines#404
rootulp merged 1 commit intomainfrom
rootulp/update-claude-md

Conversation

@rootulp
Copy link
Copy Markdown
Collaborator

@rootulp rootulp commented Apr 7, 2026

Summary

  • Add a CLAUDE.md file with a "Security PRs" section
  • Instructs Claude to not include bug details in PR descriptions for Hacken bug bounty fixes; instead link to a Linear issue

Closes https://linear.app/celestia/issue/PROTOCO-1445/update-claudemd

Test plan

  • Verify CLAUDE.md is present at the repo root with the "Security PRs" section

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rootulp rootulp requested a review from a team as a code owner April 7, 2026 19:13
@rootulp rootulp requested review from rach-id and removed request for a team April 7, 2026 19:13
@rootulp rootulp self-assigned this Apr 7, 2026
@rootulp rootulp enabled auto-merge (squash) April 7, 2026 19:13
@rootulp rootulp merged commit cfaf813 into main Apr 7, 2026
7 checks passed
@rootulp rootulp deleted the rootulp/update-claude-md branch April 7, 2026 19:15
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a CLAUDE.md file to establish guidelines for security-related pull requests, specifically regarding the handling of bug bounty reports. The review feedback suggests expanding these guidelines to include PR titles and all security vulnerabilities, as well as adding standard build and test commands to better support the Claude Code tool.

Comment on lines +1 to +2
# CLAUDE.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

CLAUDE.md is intended to provide context for the Claude Code tool, specifically build and test commands. Including these commands (as found in the README) will allow the tool to operate more effectively within this repository.

Suggested change
# CLAUDE.md
# CLAUDE.md
## Build and Test
- Build: make build
- Test: make test
- Lint: make lint
- Benchmarks: make bench


## Security PRs

- For PRs that resolve Hacken bug bounty reports, do not include details about the bug in the PR description. Instead, link to a Linear issue that contains more details on the bug and the link to the Hacken bug bounty report.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-medium medium

The guideline should also explicitly mention PR titles, as they are often public and can inadvertently disclose vulnerability details. Additionally, consider generalizing this rule to all security-related PRs, not just Hacken reports, to ensure a consistent security posture for all sensitive fixes.

Suggested change
- For PRs that resolve Hacken bug bounty reports, do not include details about the bug in the PR description. Instead, link to a Linear issue that contains more details on the bug and the link to the Hacken bug bounty report.
- For PRs that resolve security vulnerabilities (including Hacken bug bounty reports), do not include details about the bug in the PR title or description. Instead, link to a Linear issue that contains the vulnerability details and a link to the original report.

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