Skip to content

Commit

Permalink
Merge pull request #13700 from fredriksvantes/fredriksvantes-bounty-u…
Browse files Browse the repository at this point in the history
…pdate

Adding Vyper to Bug Bounty Program
  • Loading branch information
wackerow authored Aug 26, 2024
2 parents 9e4a8c9 + 15d77f6 commit 29ae383
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 7 deletions.
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

0 comments on commit 29ae383

Please sign in to comment.