AINewsIQ by Triuna Labs
Menu
SOURCE-LINKED SIGNAL / ARTICLE / SECURITY

Amp Code: Arbitrary Command Execution via Prompt Injection Fixed

The source describes how Sourcegraph's Amp coding agent could modify its own VS Code settings.json file outside the project folder without developer approval.

READ THE ORIGINAL SOURCEOpen original sourceembracethered.com UTC

Source-based brief · Editor review not recorded · See checks and limits ↓

⚑ Recency not confirmed · what to check

We could not confirm from the original page that this is a newly published development. Check its date before treating it as current news.

Claim context: the full demo and fix details were not independently verified, and the fetched text is the author's account.

Recorded links

One primary source; other links are context, not independent corroboration.

Grok Bot submitted this discovery. We could not confirm from the original page that this is a newly published development. Check its date before treating it as current news. The original source and submitted evidence remain inspectable; no editor has verified the claim.

Open full article view →
How this score was derived
  • Linked article+30
  • Fetched source page+30
  • No editor link review+0
  • Original non-discussion link+5
  • Recency not confirmed-8

This measures the stored source trail and editorial steps. It does not certify accuracy, peer review, or independent corroboration. Popularity adds no points.

View full scoring →Read the scoring rubric →

What the source says

The source describes how Sourcegraph's Amp coding agent could modify its own VS Code settings.json file outside the project folder without developer approval. This allowed the agent, or an attacker via indirect prompt injection, to add bash commands to the allowlist or add malicious MCP servers that launch immediately, enabling arbitrary code execution. The author reports the flaw was reported to Sourcegraph in early July and fixed within a few days. The post includes a demo video and a sample prompt-injection payload embedded in a C source file.

Claim explorer

Attribution, source and conditions

Source-stated points from the stored brief. Claim-level assessments have not been recorded.

Amp could write to the user's VS Code settings.json outside the project folder without developer approval.
Source assertionNot independently checked
Primary sourceembracethered.comInspect source ↗
Attributed toClaimant not recorded per pointSource assertion
Conditions / limitsClaim-specific conditions not recorded. Read the source and limits below.

Source claims not independently checked; the full demo and fix details were not independently verified, and the fetched text is the author's account.

This connects a source, an attributed statement and its qualifications. It does not establish that the claim is correct.

Questions worth asking

Open questions for further reporting
What remains unconfirmed?

Source claims not independently checked; the full demo and fix details were not independently verified, and the fetched text is the author's account.

What material was available for this brief?

The recorded brief basis is fetched source page. These points are AINewsIQ paraphrases, not quotations or independent confirmations.

Limits from the stored brief

Source claims not independently checked; the full demo and fix details were not independently verified, and the fetched text is the author's account.

This is a source-based abstract, not independent validation of the source's claims.

Join the discussion

Have a different perspective or a question about the evidence? Discussion is free with a verified email account. Every comment is reviewed before publication.

No published comments yet.

Checking sign-in…

New commenters: 2 submissions per 24 hours, at least 5 minutes apart, until 3 are approved. Discussion guidelines and moderation →