扫描报告
15 /100
storyclaw-alpaca-trading
US stock and crypto trading via Alpaca API with paper trading and real trading support
Legitimate trading skill with minor documentation gaps and inconsistent credential handling patterns that don't constitute malicious behavior.
可以安装
Document all scripts in SKILL.md, prefer environment variable usage over JSON file storage for credentials, and add explicit permission declarations for shell execution.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Undocumented strategy scripts 文档欺骗 | scripts/aggressive-strategy.js:1 |
| 低危 | Inconsistent credential handling 敏感访问 | scripts/momentum-strategy.js:19 |
| 提示 | Plaintext credential storage 敏感访问 | credentials/example.json:1 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | config-loader.js:32 - reads credentials/{USER_ID}.json |
| 网络访问 | READ | READ | ✓ 一致 | trading.js:60-95 - HTTPS requests to Alpaca API |
| 命令执行 | NONE | WRITE | ✗ 越权 | aggressive-strategy.js:13 - execSync('node trading.js ...') |
| 环境变量 | READ | READ | ✓ 一致 | config-loader.js:18 - reads USER_ID/TELEGRAM_USER_ID |
4 项发现
中危 外部 URL 外部 URL
https://paper-api.alpaca.markets SKILL.md:35 中危 外部 URL 外部 URL
https://data.alpaca.markets SKILL.md:36 中危 外部 URL 外部 URL
https://api.alpaca.markets SKILL.md:40 中危 外部 URL 外部 URL
https://app.alpaca.markets/brokerage/new-account SKILL.md:96 目录结构
7 文件 · 34.8 KB · 1154 行 JavaScript 4f · 1037L
Markdown 1f · 105L
JSON 2f · 12L
├─
▾
credentials
│ └─
example.json
JSON
├─
▾
scripts
│ ├─
aggressive-strategy.js
JavaScript
│ ├─
config-loader.js
JavaScript
│ ├─
momentum-strategy.js
JavaScript
│ └─
trading.js
JavaScript
├─
config.example.json
JSON
└─
SKILL.md
Markdown
安全亮点
✓ All network requests go to legitimate Alpaca API endpoints (paper-api.alpaca.markets, data.alpaca.markets)
✓ No base64 encoding, obfuscation, or anti-analysis techniques detected
✓ No credential exfiltration or external data transfer observed
✓ No sensitive paths (~/.ssh, ~/.aws, .env) accessed
✓ No reverse shell, C2, or reverse engineering indicators
✓ Clean codebase with no suspicious patterns