Skip to content

program: add solana-security-txt#360

Merged
2501babe merged 1 commit intosolana-program:mainfrom
2501babe:2060413_addsec
Apr 13, 2026
Merged

program: add solana-security-txt#360
2501babe merged 1 commit intosolana-program:mainfrom
2501babe:2060413_addsec

Conversation

@2501babe
Copy link
Copy Markdown
Member

i remember someone last month on discord confused about how to figure out what bpf stake they were supposed to verify against so i thought itd be nice to add this. doesnt help us for v5 but will next time!

in the spl repos we never filled out source_release because it doesnt really work with the github actions release flow, but i think this is a nice solution. no new commit needed, automatically the correct thing for releases we actually do. it will be wrong for ad hoc builds obviously. but i think this is fine since the whole point is for people to go deployed build -> github tag -> self-verification and we only deploy tagged releases

the project url is less than ideal but seems like the least bad thing, solana.com has a few pages on staking and stake accounts but nothing that actually mentions the stake program

query-security-txt ../target/deploy/solana_stake_program.so
Name: Solana Stake Program
Project URL: https://solana.com/docs/core/programs/builtin-programs#all-core-programs

Contacts:
  Link: https://github.com/solana-program/stake/security/advisories/new
  Email: security@anza.xyz
  Discord: https://discord.gg/solana

Policy:
https://github.com/solana-program/stake/blob/main/SECURITY.md

Preferred Languages:
  en
Source code: https://github.com/solana-program/stake/tree/main/program
Source release: program@v5.0.0

Auditors:
  https://github.com/solana-program/stake/tree/main?tab=readme-ov-file#security-audits

Copy link
Copy Markdown
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Looks great!

// Optional Fields
preferred_languages: "en",
source_code: "https://github.com/solana-program/stake/tree/main/program",
source_release: concat!("program@v", env!("CARGO_PKG_VERSION")),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh slick!

@2501babe 2501babe merged commit 23a1d99 into solana-program:main Apr 13, 2026
23 checks passed
@2501babe 2501babe deleted the 2060413_addsec branch April 13, 2026 21:19
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