Skip to content
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

Adding Vyper to Bug Bounty Program #13700

Merged
merged 7 commits into from
Aug 26, 2024
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
Binary file added public/images/upgrades/solidity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/upgrades/vyper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/intl/en/page-bug-bounty.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"page-upgrades-bug-bounty-clients-type-1": "Spec non-compliance issues",
"page-upgrades-bug-bounty-clients-type-2": "Unexpected crashes, RCE or denial of service (DOS) vulnerabilities",
"page-upgrades-bug-bounty-clients-type-3": "Any issues causing irreparable consensus splits from the rest of the network",
"page-upgrades-bug-bounty-misc-bugs": "Solidity bugs",
"page-upgrades-bug-bounty-misc-bugs-desc": "See the Solidity SECURITY.MD for more details about what is included in this scope.",
"page-upgrades-bug-bounty-misc-bugs-desc-2": "Solidity does not hold security guarantees regarding compilation of untrusted input – and we do not issue rewards for crashes of the solc compiler on maliciously generated data.",
"page-upgrades-bug-bounty-misc-bugs": "Language compiler bugs",
"page-upgrades-bug-bounty-misc-bugs-desc": "The Solidity and Vyper compilers are in scope of the bug bounty program. Please include all details necessary to reproduce the vulnerability such as: Input program that triggers the bug, Compiler version affected, Target EVM version, Framework/IDE if applicable, EVM execution environment/client if applicable and Operating system, Please include steps to reproduce the bug you have found in as much detail as possible.",
"page-upgrades-bug-bounty-misc-bugs-desc-2": "Solidity and Vyper does not hold security guarantees regarding compilation of untrusted input – and we do not issue rewards for crashes of the compiler on maliciously generated data.",
"page-upgrades-bug-bounty-deposit-bugs": "Deposit Contract bugs",
"page-upgrades-bug-bounty-deposit-bugs-desc": "The specifications and source code of the Beacon Chain Deposit Contract is part of the bug bounty program.",
"page-upgrades-bug-bounty-dependency-bugs": "Dependency bugs",
Expand Down Expand Up @@ -59,7 +59,7 @@
"page-upgrades-bug-bounty-specs-docs": "Specification documents",
"page-upgrades-bug-bounty-submit": "Submit a bug",
"page-upgrades-bug-bounty-submit-desc": "For each valid bug you find you’ll earn rewards. The quantity of rewards awarded will vary depending on Severity. The severity is calculated according to the OWASP risk rating model based on Impact on the Ethereum Network and Likelihood.",
"page-upgrades-bug-bounty-subtitle": "Earn up to 250,000 USD and a place on the leaderboard by finding protocol, client and Solidity bugs affecting the Ethereum network.",
"page-upgrades-bug-bounty-subtitle": "Earn up to 250,000 USD and a place on the leaderboard by finding protocol, client and language compiler bugs affecting the Ethereum network.",
"page-upgrades-bug-bounty-title": "Open for submissions",
"page-upgrades-bug-bounty-title-1": "Beacon Chain",
"page-upgrades-bug-bounty-title-2": "Fork choice",
Expand Down
25 changes: 22 additions & 3 deletions src/pages/bug-bounty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ import nethermind from "@/public/images/upgrades/nethermind.png"
import nimbus from "@/public/images/upgrades/nimbus-cloud.png"
import prysm from "@/public/images/upgrades/prysm.png"
import reth from "@/public/images/upgrades/reth.png"
import solidity from "@/public/images/upgrades/solidity.png"
import tekuDark from "@/public/images/upgrades/teku-dark.png"
import tekuLight from "@/public/images/upgrades/teku-light.png"
import vyper from "@/public/images/upgrades/vyper.png"

const Page = (props: ChildOnlyProp) => (
<Box
Expand Down Expand Up @@ -325,6 +327,12 @@ type Spec = {
link: string
}

type Language = {
title: string
link: string
image: ImageProps["src"]
}

const sortBountyHuntersFn = (a: BountyHuntersArg, b: BountyHuntersArg) => {
if (!a.score || !b.score) return 0
return b.score - a.score
Expand Down Expand Up @@ -457,6 +465,19 @@ const BugBountiesPage = () => {
},
]

const languages: Language[] = [
{
title: "Solidity",
link: "https://soliditylang.org/",
image: solidity,
},
{
title: "Vyper",
link: "https://vyperlang.org/",
image: vyper,
},
]

const iconImageProps = {
width: 60,
}
Expand Down Expand Up @@ -662,9 +683,7 @@ const BugBountiesPage = () => {
>
{t("page-upgrades-bug-bounty-help-links")}
</OldHeading>
<InlineLink href="https://github.com/ethereum/solidity/blob/develop/SECURITY.md">
SECURITY.md
</InlineLink>
<CardList items={languages} />
</Box>
</StyledCard>
<StyledCard
Expand Down
Loading