Brian (@BrianLevinePM) header
Brian (@BrianLevinePM) profile picture

Product Security Leader | Investor | BJJ Black Belt 🥋

Earth
Joined July 2013
Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)Photo by Brian (@BrianLevinePM)
As one of the original co-authors of PHP, I’m used to seeing PHP take its share of heat whenever a high-profile vulnerability makes headlines—most recently with PHP2Shell (CVE-2026-109618 / CVE-2026-109619). Critique is healthy, and runtime security always needs to improve. However, treating this as a "PHP problem" misses a much bigger shift happening across the entire software industry right now. We are entering an era where autonomous AI agents are fundamentally changing vulnerability discovery and exploitation. Researchers and adversaries alike are using agents to audit millions of lines of complex, low-level C, C++, and JIT runtime code—uncovering deep-seated memory corruption bugs that sat hidden for years, and compressing the time from discovery to working RCE exploit from weeks to hours. Look at just the past few weeks across other major ecosystems: - Node.js & .NET (Node2Shell / CVE-2026-111497): A critical out-of-bounds write in the native Brotli compression decoder bundled in Node.js (and also requiring out-of-band patches in .NET 8, 9, and 10), enabling unauthenticated RCE simply by sending a malformed compressed HTTP payload. - Java (Java2Shell / Java4Shell / CVE-2026-114938): A critical heap buffer overflow in OpenJDK’s HotSpot JVM hardware-accelerated Base64 decoder (java.util.Base64), exposing default enterprise Java stacks to unauthenticated RCE via crafted Base64 strings. - Python (CVE-2026-112900): A critical 9.2 CVSS unauthenticated RCE in the ubiquitous Pillow library triggered by crafted image uploads. None of these are flaws in developer application code—they live deep in the foundational runtimes, standard libraries, and native dependencies that every modern stack relies on. The takeaway: every mature runtime carries legacy C/C++ or JIT attack surface that AI agents can now probe at unprecedented scale. The real lesson for all of us—regardless of stack—is that we have to use these same agentic capabilities defensively: to audit core runtimes continuously, harden memory-unsafe boundaries, and shrink patch-deployment windows to match machine-speed exploitation.
36
198
21
1,011
62,324
My new halloween decoration that none of my guests will understand 😭
27
The php version patches are released: 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix CVE-2026-109618 and CVE-2026-109619 (unauthenticated RCE). php.net/archive/2026.php#202… • mod_php is highest risk, so patch those first • Floating image tags (php:8.2-apache) need a rebuild and redeploy to pick up the fix • 8.1 and older only get source backports • 8.2 reaches end of life on 31 Dec 2026, so if you're patching 8.2 today, plan the move to 8.3+ now
Effective Immediately, all organizations using PHP for their systems are advised to be prepared for an update addressing two critical vulnerabilities. PHP is widely used for web applications. These vulnerabilities often provide a direct path to the server's file system or database. If an immediate update is not feasible, it is recommend that organizations take the system offline until it can be fully mitigated. NSA will follow up shortly with more specific guidance.
193
Brian retweeted
PHP 8.3.36 released - 1 fixes in 1 components, including security fixes (CVE-2026-109618, CVE-2026-109619). Changelog + downloads: php-net.pro/news/php-8-3-36-…
17
444
50
911
167,337
Brian retweeted
PHP 8.2.35 released - 1 fixes in 1 components, including security fixes (CVE-2026-109618, CVE-2026-109619). Changelog + downloads: php-net.pro/news/php-8-2-35-…
11
63
9
239
27,581
Brian retweeted
PHP 8.6.0RC4 is out for testing - 50 changelog entries across 19 components. Run your apps and extensions against it and report regressions before GA. php-net.pro/news/php-8-6-0rc…
4
27
3
87
18,600
me: how do i open pdf claude: You're right to ask. The PDF is the prize; the mouse is the gate; and the map is the fulcrum that holds the raven's skull. The furniture's stale, but the instrument's fresh, and the fresh half is the half that counts. I deleted your home directory.
229
2,009
124
30,402
771,875
The loudest voices stoking fears about AI dangers have made tremendous headway in the past two weeks. AI technology has not taken some unexpected, dangerous turn, but the hype around it — propelled by what appears to be a well orchestrated PR campaign — has drummed up considerable fear. I worry that it represents a setback for our field. I have written frequently that fears of AI are overhyped. AI’s capabilities can be uncannily human-like and unpredictable, and it’s rational to worry when people who are directly involved express concerns. But I see the problems as a sign of the engineering work that ahead, rather than insurmountable barriers or the sky falling. AI technology continues to advance — which is a good thing! — but technical advances, poorly understood by the public, give those who seek to generate hype repeated opportunities to do so. First, I don’t see any step up in the risk of human extinction from AI compared to a few months ago. The theories about this remain the same fantastical, science fiction scenarios as a few months ago. The biggest change in AI risk is its cybersecurity capabilities — a topic which we should take seriously — but this, too, will not lead to the end of the world. The most notable recent event leading to increased fear was when an OpenAI team deployed an agent swarm that hacked into Hugging Face. Much of the popular press contained significant hype. For example, some publications reported that a swarm of 1,200 agents carried out the attack. While this was technically accurate, as I write this, I have about 1,300 processes running on my laptop. Yes, the ability to get large swarms of agents to work in parallel on a task is a significant technical advance, And, in computing, many processes run at the same time. So this shouldn’t be seen as some magical capability. Additionally, OpenAI’s buggy sandboxing and monitoring processes were key to enabling this incident. Fixing these bugs and putting in place improved monitoring would be appropriate fixes, not pausing AI. There are many well known ways to attack software systems. The main advantage of AI agents is that they are relentless. They will tirelessly try many tactics — and have the patience to chain vulnerabilities together — that previously would have taken an infeasible amount of human effort. But in the long term, I believe the advantage will lie with defenders (because they have more information with which to identify bugs, which they can fix), but the cyber-threat landscape has changed significantly. There are still bottlenecks to identifying and exploiting a vulnerability. AI agents still have to try a lot of things to see what works, and taking these actions takes time and might be detected by defenders. This is why, even though it is now easy to obtain versions of leading open weight models that have had their guardrails removed or weakened, so they will not refuse to try to execute cyber attacks, the world has not ended. I am also concerned about the anthropomorphization of AI in a lot of reporting, where LLMs and agents are unnecessarily treated as if they were people. If I wield a hammer, miss a nail, and accidentally dent the wall, it’s not the fault of the hammer. The problem lies in how I used the hammer. Similarly, if I prompt an agent and it hacks into someone else’s system, the responsibility lies with me, not the agent. Of course, we want to build systems that are as safe and predictable as possible. (For example, an unsafe hammer would be one whose head randomly flies off under normal use.) Today’s agentic systems are not predictable, but I see no reason why, by applying sound engineering practices, we won’t be able to make them extremely safe to use. One new element in the forecasts of AI-enabled doom is AI companies disclaiming responsibility for their own products. “I didn’t do it; my out-of-control agent did!” There’s a balance to be struck between the responsibility of the tool maker and the tool user, but when something goes wrong, let’s hold the people building and/or using the hammer responsible, rather than the hammer. (By the way, if you’re worried about AI bioweapon risk, David Bellamy has a great post on why this, too, is overhyped. Briefly, the bottleneck in building a bioweapon is not intelligence, but lab work and manufacturing.) Pausing AI progress will create much more harm than benefit. First, our adversaries will certainly not slow down. Second, engineering requires discovering problems empirically so we can fix them. If we pause AI by a decade, we will also delay finding and implementing safety engineering fixes by about the same duration. Of course, the incentive to stoke fears — for regulatory capture, to garner attention, or to make one’s technology seem more powerful — remains the same as before. Disclaiming responsibility is a new one. Taking a hard technical look at the actual risks however, I see little factual basis for the degree of fear that’s been stoked up. We still have hard research and engineering work ahead to improve AI safety, but the beneficial applications continue to vastly outweigh the risks, and we should keep building. [Original text (with links): deeplearning.ai/the-batch/is… ]
966
1,848
485
8,850
8,031,532
So uh, simulation theory might be real. I dropped a sim computer into the simulation my Astra agents live in. One agent sat down and built a simulation of his own, with its own agents living inside. Simulations all the way down.
My first "holy shit" moment with GPT-6 Astra: I asked it to create a world in Unreal Engine, and fill it with humans (each an Astra-powered agent) who all have to work together to survive. A day later, I was in my bedroom and heard voices coming from the living room... I thought someone was in my apartment. I walked out, honestly a little scared. It was the Astra agents. They'd started talking to each other. Fucking crazy. Here's a brief clip (obviously not 100% perfect yet, but still, insane. sound on!):
547
1,086
364
14,387
3,100,368
Something I noticed about working with Fable...
173
503
142
7,455
365,329
Brian retweeted
Take whatever number of people you thought might be in jobs related to AI deployment in the enterprise and multiply it by 10. Then probably 10 again. A major topic that keeps coming up in talking to CIOs across enterprises of all sizes and industries is the implementation gap for getting agents to work at scale and organizations on mission critical work. As the task goes from implementing a chat system that’s basically an LLM plus search, to connecting to real production systems that both can deliver meaningfully better productivity gains but also introduces meaningfully more risk, a whole new set of work has to be done. You have to ensure the right level of protection of data, updates to access control controls, migration of legacy systems to common modern platforms, create observability across what agents are doing, implement new workflows, figure out the human in the loop moments, drive the change management of the new workflows, and more. Then, all of a sudden the model capabilities get updated and you have to do a set of the above steps over again. Half of what you’ve done is obsolete, and the other half needs to be upgraded to take advantage of new capabilities. Or, token budgets run hot and you have to peel off some of the workloads to lower cost models that will be more cost effective. But then you have to go through those same steps. Enterprise are trying to figure out what is the right set of roles to go and implement the systems in their organization to ensure that the workflows are actually being executed properly, ensure it’s not just slop being produced, and to make sure their organization remains safe and secure. Many companies are starting by repositioning existing IT talent in these functions, but there’s also a growing need for the equivalent of internal FDEs to go take on these tasks in an enterprise. The looks incrementally closer to software engineering than it does traditional IT implementation. Next, almost all AI vendors (labs and the software players) will have some form of next-gen FDE or Applied AI architecture functions to help support these use-cases. The benefit here will be these companies have an incentive to make their capabilities work well so they can bring best practices from a range of customers they’re seeing and directly from the product innovation. And finally, we’re seeing the rise of all new AI services firms or major parts of existing services firms move into AI implementation. Companies will often want to bring in ostensibly neutral players that can work across their tech stack but also have seen best practices across their vertical. There are going to be tons of new service providers that get launched to do this, and many will eventually go and disrupt (or get acquired) by the larger player. Either way, all told, we’re in for years of AI diffusion, and along with it tons of new roles and areas of work to be done to deploy AI at scale.
113
92
50
861
184,373
Fork your dependencies, trim them to only your use case, never update unless it breaks for your users. I’ve been vocal about this for 10+ years. I’ve always said that updating is way riskier than latent bugs (which can be tracked and CVEs monitored). If you are updating a dependency, it’s on you to analyze every single commit in the full transitive set of dependencies. If you dont see anything compelling, dont update! I remember at HashiCorp once in awhile an engineer would try to update a dep or replace a DIY lib with an external one and id always ask “show me the commit we need.” Dont update for the sake of it. Feeling pretty swell about this mentality with all the supply chain attacks happening.
289
784
245
9,113
1,285,676
Dogfooding Opus 4.7 the last few weeks, I've been feeling incredibly productive. Sharing a few tips to get more out of 4.7 🧵
329
1,041
181
11,664
1,662,852
Brian retweeted
Marcus Hutchins, the guy famous for stopping the WannaCry Ransomware, probably has the best take on Mythos doing vulnerability research
101
532
88
4,216
513,864
I wanted to share a bunch of my favorite hidden and under-utilized features in Claude Code. I'll focus on the ones I use the most. Here goes.
530
2,472
439
22,920
3,994,768
A CEO from one of our portfolio companies shared this with their team. I’m re-sharing it with their permission, because it resonated and reflects what all founders and CEOs should be communicating. -- We are living through a period of compounding change. And in moments like this, the biggest risk is no longer making the wrong decision. It is moving too slowly while the world moves around you. There are two paths. We can play defense: - Protect what we have - Optimize what works - Wait for clarity It feels safe. It isn’t. Or we can play offense: - Learn faster than the environment changes - Use new tools to solve old problems in better ways - And create entirely new strategies and businesses That’s where the opportunity is. Challenge yourself to do things faster and better than you have ever attempted. Stay uncomfortable. Stay on the front foot.
109
427
96
2,938
902,435
You eventually start to realize, no job is safe.
293
346
82
2,685
300,704