Giovanni Napoli (@gnapoli23) header
Giovanni Napoli (@gnapoli23) profile picture

Software Engineer. Freedom seeker in spare time. #Bitcoin

Switzerland
Joined November 2011
Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)Photo by Giovanni Napoli (@gnapoli23)
Giovanni Napoli retweeted
So basically, today PHP got two critical bugs that let anyone run code on your server without even logging in, which is bad, and then the details leaked before the patch was even out, which is worse, and it works on WordPress and MediaWiki and Magento and Joomla and Laravel, and Censys says like 1.5 million servers are running a version with no fix, so the NSA was like "take your system offline," and the FBI was like "take your system offline," and CISA and the UK and CERT-EU were all like "take your system offline," and then the Prime Minister of Japan, the actual Prime Minister, posted at 5:55 in the morning telling 48.8 million people to take their system offline, so everyone took their system offline, like the Dutch cybersecurity agency took its own website offline, and the Dutch parliament went offline, and the Port of Rotterdam went offline, and Finland and France and Denmark started pulling government sites, and Wikipedia went down, and Archive.org went down, and Asana and GOG and Something Awful went down, and the University of Vienna's webmail went down for some reason, and that's just PHP. Because GitLab also dropped a CVSS 10.0, which is the highest score they give out, for a bug that's been there since 2014, so that's every self-hosted GitLab for twelve years, and then LiteLLM 1.107.0 got hijacked and shipped a credential stealer and a remote access trojan in every single wheel and the Docker images, including latest, and you didn't even have to import it, just installing it was enough, and it's the second time this year, and then Railway paused every deployment on the entire platform because someone got into the environment variables, so now everyone has to rotate every secret they've ever stored there, and TiDB Cloud said someone was walking around inside with stolen credentials for basically a month and an extortion group says they took 10.6 terabytes, and Zeabur got breached for the second time in two months and is just shutting down, like the whole company, and Node.js patched remote code execution and a TLS bypass, and CISA says Plex is being actively exploited, and someone took over 300 Tor exit relays to steal SSH passwords, and SafePay ransomware has hit over 600 critical infrastructure orgs, and India's biggest bank filed a data loss incident, and Japan has been in an official state of emergency in cyberspace since October 9, which honestly explains the 5:55 AM post. Oh, and eMudhra, a certificate authority that's issued over 60 million certificates, whose entire job is proving websites are who they say they are, was supposed to be using private keys that are random numbers over a hundred digits long, and one of them was 4. Just 4. And the others were like 66 and 237. Anyway, it's Wednesday.
1,073
8,891
1,654
69,093
4,270,516
Giovanni Napoli retweeted
⚠️ Online poker players: we've confirmed a covert remote-access agent planted on players' Windows PCs through compromised poker software. Current estimate: ~30 users affected, in several countries across Europe, North America and Oceania. Details and checks below 🧵
47
98
60
505
864,020
Giovanni Napoli retweeted
Google replaced pushing Git tags for certain source code with obtaining source code via Google Drive after making a request through Google Forms. It's completely ridiculous and they've gradually become very slow at handling requests. They're in clear violation of the GPLv2 now.
52
489
34
5,776
286,518
Giovanni Napoli retweeted
I’m tired of seeing people post misinformation: this code is part of micropython, NOT coldcard. Some microcontrollers don’t have dedicated RNG hardware, so it’s natural to fallback to a PRNG. It’s not a bug, it’s the way it is. The bug in CC’s setup is accidentally using this
who knew about this vunerability looks like @nvk did and pushed the code anyway
24
30
7
137
25,803
Giovanni Napoli retweeted
Just to clarify something for the post-quantum space, this isn't an attack on ML-DSA or ML-KEM, it's actually kind of the opposite. What was proved is a hardness result: approximating the CVP within n^(1/400) is NP-hard. So it is another evidence that a lattice problem is difficult (which we want :)). So there is no algorithm anywhere in this work or a no deployed scheme getting weaker.
yes, nonsofic groups exist: this statement is one of many new beautiful results proved by Astra, our next major model. We're releasing 10 such Astra proofs, complete with lean certificates and CoT walkthroughs for each of them. The results are wide-ranging, from von Neumann algebras (disproof of Connes' Rigidity Conjecture) to better bounds for high dimensional sphere packing, for circuit complexity, for monochromatic triangles in multicolored graphs, and more. More thoughts here: openai.com/index/ten-advance…
4
14
1
73
10,457
Giovanni Napoli retweeted
we still need to free samourai billandkeonne.org
19
116
9
566
34,650
Giovanni Napoli retweeted
Today a crazy quantum story just got wilder. On March 31, the Google Quantum AI team published a landmark result on Shor's algorithm for elliptic curve cryptography. Technically, the paper was a bombshell: a dramatic 10x improvement over the state-of-the-art. As a stunt and wakeup call to the blockchain space, those optimisations were illustrated on secp256k1, the elliptic curve underlying Bitcoin and Ethereum signatures. But perhaps the most striking part of the paper was sociological, not technical. Instead of following standard academic process, the optimisations were kept secret, hidden behind a zero-knowledge (ZK) proof. Google's accompanying blog post mentions they "engaged with the U.S. government". The ZK proof demonstrates the existence of algorithmic improvements without leaking details. Academic censorship with ZK, a historic first! As a co-author of the Google paper I witnessed some of the context surrounding this censorship. To be honest, multiple aspects of that context don't sit well with me. As much as I believe the general public ought to know more, I am limited in my ability to whistleblow. Though let me be clear about one thing: the Google team's professionalism has been absolutely exemplary, and they deserve nothing but praise. Censorship has a way of backfiring. The Streisand effect, where an attempt to bury something only draws more attention to it, is exactly what's unfolding today. First, Google's key optimisation has been rediscovered by the French. And in a thrilling turn of events, a collaborative Shor-at-home challenge just launched. The initiative, available at ecdsa[.]fail, breached a new Shor world record in a matter of hours. Let's start with the rediscovery. Just two months after Google's paper, French quantum expert André Schrottenloher cracks the main secret optimisation. His paper, titled "Optimized Point Addition Circuits for Elliptic Curve Discrete Logarithms", landed on the arXiv today. Big congrats to André, who beat several other nerdsnipped experts to it. In a blog post also published today, Craig Gidney, the world expert on Shor optimisations, revealed that he'd been sitting on this very optimisation for a whole year under censorship pressure. Interestingly, André missed a handful of minor optimisations, both from Google's original publication and from improvements found since. It's plausible there's still plenty of juice left to squeeze out of Shor, and this is exactly what the ecdsa[.]fail challenge is about. The verifier program developed for the ZK proof does double duty, automatically filtering for valid submissions. Dozens of compounding small and micro improvements are rolling in. As of the time of writing there's an 8.4% improvement to Google's circuit, as measured by the product of logical qubit count and Toffoli gate count. Nice! The nerdsnipping ran deeper than anyone expected. Over the last few weeks it became clear it extended well beyond André and other quantum experts. Behind the scenes, a small army of amateurs quietly got to work. Inspired by Karpathy-style autoresearch, they turned AI on Shor. Ironically, the verifier program for the ZK proof makes an ideal reward function for AIs. The barrier to entry for this modern style of research is refreshingly low, with several non-experts, even a teenager, finding nice optimisations. Get in touch if you'd like to join a Telegram group with fellow autoresearchers :) Part 2: neutral atoms and qday The story doesn't end with Google. On the same day Google went public, a stealthy startup called Oratomic published its own Shor paper in a coordinated release. It made a splash, ultimately becoming the most upvoted paper on scirate[.]com, a website ranking arXiv papers. Oratomic's claim was wild. By building on Google's logical optimisations and applying custom physical optimisations for neutral atoms, they claimed just 10K physical qubits were sufficient to run Shor's algorithm on secp256k1. That number is mind-bogglingly low. Knowing essentially nothing about neutral atoms when Oratomic's paper landed, I was intrigued and decided to learn more about the tech. I fell straight down the rabbit hole and spent a couple hundred hours on the topic. I got a little obsessed and watched every YouTube video I could find and spoke to a bunch of experts. My conclusion? The tech is real, very real. Even Google recently decided to start a neutral atom lab, a notable pivot from their sole focus on superconducting qubits. If you care about qday, i.e. the day a quantum computer will break the first piece of cryptography in production, neutral atoms demand your attention. I shared some of my learnings on Shor and neutral atoms in a 30min talk at the ZKProof cryptography conference. You can find it on YouTube by searching "zkproof neutral atom". Here's an interesting observation about this duo of breakthrough papers: neither Google nor Oratomic say a word about what their results mean for qday. No timelines. Zero. Nada. That is especially baffling given that the whole point of whitehat quantum cryptanalysis is to inform qday estimations and help the general public make good decisions. So let me attempt to partially fill the silence, similarly to what Scott Aaronson did in his April 29 post. Given everything I know, including scary non-public information, I now put the odds of qday by 2032 at 50%. 10% by 2030. Anecdotally, the US government has its own date: 2035. Originating at the NSA and later adopted by NIST, it's when branches of the US government will be disallowed from using quantum-vulnerable cryptography. In plain language: with hindsight, that date is a joke and should be discounted entirely. I don't see how NIST avoids being forced to pull it forward by years. Part 3: post-quantum cryptography There are good reasons to sound the alarm today, but please do not panic. Rushing carelessly towards immature post-quantum cryptography is a recipe for disaster. IMO a good target date for migration is 2029, roughly 3.5 years out. 2029 happens to be the date selected by Google, Cloudflare, and the Ethereum Foundation. These days most of my time goes to safely migrating Ethereum towards post-quantum cryptography as part of the broader lean Ethereum effort. There's a lot to do. We need to rip out and replace BLS signatures at the consensus layer, KZG commitments at the data layer, and ECDSA signatures at the execution layer. The plan to get there is compelling, and is based on hash-based cryptography. Within the Ethereum Foundation we've developed a Swiss army knife called leanVM (github[.]com/leanEthereum/leanVM) powered by the magic of hash-based SNARKs. Thanks to truly exceptional work by Emile, Thomas, and others, its performance is derisked. Regarding security, leanVM is a jewel, a minimal zkVM crafted for end-to-end formal verification and maximum security. Want to help? There are two $1M initiatives. First, the Proximity Prize (proximityprize[.]org). Solve a long-standing mathematical conjecture in coding theory, improve hash-based SNARKs, and go home a millionaire. Second, the Poseidon Initiative (poseidon-initiative[.]info), offers $1M for breaking Poseidon, the SNARK-friendly hash function.
435
1,115
413
6,264
3,825,352
Giovanni Napoli retweeted
1/ In case you missed the announcement from @benthecarman, we are releasing a production-grade Lightning node for servers. Everything that powers the likes of @CashApp, @Square, @moneydevkit, @lightspark, @lexeapp, and @getalby is packaged as a daemon anyone can run.
5
56
3
162
21,463
Giovanni Napoli retweeted
0/ Clear signing is now live. An open standard to end blind signing, making human-readable transactions default. This effort brings a major UX and Security upgrade to transaction signing on Ethereum.
161
427
232
2,165
358,877
Giovanni Napoli retweeted
everything is programming
2,470
3,542
616
22,350
1,421,936
Giovanni Napoli retweeted
Got annoyed by Tailscale requiring 3rd party accounts, so created Nostr VPN. It signals over nostr relays and creates a wireguard / boringtun network. Builds for Macos and Linux. Using it between my Macs, but haven't tested extensively yet.
63
144
24
994
99,499
Giovanni Napoli retweeted
We're happy to announce a long-term partnership with Motorola. We're collaborating on future devices meeting our privacy and security standards with official GrapheneOS support. motorolanews.com/motorola-th…
654
1,763
449
12,759
1,157,862
Giovanni Napoli retweeted
394
537
162
9,417
289,141
Giovanni Napoli retweeted
Bitcoin Knots has entered the "NEW" waiting list of Debian, if Debian maintainers approve the package Knots will officially enter the Debian distribution! I'm so happy about this news! 🤩 ftp-master.debian.org/new/bi…
23
57
10
418
42,722
Giovanni Napoli retweeted
273
312
38
4,420
337,713
VXBT and chill.
🇺🇸 VANGUARD IS FINALLY CONSIDERING OFFERING A BITCOIN ETF ALL ROADS LEAD TO #BITCOIN‼️
1
41
A new defi primitive coming into the space.
Kraken has announced that its new platform, Kraken Launch, will debut Yield Basis (YB), a Bitcoin yield protocol founded by Curve founder Michael Egorov. The token sale will take place in two phases, followed by a planned listing on Kraken. YB has received support from a Curve DAO-approved proposal granting it a crvUSD credit line. blockworks.co/news/kraken-le…
1
1
32
Giovanni Napoli retweeted
Instead of calling the top every day maybe u should call your mother and tell her u love her
864
1,368
143
14,018
859,541