Back to skill

Security audit

Ink — React for interactive command-line apps.

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only Ink/React terminal UI skill with no hidden code, persistence, credential handling, or destructive behavior.

Install this when you want Ink/React terminal UI guidance. Review generated code before running it, especially examples that enable raw keyboard input or add npm dependencies, but the packaged skill itself is just markdown reference material.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
93% confidence
Finding
The trigger section is broad enough to activate on many general requests involving CLIs, dashboards, prompts, terminal output, or keyboard input, even when the user may not specifically want Ink. Over-broad activation can cause the agent to inappropriately inject this skill into unrelated workflows, increasing the chance of wrong-tool usage, misleading guidance, or accidental execution paths in contexts with terminal I/O and interactive input.

Missing User Warnings

Low
Confidence
82% confidence
Finding
The documentation states that Ink enters raw mode automatically, which changes how keyboard input is handled at the terminal level. In this markdown file, there is no accompanying warning or disclosure about that behavior's impact on normal terminal interaction, which fits the missing user warning criterion for markdown files.

Static analysis

No suspicious patterns detected.