typescript-expert
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill recommends executing numerous diagnostic shell commands, including
npx tsc --version,node -v, and monorepo detection scripts. A specific complex command usesnode -eto evaluate logic that parsespackage.jsonfor tooling detection. - [DYNAMIC_EXECUTION]: The script
scripts/ts_diagnostic.pyutilizessubprocess.runwithshell=True. While the current usage is limited to hardcoded strings, this implementation choice is a best-practice violation that could facilitate command injection if extended with user-controlled data. - [INDIRECT_PROMPT_INJECTION]: The skill processes project files (
package.json,tsconfig.json, and source code) which serve as ingestion points for untrusted data. Ingestion points: reads frompackage.jsonandsrc/directories. Boundary markers: none identified in the instructions or scripts. Capability inventory: broad command execution capabilities includingnpm,npx, and Python subprocesses. Sanitization: the skill lacks sanitization of external file content before using it to drive diagnostic logic.
Audit Metadata