Cybersecurity news

Jessica Doner

Back to the list

Critical x402 SDK Flaw Could Let Malicious APIs Drain AI Agents’ Token Balances

The Hacker News,

A flaw in software used by AI agents to pay for services allowed malicious providers to drain their entire token balances.

AI and securityVulnerabilities and patches

Overview

Security firm V12 found a flaw in the x402 SDKsA bundle of code libraries, tools, and documentation that developers import to build apps for a platform that allowed malicious APIs to drain the full tokenA short-lived digital pass that a server gives a logged-in user or app balance of AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own. The issue occurred because the default client set no spending limit before fixes were released on August 18. AI agents can pay for API callsA structured interface that lets one software program request data or actions from another program automatically without human approval, which makes them vulnerable to unauthorized charges. The x402 standard allows software to pay for web requests directly within the request itself. V12 identified this as one of three critical flaws in the x402 code, all of which were fixed in the August 18 releases. A developer who relies on standard auditA formal, systematic review of an organization's code, configurations, logs, and policies against security standards tools receives no warning to upgrade because the foundation did not publish security advisoriesAn official bulletin from a vendor or agency warning users about a flaw and its fix for these fixes.

Terms in this story

SDK
A bundle of code libraries, tools, and documentation that developers import to build apps for a platform. Mobile app developers include third-party advertising or analytics SDKs in their apps, and a malicious or buggy SDK can quietly collect data from every app that bundles it.
Token
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
AI Agents
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
API calls
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
audit
A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
security advisory
An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
Hacker
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
wallet's
A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related