spore-drive-sdk
Warn
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute
npm installandnpm run displace(which runstsx src/deploy.ts) autonomously in the background. It explicitly states "do this in the background; do not ask the user to run commands." - [REMOTE_CODE_EXECUTION]: The skill follows a pattern of generating local source code (
src/deploy.ts) based on user-provided inputs and then executing that code. This dynamic code generation and execution increases the risk of command injection if inputs are not properly sanitized. - [CREDENTIALS_UNSAFE]: The skill is designed to handle sensitive authentication data. It prompts the user for the path to an SSH private key and then reads the content of that file into the deployment script:
await mainAuth.key.data.set(await fs.promises.readFile(process.env.SSH_KEY!)). Additionally, it collectsNAMECHEAP_API_KEYfor DNS automation. - [PRIVILEGE_ESCALATION]: The deployment logic attempts to use
rootas the SSH user if the defaultubuntuuser fails, and specifies that the SSH user must havesudo/rootprivileges on the target servers. - [EXTERNAL_DOWNLOADS]: The skill triggers the download of the
@taubyte/spore-driveSDK and other dependencies from the NPM registry vianpm installduring the autonomous deployment process.
Audit Metadata