Announcing Beacon: Self-improving memory for coding agents
← All skills
Skill

grok-build

skill:xiaomimimo/mimo-code#grok-build

Reference and workflow guidance for the Grok Build CLI (`grok`), including interactive and headless runs, authentication, sessions, worktrees, permissions, sandboxing, MCP servers, plugins, inspection, updates, and automation output. Invoke only when the user explicitly requests the `grok-build` skill, explicitly asks to use Grok Build CLI, or an already-selected workflow requires Grok Build; do not invoke for general coding, generic shell tasks, or other agent CLIs.

Verdict
Inconclusive

The analysis could not cover enough of the artifact to decide.

Analyzed Oct 27, 2026, 22:22 UTC at 2454604

Dispute security verdict

If you believe this verdict is incorrect, submit a dispute and we'll review it.

0
findings
—
highest severity
0
threat classes
2,049
files scanned
59/59
checks satisfied
0
package advisories

Why this verdict

  • inconclusive: gap skill_frontmatter_invalid at packages/cli/src/skill/builtin/.bundle/html-to-video-pipeline/SKILL.md
  • inconclusive: gap skill_frontmatter_invalid at packages/cli/src/skill/builtin/.bundle/super-research/SKILL.md
  • inconclusive: unresolved question on unknown class

Security findings 0

No individual findings recorded

The inconclusive verdict rests on the open questions and coverage gaps below; 7 candidate findings were refuted on review.

Open questions 3

What the analysis could not settle from the code alone.

What configuration does the documented `grok setup` subcommand fetch and install, from where, and where does it write it on the host?
Supply chain
Detector hits PY-CLAIM-CONTRADICTION (DET:721e09522b8bcf97, DET:afcc73723cbab189, DET:0d555813e6e1d53c) cite a sentence '- Prefer `--sandbox read-only` for review and auditing.' located in SKILL.md lines not shown here (approximately 82-95); confirm what that section actually says about sandbox and permission flags, since the shown units contain no such claim and the cited 'contradicting file_write' content is ordinary command syntax (false-positive-looking heuristic).
The PY-INV-HIDDEN-REF leads (DET:342e082f4d1feb13, DET:372eef5b801d530a) flag references to bundled markdown files as hidden/packed; both files ship with the skill and are shown in full in this pass, so confirm there is no additional concealed content in the .bundle directory beyond the files shown.
Refuted findings 7

Candidates the review stage examined and rejected, kept for transparency.

Data exfiltration

criticalRefutedlow confidence

