AI is getting scary good at finding hidden software bugs – even in decades-old code


Abstract Technology Binary Code Dark Red Background. Cyber Attack, Ransomware, Malware, Scareware Concept

WhataWin via iStock / Getty Images Plus

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • AI is proving better than expected at finding old, obscure bugs.
  • Unfortunately, AI is also good at finding bugs for hackers to exploit.
  • In short, AI still isn’t ready to replace programmers or security pros.

In a recent LinkedIn post, Microsoft Azure CTO Mark Russinovich said he used Anthropic’s new AI model Claude Opus 4.6 to read and analyze assembly code he’d written in 1986 for the Apple II 6502 processor. 

Also: Why AI is both a curse and a blessing to open-source software – according to developers

Claude didn’t just explain the code; it performed what he called a “security audit,” surfacing subtle logic errors, including one case where a routine failed to check the carry flag after an arithmetic operation. 

That’s a classic bug that had been hiding, dormant, for decades.

The good news and the bad news

Russinovich’s experiment is striking because the code predates today’s languages, frameworks, and security checklists. However, the AI was able to reason about low-level control flow and CPU flags to point out real defects. For veteran developers, it’s a reminder that long-lived codebases may still harbor bugs that conventional tools and developers have learned to live with.

Also: 7 AI coding techniques I use to ship real, reliable products – fast

Yet despite the progress, some experts believe this experiment raises concerns. 

As Matthew Trifiro, a veteran go-to-market engineer, said: “Oh, my, am I seeing this right? The attack surface just expanded to include every compiled binary ever shipped. When AI can reverse-engineer 40-year-old, obscure architectures this well, current obfuscation and security-through-obscurity approaches are essentially worthless.”

Trifiro makes a point. On the one hand, AI will help us find bugs so we can fix them. That’s the good news. On the other hand, and here’s the bad news, AI can also break into programs still in use that are no longer being patched or supported.

As Adedeji Olowe, founder of Lendsqr, pointed out, “This is scarier than we’re letting on. Billions of legacy microcontrollers exist globally, many likely running fragile or poorly audited firmware like this.”

Also: Is Perplexity’s new Computer a safer version of OpenClaw? How it works

He continued: “The real implication is that bad actors can send models like Opus after them to systematically find vulnerabilities and exploit them, while many of these systems are effectively unpatchable.”

LLMs complementing detector tools

Traditional static analysis tools such as SpotBugs, CodeQL, and Snyk Code scan source code for patterns associated with bugs and vulnerabilities. These tools excel at catching well-understood issues, such as null-pointer dereferences, common injection patterns, and API misuse, and they do so at scale across large Java and other-language codebases.

Now, it has become clear that large language models (LLMs) can complement those big detector tools. In a 2025 head-to-head study, LLMs like GPT-4.1, Mistral Large, and DeepSeek V3 were as good as industry-standard static analyzers at finding bugs across multiple open-source projects.

Also: This new Claude Code Review tool uses AI agents to check your pull requests for bugs — here’s how

How do these models do it? Instead of asking, “Does this line violate rule X?”, the LLM is effectively asking, “Given what this system is supposed to do, where are the failure modes and attack paths?” Combined, this approach is a powerful pairing.

For example, Anthropic’s Claude Opus 4.6 AI is helping clean up Firefox’s open-source code. According to Mozilla, Anthropic’s Frontier Red Team found more high-severity bugs in Firefox in just two weeks than people typically report in two months. Mozilla proclaimed, “This is clear evidence that large-scale, AI-assisted analysis is a powerful new addition to security engineers’ toolbox.”

Anthropic isn’t the only organization using AI engines to find bugs in code. Black Duck’s Signal product, for instance, combines multiple LLMs, Model Context Protocol (MCP) servers, and AI agents to autonomously analyze code in real time, detect vulnerabilities, and propose fixes.

Also: I used Claude Code to vibe code a Mac app in 8 hours, but it was more work than magic

Meanwhile, security consultancies, such as NCC Group, are experimenting with LLM-powered plugins for software reverse-engineering tools, like Ghidra, to help discover security problems, including potential buffer overflows and other memory-safety issues that can be hard for people to spot.

Passing security checks to AI

These successes don’t mean we’re ready to pass our security checks to AI. Far from it.

Also: I tried to save $1,200 by vibe coding for free – and quickly regretted it

Researchers have found that LLM-driven bug finding is not a drop-in replacement for mature static analysis pipelines. Studies comparing AI coding agents to human developers show that while AI can be prolific, it also introduces security flaws at higher rates, including unsafe password handling and insecure object references.

CodeRabbit found “that there are some bugs that humans create more often and some that AI creates more often. For example, humans create more typos and difficult-to-test code than AI. But overall, AI created 1.7 times as many bugs as humans

Code generation tools promise speed but get tripped up by the errors they introduce. It’s not just little bugs: AI created 1.3-1.7 times more critical and major issues.”

Also: Rolling out AI? 5 security tactics your business can’t get wrong – and why

You can also ask Daniel Stenberg, creator of the popular open-source data transfer program cURL. He’s loudly and legitimately complained that his project has been flooded with bogus, AI-written security reports that drown maintainers in pointless busywork.

The moral of the story

AI, in the right hands, makes a great assistant, but it’s not ready to be a top programmer or security checker. Maybe someday, but not today. So, use AI with existing tools carefully, and your programs will be far more secure than they are currently.

