rhdh-yarn-bump
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on shell scripts and Node.js to execute a variety of system commands including
git,yarn,npm, andjq. scripts/yarn-bump.shorchestrates repository cloning, committing changes as a bot user, and pushing to remotes.scripts/bump-yarn.jsusesspawnSyncto invokeyarn set versionandyarn install --mode=update-lockfileto synchronize dependencies.- These executions are strictly scoped to the maintenance of the project dependencies as described in the skill's goal.
- [EXTERNAL_DOWNLOADS]: The skill fetches data and binaries from the official NPM registry and Yarn's release infrastructure.
- It uses
npm view @yarnpkg/clito resolve the latest Yarn 4.x version. - The
yarn set versioncommand is used to download the appropriate Yarn Berry.cjsbinary into the project's local.yarn/releasesdirectory. - These downloads originate from well-known, trusted package registries.
- [PRIVILEGE_ESCALATION]: The script
bump-yarn.jsapplies executable permissions to downloaded files. - It uses
fs.chmodSync(p, 0o755)on the Yarn binary files within the repository to ensure they can be executed by the Node.js runtime. - This is standard and required behavior for Yarn Berry projects to function correctly.
- [DATA_EXPOSURE]: The skill interacts with authentication tokens (
GITHUB_TOKEN,GH_TOKEN, andPRIVATE_TOKEN) to facilitate automated CI/CD workflows. - The tokens are used to authenticate clones and PR/MR creation on Red Hat's GitHub and GitLab instances.
- The usage pattern is consistent with legitimate automated service account behavior within the specified vendor's infrastructure.
Audit Metadata