Skip to content

Commit

Permalink
flag web3.js hacker accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Dec 4, 2024
1 parent a39fbe9 commit 863e18a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion app/providers/accounts/flagged-accounts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ import React from 'react';

type FlaggedMap = Record<string, IncidentDescription>;

type IncidentId = 'ftx-hack-november-2022' | 'known-scam';
type IncidentId = 'ftx-hack-november-2022' | 'known-scam' | 'hack-december-2024';
type IncidentDescription = React.ReactElement;

const FLAGGED_ACCOUNTS: Record<string, IncidentId> = {
// Serum Swap
'22Y43yTVxuUkoRKdm9thyRhQ3SdgQS7c7kB6UNCiaczD': 'ftx-hack-november-2022',

// Web3.js December Hack 2024 - Swapping Account
'5vDufDG5qxD49SXnw72afB1c6ykUGaa6T5dE9yE9xMMs': 'hack-december-2024',

'9tAViia54YAaL9gv92hBu8K4QGRBKbytCQ9TYsJ6F6or': 'known-scam',

// Serum Dex V3
Expand All @@ -18,9 +21,15 @@ const FLAGGED_ACCOUNTS: Record<string, IncidentId> = {
// Serum Dex V1
BJ3jrUzddfuSrZHXSCxMUUQsjKEyLmuuyZebkcaFp2fg: 'ftx-hack-november-2022',

// Web3.js December Hack 2024 - Swapping Account
DAnUbQYpGBTQeXn4iAjbMB8e3XWx7pxoSuwjqn7svXHD: 'hack-december-2024',

// Serum Dex V2
EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o: 'ftx-hack-november-2022',

// Web3.js December Hack 2024 - Draining Account
FnvLGtucz4E1ppJHRTev6Qv4X7g8Pw6WPStHCcbAKbfx: 'hack-december-2024',

GACpXND1SSfTSQMmqGuFvGwXB3jGEYBDRGNzmLfTYwSP: 'known-scam',
};

Expand All @@ -40,6 +49,13 @@ const INCIDENTS: Record<IncidentId, IncidentDescription> = {
</div>
</>
),
'hack-december-2024': (
<>
<div className="alert alert-danger alert-scam" role="alert">
Warning! This account key has been identified as being involved in the Web3.js December 2024 hack
</div>
</>
),
'known-scam': (
<>
<div className="alert alert-danger alert-scam" role="alert">
Expand Down

0 comments on commit 863e18a

Please sign in to comment.