Re:“Crypto drainer” template facilitates theft
by Barrera on Wednesday June 15, 2022 @07:15PM
(#31760652)
Where do the private keys reside in this scenario?
Re:“Crypto drainer” template facilitates theft
by cdiddy2 on Wednesday June 15, 2022 @07:38PM
(#31760833)
Depends on the type of wallet. If its a web wallet the keys are in the browsers data store that the wallet extension handles. The keys could also be on a separate hardware wallet that is completely separate from the computer you interact with and requires physical button presses on the hardware device. Could also be that you are in a view only mode and just connecting with an address and you don't even have the keys on you.
Re:“Crypto drainer” template facilitates theft
by 3np on Thursday June 16, 2022 @07:09AM
(#31764658)
Most common three subscenarios: A hardware wallet connected by USB/Bluetooth; locally on disk/memory; in a third-party application.
Only on the second case does the browser extension handle primitives like private keys and in no scenario do they get exposed to a site.
The more common crypto-thefts are phishing (user gives away their recovery phrase) or malware (scanning for on-device keys and recovery phrases).
Where fraud typically happens is when a user thinks they're signing an innocuous transaction, when in fact they're signing a malicious one. This is generally a hard problem, but it's very clear from the wallet the address of the smart contract your transaction interacts with.