Skip to content

Commit 4b12a5b

Browse files
authored
Revise SECURITY.md to include threat model and reporting
Updated the security policy to include a threat model section and revised reporting guidelines.
1 parent 72c4a04 commit 4b12a5b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎SECURITY.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Security Policy
2+
3+
## Threat Model
4+
5+
go-sql-driver/mysql is designed to connect to trusted MySQL-compatible database servers.
6+
7+
The driver does not aim to protect applications against malicious or compromised database servers. Malformed or malicious responses from such servers are outside our security threat model.
8+
9+
**Only connect to database servers you trust.**
10+
11+
Issues that can only be exploited by a malicious or compromised database server are not considered security vulnerabilities. However, we may still address them as regular bugs.
12+
13+
## Reporting Security Vulnerabilities
14+
15+
If you believe you have found a security vulnerability within this threat model, please report it privately using [GitHub Security Advisories](https://github.com/go-sql-driver/mysql/security/advisories/new).
16+
17+
Please do not disclose security vulnerabilities publicly before the maintainers have had an opportunity to investigate them.

0 commit comments

Comments
 (0)