skills/mystenlabs/ts-sdks/fix-audit/Gen Agent Trust Hub

fix-audit

Pass

Audited by Gen Agent Trust Hub on Oct 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes multiple shell commands including pnpm update, pnpm install, and pnpm manypkg fix.
  • These commands can execute arbitrary code via package lifecycle scripts (preinstall, postinstall) found in the project's dependencies.
  • [INDIRECT_PROMPT_INJECTION]: The skill parses the JSON output of pnpm audit to determine which packages to upgrade or override.
  • Ingestion points: Reads output from pnpm audit --json which contains package metadata from the registry.
  • Boundary markers: None explicitly defined for the parsed JSON data.
  • Capability inventory: The skill has Write and Bash capabilities, allowing it to modify package.json and execute commands based on the parsed data.
  • Sanitization: There is no explicit sanitization of package names or version strings extracted from the audit report before they are used in command strings or file modifications.
  • [SECURITY_BYPASS]: Phase 4 instructs the agent to temporarily comment out minimumReleaseAge in pnpm-workspace.yaml if an installation failure occurs.
  • This action bypasses a security control designed to mitigate supply-chain attacks by delaying the adoption of newly published packages (which may not have been fully vetted or checked for malware yet).
  • While the skill includes instructions to restore the setting immediately, an interruption in the agent's execution or a crash could leave the project in a less secure state with this protection disabled.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 27, 2026, 05:56 PM