Stock Portfolio
v1.0.0股票组合管理与预警技能。支持 A 股/港股/美股行情查询、持仓跟踪、收益计算、价格预警、每日推荐。使用免费 API(腾讯财经),数据本地存储。
⭐ 0· 107·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description (portfolio management, alerts, daily picks) align with the files and runtime instructions. The only network activity is toward public finance APIs (Tencent, Sina, EastMoney, Yahoo) which is expected for this purpose. No environment variables, credentials, or unrelated binaries are requested.
Instruction Scope
SKILL.md directs the agent to run the included Python scripts and optionally set up cron jobs. The scripts operate on local JSON files under a workspace data directory and call public finance HTTP APIs — this matches the documented scope. Notes: cron examples use absolute /root paths and openclaw message send examples (these are just examples but could leak alert output to configured chat targets if misused). Also the free APIs used are HTTP and may be susceptible to MITM or modification in transit.
Install Mechanism
There is no install spec (instruction-only style) — code files are included and nothing is downloaded or installed automatically. This is the lower-risk pattern. You should still review and run code locally rather than allowing any automatic install.
Credentials
The skill requires no credentials or environment variables, and stores data locally in a skill-specific data directory. Requested access is proportionate to a portfolio/alert tool. There are no demands for unrelated secrets or system config paths.
Persistence & Privilege
always:false (not forced into every agent session). The skill stores only its own data under a local data directory and does not modify other skills or global agent config. Cron integration is optional and user-configured.
Assessment
This skill appears internally consistent for a local stock portfolio manager: it only calls public finance APIs and stores JSON files in its own data directory. Before installing/run:
- Review the full code (you received some truncated file listings) to confirm there are no hidden network calls or unexpected behavior. Run it in a sandbox or VM first.
- Note a code bug: data_sources.py (DataSourceManager) shows a likely typo/bug (assignment to undefined name 'source') — expect runtime errors; consider fixing or reviewing the module before use.
- Cron examples assume /root paths and show piping output into openclaw message send; if you configure cron, ensure the target chat ID and message command are correct and trusted — otherwise alerts/reports could be sent to external recipients.
- The skill uses unencrypted HTTP endpoints for some APIs (qt.gtimg.cn, hq.sinajs.cn, push2.eastmoney.com). That can be tampered with on insecure networks; consider switching to HTTPS-capable sources (Yahoo/official HTTPS endpoints) or run behind a trusted network.
- Data privacy: holdings/alerts/history are stored locally under the skill workspace; back them up if important. The skill does not exfiltrate this data on its own, but any cron or notification configuration that sends data to third-party messaging channels will transmit it.
If you want higher assurance, ask the author for a corrected/reviewed data_sources.py, or run a line-by-line audit and unit tests (especially network code) before making the skill autonomous.Like a lobster shell, security has layers — review code before you run it.
latestvk970km38a9qm7d3736644jxj9d83fzkq
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
