grok-coding-agent

Fail

Audited by Snyk on Aug 4, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 0.90). The docs explicitly instruct preserving opaque user-provided wrappers that "may inject" authentication or bypass permissions and to avoid inspecting their source or environment, and they show automatic approval flags (--always-approve), which together can conceal backdoors, credential injection/theft, and silent unauthorized actions.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). SKILL.md requires running the Grok Build CLI against a user-provided task prompt (-p "Your task") in read-only/workspace sandbox modes, so the runtime LLM ingests free text authored by an outsider (the user) without any need to first select a specific item from a trusted feed.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.70). The skill explicitly tells the agent to preserve opaque user-provided "wrappers" that "may inject ... permission settings, including bypass permissions" and to avoid inspecting them, which encourages accepting bypasses of host security controls and thus poses a significant risk to the machine's state even though it doesn't explicitly call for sudo or file edits.

Issues (3)

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Aug 4, 2026, 07:24 PM
Issues
3
Security Audit — snyk — grok-coding-agent