Back to skill

Security audit

OpenTUI — Native Terminal UI Framework

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward OpenTUI reference with disclosed install commands and API examples, though users should treat its package-install commands like normal third-party code execution.

Before running the installation commands, use a normal least-privilege development environment, review the OpenTUI package identity, and consider pinning exact package versions or using a lockfile for reproducible installs.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:17
Finding

Unpinned Remote Package Generator Execution

Content
View full analysis
Remediation
View remediation
bun create @ --template react ``` 3. Commit and enforce a reviewed `bun.lock` lockfile so dependency and transitive dependency resolution is reproducible. 4. Use a trusted registry and enable available integrity verification, provenance validation, and package-signing controls. 5. Review package ownership, publication history, lifecycle scripts, and transitive dependencies before execution. 6. In automated or sensitive environments, retrieve and inspect the template before executing generator-controlled code. 7. Run installation and generation commands in a sandbox or least-privileged environment without unnecessary credentials or access to sensitive host files. ]]>
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (1)

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 82)May include surrounding context.

typescript
Box({width:40,borderStyle:"rounded",padding:1}, Text({content:"Hi"}), Input({placeholder:"..."}))
// VNodes queue method calls: input.focus() → auto-executed when added to tree

function LabeledInput({id,label,pl}) {
  return delegate({focus:`${id}-in`},