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.mdencourages users to perform sensitive operations with elevated privileges. It explicitly suggests usingsudo npm install -g pake-clion 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 usessubprocess.runwithshell=Trueto execute system utilities such ashdiutilandplutil. 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-clipackage 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.pyandscripts/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.pydynamically generates an entire PWA project structure at runtime, includingindex.html,manifest.json, andservice-worker.js. This generated code incorporates user-supplied data and is intended for subsequent execution.
Recommendations
- AI detected serious security threats
Audit Metadata