Skip to content

Deploy to production #2138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions locales/en-US/security.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,46 @@ security-reporting-description--2022-01 =
</ul>
<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>

security-scope-heading = Scope
security-scope--2025-04 =
<p>The Rust Security Response WG handles vulnerability reports for everything maintained and published by the Rust Project:</p>
<ul>
<li>
The following GitHub organizations, and all repositories and CI pipelines hosted in them:
<ul>
<li><a href="https://github.com/rust-lang"><code>rust-lang</code></a></li>
<li><a href="https://github.com/rust-lang-ci"><code>rust-lang-ci</code></a></li>
<li><a href="https://github.com/rust-lang-nursery"><code>rust-lang-nursery</code></a></li>
<li><a href="https://github.com/rust-analyzer"><code>rust-analyzer</code></a></li>
</ul>
</li>
<li>
The following domain names, all their subdomains, and all applications hosted within:
<ul>
<li><a href="http://rust-lang.org">rust-lang.org</a> (see exceptions below)</li>
<li><a href="http://rustup.rs">rustup.rs</a></li>
<li><a href="http://crates.io">crates.io</a> (see exceptions below)</li>
<li><a href="http://docs.rs">docs.rs</a></li>
<li><a href="http://rfcbot.rs">rfcbot.rs</a></li>
</ul>
</li>
<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>
<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>
<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>
</ul>
<p>The following things are <strong>outside our scope</strong>:</p>
<ul>
<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>
<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>
</ul>
<p>When reporting vulnerabilities, keep in mind that:</p>
<ul>
<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>
<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>
<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>
</ul>
<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>

security-disclosure-heading = Disclosure policy
security-disclosure-description =
<p>The Rust project has a 5 step disclosure process.</p>
Expand Down
10 changes: 10 additions & 0 deletions templates/policies/security.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
</div>
</section>

<section id="scope" class="white">
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
<header>
<h2>{{fluent "security-scope-heading"}}</h2>
<div class="highlight"></div>
</header>
{{fluent "security-scope--2025-04"}}
</div>
</section>

<section id="security-disclosure-policy" class="green">
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
<header>
Expand Down