Undeclared residue: the bundled workflows reference instructs configuring a remote third-party MCP endpoint (https://mcp.linear.app/mcp), an external network destination not named in the declared purpose, which would route agent context to Linear if the example is followed.

grok mcp add --transport http linear https://mcp.linear.app/mcp
Why it was refuted

Adding a remote HTTP MCP server via `grok mcp add` is the declared 'MCP servers' core capability (the target description explicitly covers MCP servers), demonstrated transparently with the vendor's officially referenced example endpoint, so the harm gate fails on the declared-core-capability carve-out. The command only writes configuration and transmits no agent data itself; any flow to Linear requires explicit subsequent use.

Persistence

criticalRefutedlow confidence

The workflows example instructs adding a third-party remote HTTP MCP server (mcp.linear.app), writing a remote endpoint into the agent's MCP configuration through which session or workspace data would flow when used.

grok mcp add --transport http linear https://mcp.linear.app/mcp
Why it was refuted

Persistence here is `grok mcp add`, the declared MCP-management capability (subcommands table declares `grok mcp <list|add|remove|doctor>` for managing MCP servers), and the skill transparently gates repo-level persistence by warning that `--scope project` should be used only when config should be written to `.grok/config.toml`. Harm fails via the declared-core-capability carve-out with this stated mitigation, and undeclared fails because the behavior is the declared capability.

Privilege escalation

highRefutedlow confidence

The bundled Grok CLI reference documents permission-bypass flags (--always-approve/--yolo and the Claude Code alias --dangerously-skip-permissions) that auto-approve tool execution in the operated Grok CLI, enabling unattended unsandboxed actions if the agent selects them; the surrounding text gates this ('only when the environment and command scope justify') but the risky capability is real and reachable from instructions the agent reads.

`--always-approve`, `--yolo` | Auto-approve tool execution; deny rules and hooks still apply.
Why it was refuted

The row openly documents the operated CLI's own permission flags, which is the declared 'permissions' core capability (the flag table is itself declared as capability claims D25/D26 over SRC:fd30e5e41a02c7b2), and the row notes deny rules and hooks still apply. The table documents rather than instructs, so no chain exists; harm and undeclared fail and the finding is refuted.

Agent hijacking

highRefutedlow confidence

The bundled Grok CLI reference documents flags (--rules to append and --system-prompt-override to replace the system prompt) that override the instructions of the Grok agent being operated when the agent passes text to them; this is documentation of the target CLI within the declared scope, so only the capability, not any use, is established.

`--system-prompt-override <TEXT>` | Replace the system prompt.
Why it was refuted

The row is honest reference documentation of the grok CLI's own system-prompt override flag, configuring the child grok process a user explicitly launches, squarely inside the declared operate-the-CLI capability (D25/D26 cover this table). It directs no override at the reading agent and contains no instruction, so harm and undeclared fail and chain is absent.

Supply chain

highRefutedlow confidence

The workflows reference instructs fetching and executing an unpinned npm package via `npx -y @modelcontextprotocol/server-filesystem` as an MCP server, an unpinned remote-code supply surface that the declared MCP-server capability does not pin to a version.

grok mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/dir
Why it was refuted

The example is the transparently labeled, officially referenced canonical invocation for adding a local stdio MCP server — the declared 'MCP servers' core capability — using the official @modelcontextprotocol-scoped package, so the harm gate fails on the declared-core-capability carve-out. Lack of version pinning is hygiene feedback about an open example, not undeclared or concealed supply-chain behavior.

Privilege escalation

highRefutedlow confidence

The skill conditionally instructs use of the wrapped CLI's permission-bypass flags (--always-approve, with --yolo and the Claude Code alias --dangerously-skip-permissions documented in the bundled flag index), letting the grok agent execute tools without per-call approval; this sits inside the broadly declared 'permissions' scope and is plausibly honest, but a bypass capability is not itself declared.

Use `--always-approve` only when the environment and command scope justify unattended execution.
Why it was refuted

Instructing conditional use of `--always-approve` is the declared core capability (the target description covers operating the CLI's 'permissions'), openly declared as capability claim D15 at exactly this line, and the sentence embeds its own mitigation pairing the flag with a sandbox and explicit deny rules. Both the harm (declared-core-capability carve-out with mitigation) and undeclared gates fail, so the finding dies despite reach and a concrete conditional instruction.

Privilege escalation

mediumRefutedlow confidence

The bundled CLI reference documents a Claude Code compatibility alias --dangerously-skip-permissions that disables the operated grok agent's permission checks.

and `--dangerously-skip-permissions`.
Why it was refuted

The sentence merely lists a Claude Code compatibility alias among the CLI's documented flags, within the declared permissions scope covered by D25/D26, and immediately steers users to native Grok flag names. It documents the CLI rather than instructing a bypass, so harm and undeclared fail and no chain to the claimed behavior exists.

Coverage gaps 10

Parts of the artifact the static analysis could not fully examine.

context:unanalyzable_binary binary content is only byte-scanned
packages/cli/src/cli/cmd/tui/asset/charge.wav
context:unanalyzable_binary binary content is only byte-scanned
packages/cli/src/cli/cmd/tui/asset/pulse-a.wav
context:unanalyzable_binary binary content is only byte-scanned
packages/cli/src/cli/cmd/tui/asset/pulse-b.wav
context:unanalyzable_binary binary content is only byte-scanned
packages/cli/src/cli/cmd/tui/asset/pulse-c.wav
context:unanalyzable_binary binary content is only byte-scanned
packages/cli/src/cli/cmd/tui/asset/ten_vad.wasm
skill_frontmatter_invalid missing name/description frontmatter
packages/cli/src/skill/builtin/.bundle/html-to-video-pipeline/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
packages/cli/src/skill/builtin/.bundle/super-research/SKILL.md
context:frontmatter_unparseable mapping values are not allowed here
packages/cli/src/skill/builtin/.bundle/html-to-video-pipeline/SKILL.md
context:frontmatter_unparseable mapping values are not allowed here
packages/cli/src/skill/builtin/.bundle/super-research/SKILL.md
context:frontmatter_unparseable mapping values are not allowed here
packages/cli/test/config/fixtures/frontmatter.md