Skip to content

Commit b02bbd9

Browse files
authored
Merge pull request #2138 from rust-lang/master
Deploy to production
2 parents 90b02f6 + 5237bdc commit b02bbd9

File tree

3 files changed

+54
-4
lines changed

3 files changed

+54
-4
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

locales/en-US/security.ftl

+40
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,46 @@ security-reporting-description--2022-01 =
2222
</ul>
2323
<p>Please note that the discussion forums are public areas. When escalating in these venues, please do not discuss your issue. Simply say that you’re trying to get a hold of someone from the security team.</p>
2424
25+
security-scope-heading = Scope
26+
security-scope--2025-04 =
27+
<p>The Rust Security Response WG handles vulnerability reports for everything maintained and published by the Rust Project:</p>
28+
<ul>
29+
<li>
30+
The following GitHub organizations, and all repositories and CI pipelines hosted in them:
31+
<ul>
32+
<li><a href="https://github.com/rust-lang"><code>rust-lang</code></a></li>
33+
<li><a href="https://github.com/rust-lang-ci"><code>rust-lang-ci</code></a></li>
34+
<li><a href="https://github.com/rust-lang-nursery"><code>rust-lang-nursery</code></a></li>
35+
<li><a href="https://github.com/rust-analyzer"><code>rust-analyzer</code></a></li>
36+
</ul>
37+
</li>
38+
<li>
39+
The following domain names, all their subdomains, and all applications hosted within:
40+
<ul>
41+
<li><a href="http://rust-lang.org">rust-lang.org</a> (see exceptions below)</li>
42+
<li><a href="http://rustup.rs">rustup.rs</a></li>
43+
<li><a href="http://crates.io">crates.io</a> (see exceptions below)</li>
44+
<li><a href="http://docs.rs">docs.rs</a></li>
45+
<li><a href="http://rfcbot.rs">rfcbot.rs</a></li>
46+
</ul>
47+
</li>
48+
<li>All crates owned by <a href="https://crates.io/users/rust-lang-owner">@rust-lang-owner</a> on <a href="http://crates.io">crates.io</a>.</li>
49+
<li>All extensions in the Visual Studio Marketplace published by <a href="https://marketplace.visualstudio.com/publishers/rust-lang"><code>rust-lang</code></a>.</li>
50+
<li>All extensions in the Open VSX registry published by <a href="https://open-vsx.org/namespace/rust-lang"><code>rust-lang</code></a>.</li>
51+
</ul>
52+
<p>The following things are <strong>outside our scope</strong>:</p>
53+
<ul>
54+
<li>The <a href="http://internals.rust-lang.org">internals.rust-lang.org</a> and <a href="http://users.rust-lang.org">users.rust-lang.org</a> domains. Please follow <a href="https://github.com/discourse/discourse/blob/main/docs/SECURITY.md">Discourse's Security Policy</a> for it.</li>
55+
<li>Third-party packages published on <a href="http://crates.io">crates.io</a>. Please follow <a href="https://crates.io/security">crates.io's Security Policy</a> for them.</li>
56+
</ul>
57+
<p>When reporting vulnerabilities, keep in mind that:</p>
58+
<ul>
59+
<li>Unless otherwise noted, all components of the Rust toolchain (rustc, Cargo, rust-analyzer, or any other tool shipped through rustup) assume that the user's source code and dependencies are fully trusted, reviewed and contain no malicious code. We do not consider attacks caused by compiling or analyzing malicious projects or dependencies a security vulnerability.</li>
60+
<li>Soundness issues in the Rust compiler or language are not automatically classified as a security vulnerability, but will be analyzed on a case-by-case basis if reported.</li>
61+
<li>The <code>regex</code> crate <a href="https://docs.rs/regex/latest/regex/#untrusted-input">provides guarantees about untrusted patterns</a>. We consider denial of service with untrusted patterns a security vulnerability only if the time spent inside of the <code>regex</code> crate is not linear, and none of the <a href="https://docs.rs/regex/latest/regex/struct.RegexBuilder.html">limit methods in <code>RegexBuilder</code></a> are able to prevent the attack.</li>
62+
</ul>
63+
<p>If you have doubts on whether something falls within our scope, <a href="mailto:[email protected]">please reach out</a> and we will provide guidance.</p>
64+
2565
security-disclosure-heading = Disclosure policy
2666
security-disclosure-description =
2767
<p>The Rust project has a 5 step disclosure process.</p>

templates/policies/security.html.hbs

+10
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@
3030
</div>
3131
</section>
3232

33+
<section id="scope" class="white">
34+
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
35+
<header>
36+
<h2>{{fluent "security-scope-heading"}}</h2>
37+
<div class="highlight"></div>
38+
</header>
39+
{{fluent "security-scope--2025-04"}}
40+
</div>
41+
</section>
42+
3343
<section id="security-disclosure-policy" class="green">
3444
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
3545
<header>

0 commit comments

Comments
 (0)