← Lab /AI/ML

Proprietary AI agents still contain recurring security weaknesses

Proprietary agent products exhibit similar classes of vulnerabilities as open-source agents

AI/ML arXiv 26 May 2026 Measurement Real-world evidence Threat model

Published as “Lessons from Penetration Tests on Large-Scale Agent Systems”

Why it matters

Proprietary AI agents cannot rely on coding standards or user approval alone; they require robust sandboxing and fine-grained tool controls to prevent prompt-injection and RCE attacks.

Summary

The authors demonstrate that proprietary AI agent products still suffer from critical vulnerabilities such as prompt-injection via markdown hiding and remote code execution through inadequately filtered terminal tools. In two 2025 penetration tests they show that a malicious GitHub Contributor can compromise repository integrity with only black-box access, and that both contributors and owners can achieve RCE on the hosting platform despite an allowlist. The evidence comes from real-world deployments of a GitHub-assistant and a cloud-based agent design platform, but the study is limited to two systems and does not provide quantitative prevalence data.

What they found 2

  1. Malicious GitHub Contributors can compromise repository integrity using only black-box access to the assistant.

    “We found that malicious GitHub Contributors could compromise the integrity of subscribed repositories using only black-box access to the assistant.”

  2. Insufficient safeguards in the terminal tool enable remote code execution on the hosting platform.

    “We further found that insufficient safeguards in the terminal tool exposed the agent hosting platform to remote code execution (RCE).”

Caveats 1

  • Allowlist and Denylist Pattern Matching... This approach was insufficient, as attackers could exploit ambiguities in command syntax and leverage legitimate commands with unintended execution capabilities.

What’s new here 4

  • First systematic penetration testing of proprietary AI agent products rather than open-source frameworks.
  • Identification of markdown-hiding techniques that bypass human review while remaining visible to the agent.
  • Demonstration that allowlist-based command filtering can be subverted via indirect execution primitives (e.g., sed, find -ok).
  • Evaluation of both a GitHub-assistant workflow and a public agent-design playground, highlighting cross-system issues.

Threat model stated by the source

AdversaryGitHub Contributor (read-only) or GitHub Owner (write-access) and malicious platform user
CapabilityBlack-box interaction with the assistant (issue comments, tags) and ability to embed markdown-hidden payloads
AssumesAttacker can submit issue text or repository files; Human reviewers may not notice hidden markdown; Assistant processes raw markdown without rendering