web-to-app

Fail

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill's documentation in references/troubleshooting.md encourages users to perform sensitive operations with elevated privileges. It explicitly suggests using sudo npm install -g pake-cli on macOS and Linux, and running as an Administrator on Windows to install the required CLI tool, which is a major security risk.
  • [COMMAND_EXECUTION]: There is a significant command injection risk in scripts/app_validator.py. The script uses subprocess.run with shell=True to execute system utilities such as hdiutil and plutil. These commands interpolate file paths (e.g., dmg_path, app_path) into a shell string. If an attacker provides a filename or path containing shell metacharacters, they could achieve arbitrary code execution on the user's system.
  • [EXTERNAL_DOWNLOADS]: The skill automates the global installation of the pake-cli package from public registries. While intended for its core functionality, this introduces a dependency on external, third-party code that is executed with high permissions.
  • [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted URLs provided by users and incorporates them into system commands and generated application code without sufficient verification.
  • Ingestion points: Untrusted website URLs processed by scripts/pake_builder.py and scripts/pwabuilder_converter.py.
  • Boundary markers: Absent.
  • Capability inventory: System command execution, file system modifications, and network operations.
  • Sanitization: Uses basic URL encoding for parameters but lacks comprehensive validation to prevent shell or code injection.
  • [DYNAMIC_EXECUTION]: The script scripts/pwabuilder_converter.py dynamically generates an entire PWA project structure at runtime, including index.html, manifest.json, and service-worker.js. This generated code incorporates user-supplied data and is intended for subsequent execution.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 16, 2026, 12:35 AM