What?
Add a new file in /doc directory with security recommendations, known issues and related things. Add 'security' section in developer notes.
Why?
- Other sources of information are wiki, stackexchange, reddit, twitter etc. with their own problems
- There are lot of things related to security which are not documented anywhere or not organized in a way that can be easy to refer
It was even discussed in meeting and most of the devs agreed to create a doc with security related information for Bitcoin Core: https://bitcoin-irc.chaincode.com/bitcoin-core-dev/2022-01-06#761399;
Example of a similar document: https://github.com/lightningnetwork/lnd/blob/master/docs/safety.md
How?
I have created a doc which has 2 main sections: Users and Developers. 'Users' section is further categorized with p2p, rpc, wallet and other. 'Developers' section has two sections, one for secure programming in C++ and other for finding bugs in open pull requests.
I have created a doc which categories p2p, rpc, wallet and other.
'Security' section in developer-notes has two things, one for secure programming in C++ and other for finding bugs in open pull requests.
Few links that could help in understanding my perspective to add security section in developer notes:
https://www.securecoding.com/blog/finding-and-fixing-c-vulnerabilities/