External Script Fetching
- Category
- Supply Chain
- Confidence
- 93% confidence
- Finding
This is an external script/package fetching pattern followed by local extraction and execution of the downloaded code. Even with checksum verification, the skill operationalizes remote code acquisition and execution, which is dangerous in an agent skill because it can lead to full local code execution if the distribution source or pinned artifact is compromised.
- Content
md node -e 'const [major,minor]=process.versions.node.split(".").map(Number); if (major < 22 || (major === 22 && minor < 13)) { console.error("Node.js 22.13 or newer is required"); process.exit(1); }' cue_archive="$(mktemp "${TMPDIR:-/tmp}/cue-release.XXXXXX")" trap 'rm -f "$cue_archive"' EXIT curl --proto '=https' --tlsv1.2 -fsSL 'https://cueosai.sfo3.digitaloceanspaces.com/cue-cli/beta/2026.10.6-6.tgz' -o "$cue_archive" node --input-type=module - "$cue_archive" '1aeac3730f1f29336d8303f585a861130182a3aa791559081ae51ef2c83ec06d' <<'JS' import { readFileSync } from 'node:fs'; import { createHash } from 'node:crypto';
