HNHacker News
TopNewBestAskShowJobs

bsamuels

2,082 karma · joined November 20, 2013

Director of Engineering @ Trail of Bits. If you want to ask me a question, please send an email rather than reply on HN.

https://twitter.com/thebensams

https://github.com/bsamuels453

submissionscomments
bsamuels··on Google's most ridiculous trick to force users into adding phone number
Attackers are using hacked IoT devices to do these attacks. These devices have roughly the same computing power as a mid level smartphone. Attackers do not use their own hardware, and don't care about how much energy is used by their bot devices.

In a normal attack, there are maybe 2-3 requests per hour that come from each hacker-owned device. The only thing that hashcat would do is drastically increase power consumption at no cost to the attacker, and turn the application into a battery drainer on mobile devices.

So no, Hashcat is not an adequate solution.

bsamuels··on Google's most ridiculous trick to force users into adding phone number
Every tech company is losing the war against credential stuffing. I have a friend working at a series B startup with <10k MAU, you wanna know how many login attempts there are each month? 25,000 login attempts. Per user. That's 250m login attempts each month using stolen credentials.

None of the service providers who claim to fix the issue are worth their weight in salt. Shape, Akamai, none of them have a grip on the problem because the attackers are constantly evolving. As you can see, even Google is capitulating despite all the fud that people on HN spread about the company being omniscient.

Anyone who thinks this is about advertising/collecting personal data is out of their minds.

The worst part is nobody can talk about it because anything you reveal about your problems can give the attackers a massive edge.

bsamuels··on [dead]
Shame that this was flagged; engineers at social media companies should face the reality they've created and profited off of.
bsamuels··on Ethereum Has Issues
Are you seriously going to grandstand whether the word "smart contract" can include non-turing-complete runtimes?

No, Bitcoin does not have smart contracts. It has a limited scripting environment that you can't do much with other than colored coins, and we've all seen how that's played out.

bsamuels··on Ethereum Has Issues
If you ask any engineer outside the BTC cult if bitcoin script and the EVM is comparable, they would say no.
bsamuels··on How the powerful clean up their digital past using a reputation laundering firm
it's up to whoever created it. there's good permanent storage solutions out there like arweave, but if you're just trying to grift people, imgur should be fine.
bsamuels··on The old internet shows signs of quietly coming back
Seems a little silly since one wouldn't expect most laymen to understand how TLS works, but enjoy: https://blog.ethereum.org/2016/12/05/zksnarks-in-a-nutshell/
bsamuels··on Homelessness rises faster where rent exceeds a third of income (2018)
looks like there must be some serious differences in methodology between these 2 sources.

sfchronicle has the overdose death rate for:

SF at 61 per 100k

Humboldt at 31 per 100k

Cited from Cali Dept of public health

CountryHealthRankings has:

SF at 23 per 100k

Humboldt at 32 per 100k

bsamuels··on Homelessness rises faster where rent exceeds a third of income (2018)
San Francisco has the second highest overdose rate in the US behind Harris County. Please be more careful when sharing information.

https://www.sfchronicle.com/projects/2021/san-francisco-drug...

bsamuels··on Crypto wallet security as seen by security engineers
about half of these concerns evaporate if you just use a hardware wallet. web3 will almost certainly never achieve its goals if hardware wallet adoption isn't ubiquitous.

if you want to lever criticism, criticize how expensive hardware wallets are and their lack of support.

bsamuels··on Do you ever avoid submitting something on HN so devs won't ruin it?
It's really easy to sound smart when criticizing something, and HN promotes content that sounds smart.

I used to play a drinking game with friends where we would read HN submission titles and try to guess how the top comment was going to criticize it.

HN is simply not the place to go to share new ideas, projects, or anything that might undermine the consensus opinion.

bsamuels··on Why aren't thousands of gigabytes of abusive images removed from the web?
im pretty sure it's not a blurry line between teenagers doing scantily clad dances and literal child abuse imagery
bsamuels··on Crypto Wash Trading
There's a lot of uninformed takes in this thread, but this really takes the cake. There is literally nobody in the Ethereum space who sees MEV as anything other than rent extraction.

Flashbots' mission is for MEV to disappear. They're doing that by making it a more open process and to prevent MEV extraction from making the chain unusable via high gas fees.

Flashbots RPC exists as a feature because private txPools/RPCs are the only way to be absolutely sure your transaction won't have MEV extracted from it. If Flashbots wanted more MEV, they would only allow transactions via Flashbots RPC that cannot be MEV extracted.

By allowing MEV-extractable transactions on Flashbots RPC, they effectively reduce the amount of MEV that is mined.

bsamuels··on Avoiding bot detection: How to scrape the web without getting blocked?
> I need to make a general remark to people who are evaluating (and/or) planning to introduce anti-bot software on their websites. Anti-bot software is nonsense. Its snake oil sold to people without technical knowledge for heavy bucks.

If this guy got to experience how systemically bad the credential stuffing problem is, he'd probably take down the whole repository.

None of these anti-bot providers give a shit about invading your privacy, tracking your every movements, or whatever other power fantasy that can be imagined. Nobody pays those vendors $10m/year to frustrate web crawler enthusiasts, they do it to stop credential stuffing.

