typescript-expert
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
npx,npm, andnodeto perform project diagnostics, version checks, and validation. Safety is maintained by using the--no-installflag to prevent the execution of remote, untrusted packages. The diagnostic scriptscripts/ts_diagnostic.pyexecutes commands using argument lists rather than shell strings, reducing the risk of command injection. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it ingests untrusted data from
package.json,tsconfig.json, and files within thesrc/directory. - Ingestion points: Reads project configuration and source files in
SKILL.md(via shell fallbacks) andscripts/ts_diagnostic.py(viagrep_source_count). - Boundary markers: The instructions do not define specific delimiters for separating project data from the agent's internal reasoning context.
- Capability inventory: The skill can execute shell commands (
npx,npm,node) and perform file deletions (rm -rf node_modules/.cache). - Sanitization: The Python script uses
subprocess.runwith list-based arguments to avoid shell-level manipulation. - [SAFE]: The identified behaviors are standard for a development-focused TypeScript tool. The skill explicitly advises users to protect source excerpts before sharing and uses defensive programming techniques, such as pure-Python file scanning and command timeouts, to ensure safe operation.
Audit Metadata