-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSECURITY.html
More file actions
364 lines (348 loc) · 20.9 KB
/
Copy pathSECURITY.html
File metadata and controls
364 lines (348 loc) · 20.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="GIT Going with GitHub - A two-day accessible open source workshop by Community Access">
<title>Security Policy - GIT Going with GitHub</title>
<link rel="stylesheet" href="./styles/github-markdown.css">
<link rel="stylesheet" href="./styles/highlight.css">
<link rel="stylesheet" href="./styles/custom.css">
<style>
.markdown-body {
box-sizing: border-box;
min-width: 0;
max-width: 980px;
margin: 0;
padding: 45px;
}
.page-layout {
max-width: 1320px;
margin: 0 auto;
padding: 1rem 1rem 2rem;
display: grid;
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
gap: 1.25rem;
align-items: start;
}
@media (max-width: 767px) {
.page-layout {
grid-template-columns: 1fr;
padding: 0.5rem 0.5rem 1rem;
}
.markdown-body {
padding: 15px;
}
}
</style>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to main content</a>
<header class="site-header" role="banner">
<div class="site-header-inner">
<nav aria-label="Breadcrumb" class="breadcrumb">
<a href="./index.html">Home</a> <span aria-hidden="true">›</span> <span aria-current="page">Security Policy</span>
</nav>
<div class="header-actions">
<a href="https://github.com/Community-Access/git-going-with-github/wiki" class="wiki-link" target="_blank" rel="noopener noreferrer">
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
<path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.06l-2.573 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.457 1.457 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 1 1 1.06-1.06l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h.25a.25.25 0 0 0 .25-.25v-5.5Z"/>
</svg>
Wiki
</a>
<form role="search" class="search-form" action="./search.html" method="get">
<label for="site-search" class="search-label">Search docs</label>
<input
type="search"
id="site-search"
class="search-input"
name="q"
placeholder="Search docs…"
autocomplete="off"
aria-label="Search documentation"
>
<button type="submit" class="search-button" aria-label="Submit search">
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
<path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"/>
</svg>
</button>
</form>
</div>
</div>
</header>
<div class="page-layout">
<aside class="guided-sidebar" aria-label="Guided reference">
<h2 class="guided-title">Guided Reference</h2>
<p class="guided-intro">Follow the learning order, then jump into challenge issue views, appendices, and support resources.</p>
<section class="guided-resume" aria-label="Resume learning">
<a id="resume-link" class="guided-resume-link" href="./index.html" hidden>Resume where you left off</a>
</section>
<nav class="guided-nav" aria-label="Workshop navigation">
<section class="guided-section">
<h3>Start Here</h3>
<ul>
<li><a href="./index.html">Workshop Home</a></li>
<li><a href="./docs/course-guide.html">Course Guide</a></li>
<li><a href="./docs/get-going.html">Get Going with GitHub</a></li>
<li><a href="./docs/CHALLENGES.html">Challenge Hub</a></li>
</ul>
</section>
<section class="guided-section">
<h3>Learning Order</h3>
<details>
<summary>Day 1 chapters</summary>
<ul>
<li><a href="./docs/00-pre-workshop-setup.html">Pre-Workshop Setup - GIT Going with GitHub</a></li>
<li><a href="./docs/01-choose-your-tools.html">Choose Your Adventure: A Tool Tour</a></li>
<li><a href="./docs/02-understanding-github.html">Understanding GitHub's Web Structure</a></li>
<li><a href="./docs/03-navigating-repositories.html">Navigating Repositories</a></li>
<li><a href="./docs/04-the-learning-room.html">The Learning Room: Your Personal Practice Repository</a></li>
<li><a href="./docs/05-working-with-issues.html">Working with Issues</a></li>
<li><a href="./docs/06-working-with-pull-requests.html">Working with Pull Requests</a></li>
<li><a href="./docs/07-merge-conflicts.html">Merge Conflicts</a></li>
<li><a href="./docs/08-open-source-culture.html">Culture, Etiquette, and Community Standards</a></li>
<li><a href="./docs/09-labels-milestones-projects.html">Labels, Milestones, and Projects</a></li>
<li><a href="./docs/10-notifications-and-day-1-close.html">Notifications</a></li>
</ul>
</details>
<details>
<summary>Day 2 chapters</summary>
<ul>
<li><a href="./docs/11-vscode-interface.html">VS Code: Interface and Setup</a></li>
<li><a href="./docs/12-vscode-accessibility.html">VS Code: Accessibility Deep Dive</a></li>
<li><a href="./docs/13-how-git-works.html">How Git Works: The Mental Model</a></li>
<li><a href="./docs/14-git-in-practice.html">Git & Source Control in VS Code</a></li>
<li><a href="./docs/15-code-review.html">Code Review: PRs, Diffs, and Constructive Feedback</a></li>
<li><a href="./docs/16-github-copilot.html">GitHub Copilot</a></li>
<li><a href="./docs/17-issue-templates.html">Issue Templates</a></li>
<li><a href="./docs/18-fork-and-contribute.html">Fork and Contribute: The Open Source Workflow</a></li>
<li><a href="./docs/19-accessibility-agents.html">Accessibility Agents</a></li>
<li><a href="./docs/20-build-your-agent.html">Capstone Project: Contribute an Impactful Agent</a></li>
<li><a href="./docs/21-github-accessibility-and-open-source.html">GitHub Accessibility and Open Source at Scale</a></li>
<li><a href="./docs/22-what-comes-next.html">What Comes Next: Your Developer Journey</a></li>
</ul>
</details>
</section>
<section class="guided-section">
<h3>Appendices</h3>
<details>
<summary>Reference library</summary>
<ul>
<li><a href="./docs/appendix-a-glossary.html">Appendix A: GitHub Concepts & Glossary</a></li>
<li><a href="./docs/appendix-b-screen-reader-cheatsheet.html">Appendix B: Screen Reader Cheat Sheet</a></li>
<li><a href="./docs/appendix-c-markdown-reference.html">Appendix C: Markdown and GitHub Flavored Markdown - Complete Guide</a></li>
<li><a href="./docs/appendix-d-git-authentication.html">Appendix D: Git Authentication</a></li>
<li><a href="./docs/appendix-e-advanced-git.html">Appendix E: Advanced Git Operations</a></li>
<li><a href="./docs/appendix-f-git-security.html">Appendix F: Git Security for Contributors</a></li>
<li><a href="./docs/appendix-g-vscode-reference.html">Appendix G: VS Code Accessibility Reference</a></li>
<li><a href="./docs/appendix-h-github-desktop.html">Appendix H: GitHub Desktop</a></li>
<li><a href="./docs/appendix-i-github-cli.html">Appendix I: GitHub CLI Reference</a></li>
<li><a href="./docs/appendix-j-cloud-editors.html">Appendix J: GitHub Codespaces</a></li>
<li><a href="./docs/appendix-k-copilot-reference.html">Appendix K: Copilot Reference</a></li>
<li><a href="./docs/appendix-l-agents-reference.html">Appendix L: Accessibility Agents Reference</a></li>
<li><a href="./docs/appendix-m-accessibility-standards.html">Appendix M: Accessibility Standards Reference</a></li>
<li><a href="./docs/appendix-n-advanced-search.html">Appendix N: GitHub Advanced Search</a></li>
<li><a href="./docs/appendix-o-branch-protection.html">Appendix O: Branch Protection Rules and Repository Rulesets</a></li>
<li><a href="./docs/appendix-p-security-features.html">Appendix P: GitHub Security Features</a></li>
<li><a href="./docs/appendix-q-actions-workflows.html">Appendix Q: GitHub Actions and Workflows</a></li>
<li><a href="./docs/appendix-r-projects-deep-dive.html">Appendix R: GitHub Projects Deep Dive</a></li>
<li><a href="./docs/appendix-s-releases-tags-insights.html">Appendix S: Releases, Tags, and Repository Insights</a></li>
<li><a href="./docs/appendix-t-community-and-social.html">Appendix T: Community and Social</a></li>
<li><a href="./docs/appendix-u-discussions-and-gists.html">Appendix U: Discussions and Gists</a></li>
<li><a href="./docs/appendix-v-github-mobile.html">Appendix V: GitHub Mobile</a></li>
<li><a href="./docs/appendix-w-github-pages.html">Appendix W: Publishing with GitHub Pages</a></li>
<li><a href="./docs/appendix-x-resources.html">Appendix X: Resources</a></li>
<li><a href="./docs/appendix-y-workshop-materials.html">Appendix Y: Accessing and Downloading Workshop Materials</a></li>
<li><a href="./docs/appendix-z-github-skills.html">Appendix Z: GitHub Skills - Complete Course Catalog</a></li>
<li><a href="./docs/appendix-aa-agent-installation-setup.html">Appendix AA: Agent Installation & Setup Across All Platforms</a></li>
<li><a href="./docs/appendix-ab-advanced-agent-patterns.html">Appendix AB: Advanced Agent Patterns & Skills</a></li>
<li><a href="./docs/appendix-ac-document-developer-tools.html">Appendix AC: Document & Developer Tool Agents</a></li>
</ul>
</details>
</section>
<section class="guided-section">
<h3>Challenge Lab</h3>
<ul>
<li><a href="./docs/CHALLENGES.html">Challenge Hub</a></li>
<li><a href="./work.html">Issue-Style Challenge Walkthrough</a></li>
<li><a href="./docs/17-issue-templates.html">Issue Template Deep Dive</a></li>
</ul>
</section>
<section class="guided-section">
<h3>External Resources</h3>
<ul>
<li><a href="https://lp.csedesigns.com/ggg/PODCASTS.html">Podcast Episodes <span class="guided-external">(external)</span></a></li>
<li><a href="https://lp.csedesigns.com/ggg/feed.xml">RSS Feed <span class="guided-external">(external)</span></a></li>
</ul>
</section>
<section class="guided-section">
<h3>Get Help</h3>
<ul>
<li><a href="https://github.com/Community-Access/support">Support Hub <span class="guided-external">(external)</span></a></li>
</ul>
</section>
</nav>
</aside>
<main id="main-content" class="markdown-body page-main">
<nav class="quick-jumps" aria-label="Quick jumps">
<h2 class="quick-jumps-title">Quick Jumps</h2>
<ul class="quick-jumps-list">
<li><a href="#course-content">Jump to course content</a></li><li><a href="#main-content">Jump to main content top</a></li><li><a href="#on-this-page">Jump to on-page sections</a></li><li><a href="./docs/CHALLENGES.html">Open challenge hub</a></li><li><a href="./work.html">Open issue-style challenge walkthrough</a></li>
</ul>
</nav>
<nav id="on-this-page" class="onpage-nav" aria-label="On this page">
<h2 class="onpage-title">On This Page</h2>
<ul class="onpage-list">
<li class="onpage-item"><a href="#supported-versions">Supported Versions</a></li>
<li class="onpage-item"><a href="#reporting-a-vulnerability">Reporting a Vulnerability</a></li>
<li class="onpage-item onpage-sub"><a href="#preferred-method---private-vulnerability-reporting">Preferred Method - Private Vulnerability Reporting</a></li>
<li class="onpage-item onpage-sub"><a href="#what-to-report">What to Report</a></li>
<li class="onpage-item onpage-sub"><a href="#what-is-out-of-scope">What Is Out of Scope</a></li>
<li class="onpage-item"><a href="#response-timeline">Response Timeline</a></li>
<li class="onpage-item"><a href="#scope-and-impact">Scope and Impact</a></li>
<li class="onpage-item"><a href="#credit">Credit</a></li>
<li class="onpage-item"><a href="#authoritative-sources">Authoritative Sources</a></li>
<li class="onpage-item onpage-sub"><a href="#section-level-source-map">Section-Level Source Map</a></li>
</ul>
</nav>
<div id="course-content"><h1 id="security-policy">Security Policy</h1>
<h2 id="supported-versions">Supported Versions</h2>
<p>This repository contains <strong>educational curriculum and documentation only</strong> - no production software, application servers, or APIs. There are no versioned software releases to patch.</p>
<p><strong>Table: Supported content types and their source</strong></p>
<table>
<thead>
<tr>
<th scope="col">Content</th>
<th scope="col">Supported</th>
</tr>
</thead>
<tbody><tr>
<td>Curriculum documentation (docs/)</td>
<td>Current main branch</td>
</tr>
<tr>
<td>GitHub Actions workflows (.github/workflows/)</td>
<td>Current main branch</td>
</tr>
<tr>
<td>Build scripts (scripts/)</td>
<td>Current main branch</td>
</tr>
<tr>
<td>AI agent prompts (.github/prompts/, .github/agents/)</td>
<td>Current main branch</td>
</tr>
</tbody></table>
<h2 id="reporting-a-vulnerability">Reporting a Vulnerability</h2>
<p><strong>Please do not report security vulnerabilities as public GitHub Issues.</strong> Public issues are visible to everyone, including people who might exploit the vulnerability before it is fixed.</p>
<h3 id="preferred-method---private-vulnerability-reporting">Preferred Method - Private Vulnerability Reporting</h3>
<p>This repository has <strong>Private Vulnerability Reporting</strong> enabled. To submit a report:</p>
<ol>
<li>Navigate to the <strong>Security tab</strong> of this repository</li>
<li>Select <strong>"Report a vulnerability"</strong></li>
<li>Fill in the form with:<ul>
<li>A clear title describing the issue</li>
<li>A detailed description of the vulnerability and its potential impact</li>
<li>Steps to reproduce (if applicable)</li>
<li>Your suggested fix (optional but appreciated)</li>
</ul>
</li>
<li>Submit - only the maintainers will see your report</li>
</ol>
<h3 id="what-to-report">What to Report</h3>
<p>Even though this is an educational repository, the following are genuine security concerns:</p>
<ul>
<li><strong>Malicious content injected into curriculum files</strong> - documentation that contains links to phishing sites, malware downloads, or misleading instructions</li>
<li><strong>GitHub Actions workflow vulnerabilities</strong> - script injection risks in <code>.github/workflows/</code>, insecure use of <code>GITHUB_TOKEN</code>, or pull-request-triggered workflows that execute untrusted code</li>
<li><strong>Hardcoded credentials</strong> - any real tokens, passwords, or API keys accidentally committed to any file</li>
<li><strong>Supply chain risks</strong> - compromised npm dependencies used by the build system</li>
<li><strong>Prompt injection in agent files</strong> - AI agent prompts (<code>.prompt.md</code>, <code>.agent.md</code>) that could manipulate an LLM to produce harmful output</li>
</ul>
<h3 id="what-is-out-of-scope">What Is Out of Scope</h3>
<ul>
<li>Theoretical attacks with no realistic exploitation path</li>
<li>Vulnerabilities in GitHub's own infrastructure (report those to GitHub directly at the <a href="https://github.com/security">GitHub Security page</a>)</li>
<li>Broken links or outdated documentation (open a regular issue for those)</li>
</ul>
<h2 id="response-timeline">Response Timeline</h2>
<table>
<thead>
<tr>
<th scope="col">Milestone</th>
<th scope="col">Target</th>
</tr>
</thead>
<tbody><tr>
<td>Acknowledge receipt</td>
<td>Within 3 business days</td>
</tr>
<tr>
<td>Initial assessment</td>
<td>Within 7 business days</td>
</tr>
<tr>
<td>Fix deployed (if confirmed)</td>
<td>Within 30 days for critical/high; 90 days for medium/low</td>
</tr>
<tr>
<td>Public disclosure</td>
<td>After fix is deployed, or coordinated with reporter</td>
</tr>
</tbody></table>
<h2 id="scope-and-impact">Scope and Impact</h2>
<p>This curriculum is designed to teach GitHub to workshop participants. The primary security risks are:</p>
<ol>
<li><strong>Documentation accuracy</strong> - incorrect instructions that could cause participants to configure their systems insecurely</li>
<li><strong>Workflow integrity</strong> - GitHub Actions that run on pull requests from forks require careful scoping to prevent privilege escalation</li>
<li><strong>Dependency security</strong> - the build system uses Node.js packages that must be kept up to date</li>
</ol>
<h2 id="credit">Credit</h2>
<p>Security researchers who responsibly disclose valid vulnerabilities will be credited in the repository's release notes (unless they prefer to remain anonymous).</p>
<p><em>For general questions about the curriculum, open a regular issue. For security concerns, use private reporting above.</em></p>
<h2 id="authoritative-sources">Authoritative Sources</h2>
<p>Use these official references when you need the current source of truth for facts in this chapter.</p>
<ul>
<li><a href="https://docs.github.com/en">GitHub Docs, home</a></li>
<li><a href="https://github.blog/changelog/">GitHub Changelog</a></li>
<li><a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a></li>
<li><a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a></li>
<li><a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
</ul>
<h3 id="section-level-source-map">Section-Level Source Map</h3>
<p>Use this map to verify facts for each major section in this file.</p>
<ul>
<li><strong>Supported Versions:</strong> <a href="https://docs.github.com/en">GitHub Docs, home</a>, <a href="https://github.blog/changelog/">GitHub Changelog</a>, <a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a>, <a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a>, <a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
<li><strong>Reporting a Vulnerability:</strong> <a href="https://docs.github.com/en">GitHub Docs, home</a>, <a href="https://github.blog/changelog/">GitHub Changelog</a>, <a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a>, <a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a>, <a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
<li><strong>Response Timeline:</strong> <a href="https://docs.github.com/en">GitHub Docs, home</a>, <a href="https://github.blog/changelog/">GitHub Changelog</a>, <a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a>, <a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a>, <a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
<li><strong>Scope and Impact:</strong> <a href="https://docs.github.com/en">GitHub Docs, home</a>, <a href="https://github.blog/changelog/">GitHub Changelog</a>, <a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a>, <a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a>, <a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
<li><strong>Credit:</strong> <a href="https://docs.github.com/en">GitHub Docs, home</a>, <a href="https://github.blog/changelog/">GitHub Changelog</a>, <a href="https://docs.github.com/en/code-security/getting-started/github-security-features">GitHub security features</a>, <a href="https://docs.github.com/en/code-security/dependabot">Dependabot docs</a>, <a href="https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning">Secret scanning docs</a></li>
</ul>
</div>
</main>
</div>
<footer role="contentinfo" class="site-footer">
<p><strong>GIT Going with GitHub</strong> - A workshop by <a href="https://community-access.org">Community Access</a></p>
<p><a href="https://github.com/community-access/git-going-with-github">View on GitHub</a> · <a href="https://community-access.org">community-access.org</a></p>
</footer>
<script>
(function() {
var key = 'gggLastVisitedPath';
var currentPath = window.location.pathname || '';
try {
if (currentPath) {
localStorage.setItem(key, currentPath);
}
} catch (e) {}
var resumeLink = document.getElementById('resume-link');
if (!resumeLink) return;
try {
var savedPath = localStorage.getItem(key);
if (savedPath && savedPath !== currentPath) {
resumeLink.hidden = false;
resumeLink.setAttribute('href', savedPath);
}
} catch (e) {}
})();
</script>
</body>
</html>