News for hackers. Stuff that matters.
Re:Ethereum just activated its ‘London’ hard fork by DennisP on Thursday August 05, 2021 @10:53AM (#28074556)
Ethereum's PoS supports up to a million or so independent full-fledged stakers. That seems fairly decentralized to me.
Re:Ethereum just activated its ‘London’ hard fork by dogman144 on Thursday August 05, 2021 @11:13AM (#28074876)
How many stakers actually have enough to win blocks though.

What is the impact of shorting on PoS - what happens when I borrow enough ETH to win blocks, deliberately mis-verify TXs, and screw up consensus.

I know Ethereum has planned recovery for situations like this, but PoS introduces risks that will never be as present in PoW bc the latter has built-in latency to how easy it is to aggregate resources which increase market power and centralize around certain miners (ie buy asics and build a data center takes time, so you just have to watch mining pools for liquid malicious hash rates for equivalent risks in PoW).

Re:Ethereum just activated its ‘London’ hard fork by fogof on Thursday August 05, 2021 @11:43AM (#28075321)
> How many stakers actually have enough to win blocks though.

Just as in PoW miners make blocks in proportion to their hashpower, PoS stakers win blocks in proportion to their stake

> What is the impact of shorting on PoS - what happens when I borrow enough ETH to win blocks, deliberately mis-verify TXs, and screw up consensus.

Well, you can't "mis-verify TXs", everyone can check your work to see that all of the transactions you put in your block verify. If you reached 1/3 of the total stake on the network, you would be able to screw up consensus and make conflicting blocks both appear to be finalized, just as a 51% attack on a PoW currency can revert a block that it treated as final by client software.

The ETH2 block explorer https://beaconscan.com/ tells me that there is about 6.5 million ether staked, which would be worth about 16 Billion USD, so you would need to borrow around 5 billion USD in order to make this attack work.

Re:Ethereum just activated its ‘London’ hard fork by hanniabu on Thursday August 05, 2021 @12:56PM (#28076377)
> so you would need to borrow around 5 billion USD in order to make this attack work.

If you were about to find someone to sell you $5B in ETH at spot price. In reality you would need much more than this.

Re:Ethereum just activated its ‘London’ hard fork by fogof on Thursday August 05, 2021 @01:12PM (#28076591)
Indeed, this is true. I was also assuming you would be buying the ETH from other stakers (if not, you would need $8B in ETH at spot price) and that you as an attacker have the ability to make the network desynchronous (if not, you would actually need 1/2 the total stake rather than 1/3). These are just generous assumptions that give us a lower bound on how much money it would actually take to attack the network.
Re:Ethereum just activated its ‘London’ hard fork by DennisP on Friday August 06, 2021 @02:53PM (#28091398)
> If you reached 1/3 of the total stake on the network, you would be able to screw up consensus and make conflicting blocks both appear to be finalized, just as a 51% attack on a PoW currency

And if you did that then all your stake would be automatically destroyed. It's as if a 51% attack on PoW caused your mining rig to burn down.

Re:Ethereum just activated its ‘London’ hard fork by dogman144 on Thursday August 05, 2021 @02:07PM (#28077350)
Semantics on "mis-verify," maliciously verify same-nonce transactions if you prefer.

Using the below language to discuss a threat model vs. implications of my tinfoil hat existing or not...

5B USD for an attack isn't a major barrier though to an actor looking to attack ETH, though. Are you implying that it is?

For reference, some of the crypto-lenders have around 15B USD-equiv under deposit, and they're fairly small stakes wrt capitalization of possible attackers of ETH.

The issue I point out and don't hear discussion on except stuff like you've posted is that it's significantly easier to acquire 5B USD to DoS a PoS network, than it is to acquire enough hash rate and lag time due to physical data center constraints to do something equivalent POW. PoS might be secure-enough, but it's not just a clean, environmentally better but security equivalent swap out for PoW.

The assumptions seem to be that the attacker would want to do it to take over and their coins will be deleted when caught, that there are protocols in place to recover consensus if this happens based on community involvement, and lastly that an acquisition of that much ETH would be noticed before an attack. Take these together, and security risks of PoS are controlled.

But that's fairly narrow minded wrt adequate risk controls and actually considering the threat model

- Cost to do it: 5B to DoS ETH into a consensus-rebuild isn't a high barrier to entry.

- Goals of an attack: There are plenty of attackers that would be happy just DoS'ing it vs. winning consensus on their chain version for DSs or what have you.

- Has this been done: there's more than enough precedent out there of acquiring 5B covertly, especially with a derivatives market in place. Easy example is across multiple crypto lenders aggregate enough ETH derivatives that can be converted to the underlying, convert in unison, and 5B of ETH suddenly lands. This is already sort of how it's done in normal corporate finance.

- Community involvement in a recovery: I'm really skeptical of the community-driven recovery mechanism. Tezos/EOS and similar already had a lot of trouble making this approach to consensus fixes work because of basic voter participation challenges. It sounds more like a few key nodes will drive a fix like in the DAO, and then this starts to look fairly centralized. Not a bad thing as it will fix chain problems, but again not a clean 1:1 swap for PoW security guarantees.

Final point - "well there must be someone thinking of the risk modeling here in PoS and accounting for it, Ethereum has smart people working on it" The reality is that protocol-level security research beyond the 51% consensus research and strong cryptography is really, really lightly done. This was a main topic of MIT Bitcoin Expo's Keynote this year, actually. PoW took 30 years of research and some luck during BTC's early days to identify that it could actually secure a chain. PoS does not have that history yet.

The edit - when I ref 5B USD, I'm implying the ability to convert it into equiv ETH. This is still doable as the market isn't that illiquid, and if you spread out the balance over a N-nodes until you aggregate for the attack, attributing that to a single attacker is very hard to do.

Re:Ethereum just activated its ‘London’ hard fork by fogof on Friday August 06, 2021 @12:44AM (#28083402)
> 5B USD for an attack isn't a major barrier though to an actor looking to attack ETH, though. Are you implying that it is?

Well 5B USD may not be an impossible sum for some corporations and nations, but for some actors this is a barrier, yes.

I'm not necessarily trying to say such an attack is out of the question, I'm just trying to elucidate the question of the difference between PoS security and PoW security. I'm not convinced that your argument about the possibility of a covert accumulation of staking power does anything to distinguish PoS from PoW. You could just as easily invest that 5 Billion to build a chip fabrication plant, use that plant to covertly build ASICs, and surprise the Bitcoin network with a 51% attack.

Re:Ethereum just activated its ‘London’ hard fork by TacticalCoder on Thursday August 05, 2021 @12:51PM (#28076289)
> ...what happens when I borrow enough ETH to win blocks, deliberately mis-verify TX...

Ethereum already "slashes" the staked ETHs of those who try to game the system (Ethereum already has one chain on PoS): the coins of stakes who try to cheat the system are not even confiscated, they're destroyed (making every other holder a little bit richer).

I don't know if this shall work or not, but that's their plan to keep bad actors from trying to attack the system.

Re:Ethereum just activated its ‘London’ hard fork by ithinkinstereo on Thursday August 05, 2021 @11:08AM (#28074812)
Centralization issues come along with liquid staking solutions like Lido.
Re:Ethereum just activated its ‘London’ hard fork by Ceezy on Thursday August 05, 2021 @12:44PM (#28076196)
But that's not peer to peer. And people compare bitcoin/ ethereum to gold, but you can't really exchange ethereum without a centralised authority when you use POS. If these people refuse to process your payment, there is not much you can do about it.
Re:Ethereum just activated its ‘London’ hard fork by sigmar on Thursday August 05, 2021 @11:02AM (#28074689)
What does it matter what the technology supports if it incentivizes the community to consolidate? Penalties for being offline and slashing (for misconfigured nodes) are a massive incentive for nodes to centralize
Re:Ethereum just activated its ‘London’ hard fork by pa7x1 on Thursday August 05, 2021 @11:09AM (#28074828)
On the contrary, penalties are higher the more nodes go out at the same time. If you centralize you expose yourself to higher penalties if something goes awry. The incentives of the system are designed to prevent centralization.
Re:Ethereum just activated its ‘London’ hard fork by sigmar on Thursday August 05, 2021 @11:34AM (#28075166)
So if a large state like Texas loses power for days/weeks all validators inside it suffers more? Why shouldn't I give my keys to a business that can operate multi-location operations? Would save me huge headaches in terms of keeping my node maintained...
Re:Ethereum just activated its ‘London’ hard fork by pa7x1 on Thursday August 05, 2021 @12:19PM (#28075844)
The stakers of even an entire state like Texas represent a rather small percentage of all ETH stakers. So the extra punishment is rather small. It will likely be much bigger if you use Coinbase/Kraken/... or any other centralized staking service and it goes down (including any possible failovers that they have set in place). I don't have the specific numbers in front of me but you should think of the extra penalties for centralization to scale with the risk of the network not being able to function properly, so of the order of 30-40% validators going down for them to kick in hard.

Also, staking redundancy/failover is hard to do. You never want to have two nodes validating with the same keys, the punishment in case there are two validators with the same keys at the same time are very harsh. While not being up, is barely above the cost of opportunity of the reward that you could have gotten.

Roughly speaking:

Your node goes down: roughly cost of opportunity (you don't get what you could have gotten if online)

You and your neighbors, city, state going down: Roughly above of cost of opportunity

Centralized service validating for a large percentage of the network going down: Above cost of opportunity penalties.

Double-validation: Risk total loss of capital.