T08 · Insecure Dependencies
- Location
SKILL.md:127- Finding
Unpinned Package Execution Through npx
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a live A-share stock dashboard, but it overstates its trading analytics and includes avoidable supply-chain risks users should review before relying on it.
Review before installing or publishing. Treat the trading scores and large-order panels as rough heuristics, not measured institutional/order-book data; avoid the unpinned `npx mdeploy` path unless you pin and verify the package; and consider self-hosting or integrity-protecting Chart.js before using the dashboard for decisions.
SKILL.md:127Unpinned Package Execution Through npx
quant-x-v10.html:6Remote JavaScript Dependency Loaded Without Integrity Protection
quant-x-v10.html:300Synthetic Big-Order Metrics Presented as Measured Market Data
quant-x-v10.html:235Quote Fields Are Parsed Using Indices That Conflict With the Documented Schema
The skill documentation is entirely written in Chinese and does not state that the skill is China-specific or that users may choose another language. Under the policy criteria, forcing a specific language without opt-in or documented justification is a natural-language policy violation.
The skill instructs users to run npx mdeploy upload, which fetches and executes an npm package without pinning a specific version. If the package is updated maliciously, compromised upstream, or subject to dependency hijacking, a user executing this command could run attacker-controlled code on their system during deployment.
The HTML root declares lang="zh-CN", and the interface text is entirely Chinese, which effectively fixes the skill to a specific language/locale. The file does not offer localization options or explain that the skill is intentionally limited to a China-specific audience.
The displayed OBI dimensions and big-order buckets imply access to granular order-book counts, time decay, and large-order segmentation. The implementation derives all OBI variants by scaling a single outer-vs-inner volume ratio and estimates big-order tiers as fixed percentages of total volume, which does not match the claimed depth of analysis.
The dashboard presents named strategies and factor models as if they are analytically implemented. In code, these signals are derived from current-day percent change and amplitude thresholds only, without computing moving averages, Bollinger Bands, Donchian channels, 12-1 momentum, or Z-score mean reversion from suitable historical series.
The UI states "v10 整合 5 大量化框架 + Backtrader 回测", suggesting integrated backtesting functionality. However, the script only fetches live quotes, computes simple derived scores, and updates display widgets; there is no Backtrader usage, historical simulation engine, or replay/backtest logic anywhere in the file.
The footer and header present a LIVE Tencent market dashboard, which implies an immediately interpretable local market timestamp. The tick function renders UTC time instead of China/local exchange time, creating an intent-level mismatch in the live-display semantics even though data fetching still occurs periodically.
The page automatically issues recurring requests every 3 seconds to an external market-data endpoint, causing user IP, user-agent, timing, and referrer metadata to be disclosed to a third party without a clear warning or consent flow. In this skill context, the behavior is expected for a live dashboard, which reduces suspicion, but the silent continuous exfiltration of browsing metadata still presents a privacy and network-governance risk.
This markdown file is entirely written in Chinese and does not indicate that language selection is optional or user-configurable. Under the stated policy, forcing a specific language without opt-in can be a natural-language policy violation unless the locale restriction is documented and justified.
This markdown file contains user-facing operational instructions entirely in Chinese, and there is no indication that the user can choose another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the natural-language policy rule, forcing a specific language without opt-in is a policy concern.