bsamuels··on Ask HN: Best way to host a website for 500 years?
probably as a static page hosted on arweave
bsamuels··on Ethereum Services Are Centralized
Social consensus should _always_ override rule of law. Society is not formed around people's relationship with the law, it's based on people's relationship with each other. The hard fork required social consensus to trump rule of law, and they got it.

"but what about eth classic?"

The ETC chain exists, yes, however it is not "Ethereum". There's a timeline where the majority was against the fork, and ETC would have remained "Ethereum", with the forked chain taking on a new name like Ethereum Cash or something.

bsamuels··on NSA Kubernetes Hardening Guidance [pdf]
If I could go back, single cluster. Any benefits you get from going multi-cluster can be achieved by configuring a single cluster correctly.
bsamuels··on Google launches new vulnerability reward platform
Bug bounty prizes are set to encourage a certain quantity of bugs to be reported.

If you offer 10x as much, your triage channels will get overwhelmed and you'll have to deal with a bunch of hostile researchers and development teams who hate your guts because you just blocked their next 2 sprints.

If a bug bounty program is effective, then the payouts should trend up slowly over time as your security program becomes more efficient and produces more secure code.

It's important to remember that purpose of bug bounty programs is not to reduce the number of bugs in the code base - it is a validation measure to check whether your controls are effective or if additional controls need to be added elsewhere.

bsamuels··on Building Permanent and Censorship-Resistant Blog with Ethereum ENS and IPFS
the size of the fee is a function of 1) the amount of data you wish to store and 2) the estimated cost of storing the weave between the current time and the end of the storage period ("forever" is actually assumed to be about 200 years for these purposes).

If you were to store 100 TB on the weave tomorrow (the weave is currently 10TB), the block reward would remain the same, but the endowment payout would trigger much sooner.

The endowment fees are sized with the assumption that the endowment will have to pay out immediately and until the end of the 200 year period.

bsamuels··on Building Permanent and Censorship-Resistant Blog with Ethereum ENS and IPFS
the fee pays into an endowment. the endowment is only paid out to miners if the block reward in USD terms is too low to justify storing the full weave.
bsamuels··on 'Minting' electronic cash (1999)
Miners technically do have seigniorage authority since they can collectively decide to change the underlying cryptocurrency.

Miner's de facto control of the network is a huge problem. It's why Bitcoin will never solve its energy use issue, and why Ethereum set up a "delayed difficulty bomb" to force miners to accept changes to the network.

bsamuels··on No one was in driver’s seat in fatal Tesla crash
Tesla's FSD is a complete fraud. Musk has been saying it's less than a year away since 2018

https://youtu.be/antLneVlxcs?t=639

https://youtu.be/antLneVlxcs?t=725

https://youtu.be/antLneVlxcs?t=489

https://youtu.be/antLneVlxcs?t=582

bsamuels··on The Economics of 24/7 Lo-Fi Hip-Hop YouTube Livestreams
white and black is an artifact of the American caste system. It has meaning to you because you are an American, it is the system you live in.

In Europe, it does not have meaning. blackness and whiteness is not a thing in the way it is in America.

Europeans only become white or black when they move to America or Americans address them.

Hope this helps

bsamuels··on 1Password Secrets Automation
By far the biggest missing control is you can't restrict access to google secrets manager by source CIDR.

There were a bunch of other smaller nitpicks, but that was the overwhelming reason last time I looked at it.

bsamuels··on 1Password Secrets Automation
Here's to hoping there's finally a Hashicorp Vault competitor. It's shocking that the only mature option for runtime secret delivery is Vault after all these years.

Some companies have created 'competitors', but they aren't even remotely mature (google secrets manager, aws secret manager, etc)

bsamuels··on Apt Encounters of the Third Kind
Based on how outlandish the GW setup is, this is definitely a bank.

It could conceivably belong to a defense organization, but if it did, they wouldn't be able to write up a blog about their findings.

bsamuels··on So You Want to Do an Infrastructure Package [pdf]
A lot of the problem in the US has to do with the petrodollar system. OPEC has only been allowed to accept US dollars for their oil since the 70s.

That generates massive demand for dollars outside the US. Foreign countries obtain the dollars they need to buy oil by converting their currency to USD or by exporting goods/services to the US.

As a result, the value of the US dollar gets inflated and large parts of the US economy get "offshored" thanks to the favorable conversion ratio.

On the bright side, this system means you can import foreign goods very cheaply - but on the downside, it means exports are often not viable.

There are several industries in the US that don't reap large benefits from cheap imports. Education, healthcare, construction, and child care just to name a few.

I hope this adds some color to the phenomenon you've observed

bsamuels··on Federal Charges Against Stanford University Researcher Expanded
the whole file is still there until it gets overwritten by new data
bsamuels··on Heavy is the Head that wears the AirPods Max
they don't replace the battery when they perform battery service, they just replace the airpod entirely.
bsamuels··on Elon Musk moves to Texas
I don't know the specifics, but I believe the parent comment is alluding to business specific taxes, not the capital gains tax you probably pay as a no-longer-california-resident.
← PreviousPage 2 of 12Next →