Debian Codegraph @

SECURITY.md

raw
1 # Security Policy
2
3 ## Reporting a Vulnerability
4
5 The security of this project and the users who depend on it is important.
6
7 If you believe you have found a security vulnerability, please report it through **GitHub Private Vulnerability Reporting**.
8
9 Please do **not** open a public GitHub issue for security vulnerabilities before coordinated disclosure. Public reports may expose users of this library to unnecessary risk.
10
11 Additional contact information is available on the project's GitHub About page.
12
13 ---
14
15 ## Scope
16
17 Security reports are welcome for the entire repository.
18
19 Any type of potential security vulnerability is welcome, including but not limited to:
20
21 * Code execution vulnerabilities
22 * Authentication or authorization issues
23 * Data exposure
24 * Injection vulnerabilities
25 * Denial-of-service vulnerabilities
26 * Cryptographic issues
27 * Supply-chain or dependency-related security issues
28
29
30 Dependency-related reports are welcome when they have a demonstrated security impact on this library or its users. Please include evidence of possible exploitation or security impact.
31
32 ---
33
34 ## Supported Versions
35
36 Security fixes are provided for the latest released version only.
37
38 Users of older versions are encouraged to upgrade to the latest release before requesting security fixes.
39
40 Reports affecting older versions are still welcome if they help identify security issues, but fixes will be developed against the latest supported version.
41
42 ---
43
44 ## What to Include in a Report
45
46 To help with investigation and resolution, please include as much of the following information as possible:
47
48 * A clear description of the vulnerability
49 * Expected behavior and actual behavior
50 * A minimal reproducible example in a form of unit test demonstrating exploitation
51 * Impact assessment, if possible
52 * Severity assessment, if possible
53
54 If AI-assisted tools were used during security research, please mention this in the report and describe how they contributed to the investigation. This information helps with effective triage and evaluation of the findings.
55
56 ---
57
58 ## Response Timeline
59
60 The project aims to follow these response timelines:
61
62 * **Acknowledgement:** within 1–5 business days (excluding holidays)
63 * **Initial assessment:** within 7 days
64 * **Fix timeline:** depends on vulnerability complexity, impact, and required changes
65
66 Security reports are investigated carefully, and timelines may vary depending on the nature of the issue.
67
68 ---
69
70 ## Vulnerability Handling Process
71
72 Security fixes follow the normal GitHub development workflow:
73
74 1. A fix is developed in a dedicated branch.
75 2. Changes may be contributed by either the project maintainer or the security researcher.
76 3. The fix is reviewed and merged through the normal pull request process.
77 4. After the fix is merged into `master` and tagged/released, coordinated public disclosure can take place.
78
79 ---
80
81 ## Disclosure Policy
82
83 The project follows a standard coordinated disclosure process.
84
85 Security details should remain private until a fix has been merged into `master` and a corresponding release/tag is available.
86
87 After the fix is available:
88
89 * The security researcher may publish the details or open a public GitHub issue.
90 * The project maintainer may publish the disclosure on behalf of the researcher if requested.
91 * Researcher credit will always be preserved.
92 * A specific disclosure date may be requested and negotiated when additional coordination is needed.
93
94 ---
95
96 ## Researcher Recognition
97
98 Security researchers who responsibly report vulnerabilities are credited in the corresponding GitHub Security Advisory.
99
100 Additional acknowledgement may also be provided through appropriate project pages or GitHub discussions/issues when applicable.
101
102 Thank you for helping improve the security of this project and the wider open-source ecosystem.
103
104 ---
105
106 ## Safe Harbor
107
108 The project welcomes security research performed in good faith.
109
110 If you:
111
112 * Follow responsible disclosure practices
113 * Avoid intentionally harming users or services
114 * Avoid accessing or modifying data that does not belong to you
115 * Provide reasonable details needed to reproduce and fix the issue
116 * Allow reasonable time for remediation and coordinated disclosure
117
118 then the project will consider your research to be authorized security testing and will not pursue legal action against you for your security research activities.
119
120 If you are unsure whether a specific action is acceptable, please contact the project maintainers before proceeding.