-
Notifications
You must be signed in to change notification settings - Fork 6
docs(security): add SECURITY.md #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,34 @@ | ||||||||||||||
| # Security policy | ||||||||||||||
|
|
||||||||||||||
| ## Report a vulnerability | ||||||||||||||
|
|
||||||||||||||
| Report security issues here: | ||||||||||||||
|
|
||||||||||||||
| **https://peanut.me/en/help/security-disclosure** | ||||||||||||||
|
|
||||||||||||||
| That page is the current policy. Machine-readable contact details are at | ||||||||||||||
| [`/.well-known/security.txt`](https://peanut.me/.well-known/security.txt). | ||||||||||||||
|
|
||||||||||||||
| We read every report. | ||||||||||||||
|
|
||||||||||||||
| ## Scope | ||||||||||||||
|
|
||||||||||||||
| In scope: | ||||||||||||||
|
|
||||||||||||||
| - The Peanut app and website (peanut.me) | ||||||||||||||
| - The Peanut API | ||||||||||||||
| - The smart contracts behind Peanut accounts | ||||||||||||||
|
|
||||||||||||||
| Out of scope: | ||||||||||||||
|
|
||||||||||||||
| - Partner systems (identity verification, banking, card issuing) | ||||||||||||||
| - Scanner output with no demonstrated impact | ||||||||||||||
| - Denial of service and volumetric testing | ||||||||||||||
| - Social engineering | ||||||||||||||
| - Anything that needs physical access to another person's unlocked device | ||||||||||||||
|
Comment on lines
+26
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win Preserve the complete out-of-scope wording. The current disclosure page also excludes spam and issues requiring another person’s fingerprint or face; both exclusions are missing here. Keep this copy aligned with the linked policy. (peanut.me) Proposed fix-- Denial of service and volumetric testing
+- Denial of service, spam, and volumetric testing
...
-- Anything that needs physical access to another person's unlocked device
+- Anything requiring physical access to another person's unlocked device or their fingerprint or face📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
|
|
||||||||||||||
| ## Rewards | ||||||||||||||
|
|
||||||||||||||
| Rewards are discretionary. There is no fixed payout schedule and no severity | ||||||||||||||
| tiers. Older pages elsewhere on the internet describe a Peanut bug bounty with | ||||||||||||||
| published payout figures. That programme is retired. | ||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Reference the repository’s canonical policy source.
The PR objective identifies
mono/product/security.mdas the single source of truth, but this file only points to the public disclosure page. Add an explicit reference to the canonical file to reduce policy drift.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents