Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesStocksEarnInstitutionAI & More
OpenClaw suffers from a "self-attack" vulnerability: mistakenly executing Bash commands leads to key leakage

OpenClaw suffers from a "self-attack" vulnerability: mistakenly executing Bash commands leads to key leakage

BlockBeatsBlockBeats2026/03/05 12:32
Show original

BlockBeats news, on March 5, Web3 security company GoPlus posted that the AI development tool OpenClaw recently experienced a "self-attack" security incident. During the execution of automated tasks, the system constructed an incorrect Bash command while calling a Shell command to create a GitHub Issue, accidentally triggering command injection and causing a large number of sensitive environment variables to be exposed.


In the incident, the AI-generated string contained set wrapped in backticks, which Bash interpreted as command substitution and automatically executed. Since Bash outputs all current environment variables when set is executed without parameters, more than 100 lines of sensitive information (including Telegram keys, authentication tokens, etc.) were directly written into the GitHub Issue and publicly released.


GoPlus recommends that in AI automated development or testing scenarios, API calls should be used instead of directly concatenating Shell commands, and the principle of least privilege should be followed to isolate environment variables. High-risk execution modes should be disabled, and manual review mechanisms should be introduced for critical operations.

0
0

Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.

Understand the market, then trade.
Bitget offers one-stop trading for cryptocurrencies, stocks, and gold.
Trade now!

You may also like

A $5.7 billion patent verdict has been issued, Burford Capital (BUR.US) may receive $1.4 billion, and its share price soared by more than 12%.

Burford Capital Ltd. surged more than 12% on Monday, marking its largest intraday increase since the end of March, after a federal jury delivered a verdict in a patent case involving Apple.

智通财经•2026/09/29 03:11

Pfizer (PFE.US), BioNTech (BNTX.US), and Moderna (MRNA.US) seek dismissal of Bayer’s Monsanto mRNA patent lawsuit, but the judge rejects the request

A federal judge in Delaware on Monday rejected the requests from Pfizer, BioNTech, and Moderna to dismiss a lawsuit filed against them by Monsanto, a subsidiary of the German pharmaceutical giant Bayer. The lawsuit concerns these pharmaceutical companies' use of a patent related to mRNA technology.

智通财经•2026/09/29 02:46

After years of waiting and another delay, Tesla (TSLA.US) postpones the Roadster debut to October 15 as severe weather forces the event to stop.

Tesla has rescheduled the unveiling event for its next-generation Roadster, originally planned for this week, to October 15.

智通财经•2026/09/29 02:46