T08 · Insecure Dependencies
- Location
SKILL.md:172- Finding
Unpinned Executable Installation Creates Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent Solana token-distribution skill, but its examples include real mainnet signing and sending patterns with weak transaction safety guardrails.
Review and adapt the examples before using this skill with production wallets. Prefer devnet or localnet first, pin and verify the install source, keep RPC keys and payer keys in a secrets manager, enable preflight or simulation for batches, confirm recipients and total amounts, and avoid JavaScript number arithmetic for token quantities.
SKILL.md:172Unpinned Executable Installation Creates Supply-Chain Risk
references/batched-airdrop.md:196Transaction Preflight Is Disabled in the Batched Airdrop Example
references/batched-airdrop.md:249Token Supply Uses an Unsafe JavaScript Number Representation
The skill instructs users to install from npx skills add Lightprotocol/skills without pinning a specific package or revision. This creates a supply-chain risk: a future compromised or maliciously updated package/version could be fetched and executed at install time, and npx commonly runs remote package code directly.
The example is configured for mainnet, creates a mint, mints supply, and submits batched transactions using a real RPC endpoint, but it does not prominently warn that running it will create and move real on-chain assets and incur real fees. In a token-distribution skill, users are likely to copy-paste examples directly, so omission of environment safety guidance materially increases the risk of accidental mainnet execution and unintended asset issuance or fee spend.
This example constructs and submits a real token distribution transaction to multiple recipients, but it does not clearly warn users that running it will move actual assets if valid keys, mint addresses, and recipients are supplied. In a blockchain context, copy-pasting sample code without explicit safety warnings can lead to unintended transfers, especially because the example includes transaction signing and broadcasting logic.
The markdown demonstrates pulling an RPC API key from an environment variable but gives no handling guidance about protecting credentials, avoiding accidental logging, or scoping the key to intended environments. While this alone is not credential exfiltration, documentation that normalizes direct use of production API keys without warnings can lead to leakage through shell history, screenshots, shared scripts, or misconfigured CI environments.
No suspicious patterns detected.