update-packages
Warn
Audited by Gen Agent Trust Hub on Apr 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on the execution of multiple local TypeScript scripts (
check-outdated.ts,report.ts,skills-update-local.ts) using thebun runcommand. It also performs standard development operations includinggitbranch management andbun install. - [EXTERNAL_DOWNLOADS]: The
check-outdated.tsscript fetches package metadata fromregistry.npmjs.organd detailed release notes from the GitHub API (api.github.com). While these are well-known services, the retrieved content is used to influence agent decisions. - [REMOTE_CODE_EXECUTION]: The
skills-update-local.tsscript usesbunxto download and execute theskillspackage from the npm registry. Furthermore, it uses theskills addcommand to download and install additional skills from arbitrary GitHub repositories listed in the project'sskills-lock.jsonfile. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection via package release notes. The main instructions in
SKILL.mddirect the agent to 'Auto-implement' changes (classified as Tier T0/T1) discovered in thereleases[]field of theoutdated-changelog.jsonfile. A malicious maintainer or attacker could craft release notes containing instructions that the agent would then apply to the project's configuration files without sufficient sanitization. - Ingestion points: GitHub Release Notes API results fetched into
outdated-changelog.json(viacheck-outdated.ts). - Boundary markers: No explicit delimiters or instructions are used to separate external release notes from the agent's trusted context.
- Capability inventory: The agent has the capability to write to configuration files (
SKILL.mdStep 2) and execute verification tests (bun run check). - Sanitization: No sanitization or validation of the release note body content is performed before the agent processes it for 'T0/T1' adoption.
Audit Metadata