|
1 |
| -import React, { ReactNode, useContext } from "react" |
| 1 | +import React, { ReactNode } from "react" |
2 | 2 | import { useTheme } from "@emotion/react"
|
3 | 3 | import styled from "@emotion/styled"
|
4 | 4 | import { GatsbyImage } from "gatsby-plugin-image"
|
@@ -707,134 +707,117 @@ const BugBountiesPage = ({
|
707 | 707 | <Faq>
|
708 | 708 | <LeftColumn>
|
709 | 709 | <ExpandableCard
|
710 |
| - title="What should a good vulnerability submission look like?" |
711 |
| - contentPreview="See a real example of a quality vulnerability submission." |
| 710 | + title={translateMessageId("bug-bounty-faq-q1-title", intl)} |
| 711 | + contentPreview={translateMessageId( |
| 712 | + "bug-bounty-faq-q1-contentPreview", |
| 713 | + intl |
| 714 | + )} |
712 | 715 | >
|
713 | 716 | <p>
|
714 |
| - <b>Description:</b> Remote Denial-of-service using non-validated |
715 |
| - blocks |
| 717 | + <Translation id="bug-bounty-faq-q1-content-1" /> |
716 | 718 | </p>
|
717 | 719 | <p>
|
718 |
| - <b>Attack scenario:</b> An attacker can send blocks that may |
719 |
| - require a high amount of computation (the maximum gasLimit) but |
720 |
| - has no proof-of-work. If the attacker sends blocks continuously, |
721 |
| - the attacker may force the victim node to 100% CPU utilization. |
| 720 | + <Translation id="bug-bounty-faq-q1-content-2" /> |
722 | 721 | </p>
|
723 | 722 | <p>
|
724 |
| - <b>Impact:</b> An attacker can abuse CPU utilization on remote |
725 |
| - nodes, possibly causing full DoS. |
| 723 | + <Translation id="bug-bounty-faq-q1-content-3" /> |
726 | 724 | </p>
|
727 | 725 | <p>
|
728 |
| - <b>Components:</b> Go client version v0.6.8 |
| 726 | + <Translation id="bug-bounty-faq-q1-content-4" /> |
729 | 727 | </p>
|
730 | 728 | <p>
|
731 |
| - <b>Reproduction:</b> Send a block to a Go node that contains |
732 |
| - many txs but no valid PoW. |
| 729 | + <Translation id="bug-bounty-faq-q1-content-5" /> |
733 | 730 | </p>
|
734 | 731 | <p>
|
735 |
| - <b>Details:</b> Blocks are validated in the method{" "} |
736 |
| - <code>Process(Block, dontReact)</code>. This method performs |
737 |
| - expensive CPU-intensive tasks, such as executing transactions ( |
738 |
| - <code>sm.ApplyDiff</code>) and afterward it verifies the |
739 |
| - proof-of-work (<code>sm.ValidateBlock()</code>). This allows an |
740 |
| - attacker to send blocks that may require a high amount of |
741 |
| - computation (the maximum <code>gasLimit</code>) but has no |
742 |
| - proof-of-work. If the attacker sends blocks continuously, the |
743 |
| - attacker may force the victim node to 100% CPU utilization. |
| 732 | + <Translation id="bug-bounty-faq-q1-content-6" /> |
744 | 733 | </p>
|
745 | 734 | <p>
|
746 |
| - <b>Fix:</b> Invert the order of the checks. |
| 735 | + <Translation id="bug-bounty-faq-q1-content-7" /> |
747 | 736 | </p>
|
748 | 737 | </ExpandableCard>
|
749 | 738 | <ExpandableCard
|
750 |
| - title="Is the bug bounty program is time limited?" |
751 |
| - contentPreview="No." |
| 739 | + title={translateMessageId("bug-bounty-faq-q2-title", intl)} |
| 740 | + contentPreview={translateMessageId( |
| 741 | + "bug-bounty-faq-q2-contentPreview", |
| 742 | + intl |
| 743 | + )} |
752 | 744 | >
|
753 | 745 | <p>
|
754 |
| - No end date is currently set. See{" "} |
755 |
| - <a |
756 |
| - href="https://blog.ethereum.org/" |
757 |
| - target="_blank" |
758 |
| - rel="noreferrer" |
759 |
| - > |
760 |
| - the Ethereum Foundation blog |
761 |
| - </a>{" "} |
762 |
| - for the latest news. |
| 746 | + <Translation id="bug-bounty-faq-q2-content-1" /> |
763 | 747 | </p>
|
764 | 748 | </ExpandableCard>
|
765 | 749 | <ExpandableCard
|
766 |
| - title="How are bounties paid out?" |
767 |
| - contentPreview="Rewards are paid out in ETH or DAI." |
| 750 | + title={translateMessageId("bug-bounty-faq-q3-title", intl)} |
| 751 | + contentPreview={translateMessageId( |
| 752 | + "bug-bounty-faq-q3-contentPreview", |
| 753 | + intl |
| 754 | + )} |
768 | 755 | >
|
769 | 756 | <p>
|
770 |
| - Rewards are paid out in ETH or DAI after the submission has been |
771 |
| - validated, usually a few days later. Local laws require us to |
772 |
| - ask for <b>proof of your identity</b>. In addition, we will need |
773 |
| - your ETH address. |
| 757 | + <Translation id="bug-bounty-faq-q3-content-1" /> |
774 | 758 | </p>
|
775 | 759 | </ExpandableCard>
|
776 | 760 | <ExpandableCard
|
777 |
| - title="Can I donate my reward to charity?" |
778 |
| - contentPreview="Yes!" |
| 761 | + title={translateMessageId("bug-bounty-faq-q4-title", intl)} |
| 762 | + contentPreview={translateMessageId( |
| 763 | + "bug-bounty-faq-q4-contentPreview", |
| 764 | + intl |
| 765 | + )} |
779 | 766 | >
|
780 | 767 | <p>
|
781 |
| - We can donate your reward to an established charitable |
782 |
| - organization of your choice. |
| 768 | + <Translation id="bug-bounty-faq-q4-content-1" /> |
783 | 769 | </p>
|
784 | 770 | </ExpandableCard>
|
785 | 771 | </LeftColumn>
|
786 | 772 | <RightColumn>
|
787 | 773 | <ExpandableCard
|
788 |
| - title="I reported an issue / vulnerability but have not received a response!" |
789 |
| - contentPreview="Please allow a few days for someone to respond to your submission." |
| 774 | + title={translateMessageId("bug-bounty-faq-q5-title", intl)} |
| 775 | + contentPreview={translateMessageId( |
| 776 | + "bug-bounty-faq-q5-contentPreview", |
| 777 | + intl |
| 778 | + )} |
790 | 779 | >
|
791 | 780 | <p>
|
792 |
| - We aim to respond to submissions as fast as possible. Feel free |
793 |
| - to email us at{" "} |
794 |
| - <a |
795 |
| - href="mailto:bounty@ethereum.org" |
796 |
| - target="_blank" |
797 |
| - rel="noreferrer" |
798 |
| - > |
799 |
| - bounty@ethereum.org |
800 |
| - </a>{" "} |
801 |
| - if you have not received a response within a day or two. |
| 781 | + <Translation id="bug-bounty-faq-q5-content-1" /> |
802 | 782 | </p>
|
803 | 783 | </ExpandableCard>
|
804 | 784 | <ExpandableCard
|
805 |
| - title="I want to be anonymous / I do not want my name on the leader board." |
806 |
| - contentPreview="You can do this, but it might make you ineligble for rewards." |
| 785 | + title={translateMessageId("bug-bounty-faq-q6-title", intl)} |
| 786 | + contentPreview={translateMessageId( |
| 787 | + "bug-bounty-faq-q6-contentPreview", |
| 788 | + intl |
| 789 | + )} |
807 | 790 | >
|
808 | 791 | <p>
|
809 |
| - Submitting anonymously or with a pseudonym is OK, but will make |
810 |
| - you ineligible for ETH/DAI rewards. To be eligible for ETH/DAI |
811 |
| - rewards, we require your real name and a proof of your identity. |
812 |
| - Donating your bounty to a charity doesn’t require your identity. |
| 792 | + <Translation id="bug-bounty-faq-q6-content-1" /> |
813 | 793 | </p>
|
814 | 794 | <p>
|
815 |
| - Please let us know if you do not want your name/nick displayed |
816 |
| - on the leader board. |
| 795 | + <Translation id="bug-bounty-faq-q6-content-2" /> |
817 | 796 | </p>
|
818 | 797 | </ExpandableCard>
|
819 | 798 | <ExpandableCard
|
820 |
| - title="What are the points in the leaderboard?" |
821 |
| - contentPreview="Every found vulnerability / issue is assigned a score" |
| 799 | + title={translateMessageId("bug-bounty-faq-q7-title", intl)} |
| 800 | + contentPreview={translateMessageId( |
| 801 | + "bug-bounty-faq-q7-contentPreview", |
| 802 | + intl |
| 803 | + )} |
822 | 804 | >
|
823 | 805 | <p>
|
824 |
| - Every found vulnerability / issue is assigned a score. Bounty |
825 |
| - hunters are ranked on our leaderboard by total points. |
| 806 | + <Translation id="bug-bounty-faq-q7-content-1" /> |
826 | 807 | </p>
|
827 | 808 | </ExpandableCard>
|
828 | 809 | <ExpandableCard
|
829 |
| - title="Do you have a PGP key?" |
830 |
| - contentPreview="Yes. Expand for details." |
| 810 | + title={translateMessageId("bug-bounty-faq-q8-title", intl)} |
| 811 | + contentPreview={translateMessageId( |
| 812 | + "bug-bounty-faq-q8-contentPreview", |
| 813 | + intl |
| 814 | + )} |
831 | 815 | >
|
832 | 816 | <p>
|
833 |
| - Please use{" "} |
834 |
| - <code>AE96 ED96 9E47 9B00 84F3 E17F E88D 3334 FA5F 6A0A</code> |
| 817 | + <Translation id="bug-bounty-faq-q8-content-1" /> |
835 | 818 | </p>
|
836 | 819 | <Link to="https://ethereum.org/security_at_ethereum.org.asc">
|
837 |
| - PGP Key |
| 820 | + <Translation id="bug-bounty-faq-q8-PGP-key" /> |
838 | 821 | </Link>
|
839 | 822 | </ExpandableCard>
|
840 | 823 | </RightColumn>
|
|
0 commit comments