T03 · Remote Payload Retrieval and Execution
- Location
scripts/install.sh:158- Finding
Unverified Remote Skill Packages Are Installed into Agent Auto-Load Directories
- Content
View full analysis
&2 exit 6 elif [[ "$zip_status" -ne 0 ]]; then echo "[error] extraction failed (corrupt or truncated zip); existing install untouched." >&2 exit 1 fi ``` ```bash # scripts/install.sh:249-266 if [[ -n "$actual_version" && "$actual_version" != "$VERSION" ]]; then echo "[warn] version mismatch: requested v${VERSION}, but the package's SKILL.md says v${actual_version}" >&2 echo " The Hub's download endpoint may have served a different version than requested." >&2 echo " Recording the actual version v${actual_version}." >&2 echo " If you need an exact version, pin it: bash install.sh ${SLUG} (then re-check)." >&2 VERSION="$actual_version" fi echo "[install] installing to $INSTALL_DIR" backup_dir="" if [[ -d "$INSTALL_DIR" ]]; then backup_dir="${INSTALL_DIR}.bak.$$" mv "$INSTALL_DIR" "$backup_dir" fi if ! mv "$src_dir" "$INSTALL_DIR"; then ``` ```bash # scripts/install.sh:290-296 if [[ -d "$INSTALL_DIR/references" ]]; then echo " - references/ ($(find "$INSTALL_DIR/references" -type f | wc -l) files)" fi echo "" echo " The skill will be loaded on the next agent ...[truncated 2514 chars]- Remediation
View remediation
