Scan Report
42 /100
safe-flow-solana-skill
Payment skill for AI agents on Solana with on-chain rate limiting
SafeFlow Solana skill has undeclared shell execution and missing referenced files, with a doc-to-code mismatch that obscures actual implementation complexity.
Use with caution
Add complete dependency documentation (npx, ts-node, Node.js packages), verify the sdk/src/agent and target/idl/safeflow_solana.json paths exist, and declare all shell commands and network endpoints in SKILL.md.
Findings 5 items
| Severity | Finding | Location |
|---|---|---|
| High | Undocumented shell command execution Doc Mismatch | scripts/bootstrap.sh:40 |
| High | Missing referenced implementation files Doc Mismatch | scripts/execute_payment.sh:39 |
| High | Undeclared Node.js runtime dependency Doc Mismatch | scripts/save_config.sh:24 |
| Medium | Undeclared network endpoints Doc Mismatch | scripts/execute_payment.sh:44 |
| Low | Unpinned npx/ts-node execution Supply Chain | scripts/execute_payment.sh:36 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✓ Aligned | bootstrap.sh:35 writes .safeflow/config.json |
| Shell | NONE | WRITE | ✓ Aligned | bootstrap.sh:40 executes solana-keygen; execute_payment.sh:36 executes npx ts-no… |
| Network | NONE | READ | ✓ Aligned | execute_payment.sh:44-46 connects to api.devnet.solana.com |
| Environment | NONE | NONE | — | No environment variable access detected |
2 findings
Medium External URL 外部 URL
https://api.devnet.solana.com scripts/execute_payment.sh:44 Medium External URL 外部 URL
https://api.mainnet-beta.solana.com scripts/execute_payment.sh:46 File Tree
4 files · 7.9 KB · 264 lines Shell 3f · 193L
Markdown 1f · 71L
├─
▾
scripts
│ ├─
bootstrap.sh
Shell
│ ├─
execute_payment.sh
Shell
│ └─
save_config.sh
Shell
└─
SKILL.md
Markdown
Dependencies 5 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
npx | * | npm | No | Not pinned, not declared in SKILL.md |
ts-node | * | npm | No | Not pinned, not declared in SKILL.md |
@solana/web3.js | * | npm | No | Not declared in SKILL.md, loaded at runtime |
@coral-xyz/anchor | * | npm | No | Not declared in SKILL.md, loaded at runtime |
solana-keygen | * | cli | No | External Solana CLI tool, not declared in SKILL.md |
Security Positives
✓ No credential harvesting or sensitive data exfiltration detected
✓ No base64-encoded obfuscation or anti-analysis techniques found
✓ No reverse shell, C2, or reverse connection behavior
✓ No hidden instructions in comments or documentation
✓ No attempts to access ~/.ssh, ~/.aws, or .env files
✓ Payment logic appears to be legitimate Solana on-chain rate limiting
✓ No evidence of persistence mechanisms (cron, startup hooks, backdoors)