As for old code, well, that’s a real worry. I foresee people replacing firmware-powered devices due to realistic fears that they’ll soon be compromised.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Spotify aims to provide a consistent listening experience that uses minimal data. As a result, your audio quality might be less than ideal, especially if you’re using a pair of high-fidelity headphones or high-end speakers. Here’s how to fix that.

Switch audio streaming quality to Very High or Lossless

The default audio streaming quality in both the mobile and desktop Spotify apps is set to Automatic, which usually keeps the audio quality at Normal, which is only 96 Kbps. Even though Spotify uses the Ogg Vorbis codec, which is superior to MP3, OGG files exhibit slight (but noticeable) digital noise, poor bass detail, dull treble, and a narrow soundstage at 96 Kbps.

Even worse, Spotify is aggressive about adjusting the automatic bitrate. Even though 4G is more than fast enough to stream high-quality OGG files, even with a weak signal, Spotify may still drop the quality to Low, which has a bitrate of just 24 Kb/s. You will notice such a sharp drop in quality, even on a pair of bottom-of-the-barrel headphones.

To rectify this, open the Spotify app, tap your user image, open “Settings and privacy,” and tap the “Media Quality” menu. Once there, set Wi-Fi streaming quality and cellular streaming quality to “Very high” or “Lossless.”

I recommend setting cellular streaming quality to Very high and reserving Lossless for Wi-Fi, since lossless streaming is very data-intensive. One hour of streaming lossless files can take up to 1GB of data, as well as a good chunk of your phone’s storage, because Spotify caches files you’re frequently streaming. Besides, you’ll struggle to notice the difference unless you’re listening to music on a wired pair of high-end headphones or speakers; wireless connection just doesn’t have the bandwidth needed to convey the full fidelity of Spotify lossless audio.

You might opt for High quality if you have a capped data plan, but I recommend doing so only if you stream hours upon hours’ worth of music every single day over a cellular network. For instance, I burn through about 8 GB of data per month on average while streaming about two hours of very high-quality music over a cellular network each day.

Illustration of a headphone with various music icons around.


How Audio Compression Works and Why It Can Affect Your Music Quality

Feeling the squeeze when listening to your favorite song?

Set audio download quality to Very high or Lossless

If you tend to download songs and albums for offline listening, you should also set the audio download quality to “Very high” or “Lossless.” This setting is located just under the audio streaming quality section.

The audio download quality menu in Spotify's mobile app.

If you’ve got enough free storage on your phone, opt for the latter, but if you’d rather save storage space, set it to Very high. You’ll hardly hear the difference, but lossless files are about five times larger than the 320 Kb/s OGG files Spotify offers at its Very high quality setting, and they can quickly fill up your phone’s storage.

Adjust video streaming quality at your discretion

The last section of the Media quality menu is Video streaming quality. This sets the quality of video podcasts and music videos available for certain songs. Since I care about neither, I set it to “Very high” on Wi-Fi and “Normal” on cellular, but you should tweak the two options at your discretion because songs sound notably better at higher video streaming quality levels.

If you often watch videos over cellular and have unlimited data, feel free to toggle video quality to very high.

Make sure Data Saver mode is disabled

Even if your audio quality is set to Very high or Lossless, Spotify will switch to low-quality streaming if the app’s Data saver mode is enabled. This option is located in the Data saving and offline menu. Open the menu, then set it to “Always off,” or choose “Automatic” to have Spotify’s Data Saver mode kick in alongside your phone’s Data Saver mode.

You can also enable volume normalization and play around with the built-in equalizer

Spotify logo in the center of the screen with an equalizer in front. Credit: Lucas Gouveia / How-To Geek

Last but not least, there are two additional features you can play with to improve your listening experience. The first is volume normalization, which sets the same loudness for every track you’re listening to. This can be handy because different albums are mastered at different loudness levels, with newer music usually being louder.

Since I’m an album-oriented listener, I keep the option disabled. I can just play an album and set the audio volume accordingly, and I don’t really mind louder songs when listening to playlists, artists, or song radios.

But if you can’t stand one song being quiet and the next rattling the windows, visit the Playback menu, enable “Volume normalization,” and set it to “Quiet” or “Normal.” The “Loud” option can digitally compress files, and neither Spotify nor I recommend using it. This also happens with “Quiet” and “Normal,” since both adjust the decibel level of the master recording for each song, but the compression level is much lower and extremely hard to notice.

Before I end this, I should also mention that you can access the equalizer directly from the Spotify app, where you can fine-tune your music listening experience or pick one of the available equalizer presets. If your phone has a built-in equalizer, Spotify will open it; if it doesn’t, you can use Spotify’s. On my phone (a Samsung Galaxy S21 FE), I can only use One UI’s built-in equalizer.

To open the equalizer, open “Playback,” then hit the “Equalizer” button. Now you can equalize your audio to your heart’s content.


Adjusting just a few settings can have a drastic impact on your Spotify listening experience. If you aren’t satisfied with Spotify’s sound quality, make sure to adjust the audio before jumping ship. You should also check the sound quality settings from time to time, as Spotify can reset them during app updates.​​​​​​​

Three phones with a Spotify screen and the logo in the center.


These 8 Spotify Features Are My Favorite Hidden Gems

Look for these now.



Source link