T03 · Remote Payload Retrieval and Execution
- Location
scripts/ft-deploy.mjs:203- Finding
Unverified Remote Installer Is Downloaded and Executed Automatically
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill largely matches its Freqtrade trading-bot purpose, but it needs Review because crafted inputs and host-mode setup can run unintended code in a live trading environment.
Install only if you are comfortable giving this skill authority over a Freqtrade bot and any configured exchange credentials. Use dry-run first, review generated strategy files before deployment, avoid passing untrusted values into actions, do not use host-mode auto-install on macOS without independently installing prerequisites, and do not point AICOIN_BASE_URL at non-AiCoin hosts.
scripts/ft-deploy.mjs:203Unverified Remote Installer Is Downloaded and Executed Automatically
scripts/ft-deploy.mjs:572Shell Command Injection Through Unvalidated CLI Parameters
scripts/ft-deploy.mjs:712Generated Strategy Parameters Permit Arbitrary Python Code Injection
lib/aicoin_data.py:103Configurable AiCoin Base URL Can Receive Signed Authentication Headers
lib/defaults.json:1Shared AiCoin API Key and Secret Are Hard-Coded in the Package
The declared description centers on operating a Freqtrade bot: creating strategies, backtesting, switching strategy/pairs/live mode, and reading bot status, balances, positions, and P&L, with specific claims about supervisord-managed daemons and never spawning competing processes. The supplied code does none of that. It is a standalone SDK/client for AiCoin data intended to be imported into Freqtrade strategies. Its primary behavior is authenticated access to external AiCoin endpoints and derivation of trading signals from that data. While it is related to Freqtrade in the sense that strategies may use it, the actual purpose is materially different from bot lifecycle/control/status management described in the skill. Therefore this is a clear description-behavior mismatch.
The declared description presents an orchestration/assistant skill for Freqtrade lifecycle tasks: strategy creation, backtesting, hyperopt, switching modes/strategies/pairs, and querying runtime trading status in CoinClaw or host environments. The supplied code does none of that. It is a standalone Freqtrade strategy class named FundingRateStrategy. Its primary purpose is to generate trading signals using Bollinger Bands, RSI, volume, and optionally live funding-rate data from an AiCoin data source. It also accesses an external module (aicoin_data) to fetch funding rates during live/dry-run operation, which is a specific market-data dependency not reflected in the declared skill purpose. This is a material purpose mismatch: the description is for a Freqtrade management skill, while the code is strategy logic for one particular strategy.
There is a material mismatch between the declared purpose and the supplied code chunk. The description presents a broad Freqtrade management skill that can create strategies, run backtests/hyperopt, switch bot modes/strategies/pairs, inspect bot status and P&L, and auto-detect CoinClaw environment behavior. The actual code chunk is not such an orchestration/management tool; it is only a concrete Freqtrade strategy class. Its primary purpose is to generate trade signals using ATR, momentum, RSI, EMA, volume, and optional AiCoin liquidation/open-interest inputs. While strategy creation is one trigger in the declared description, this code alone does not represent the broader declared operational capabilities, and it introduces concrete AiCoin live data access behavior not captured as the main function of the declared skill. Therefore the description does not accurately represent what this supplied code chunk actually does.
The declared description is for a broad operational Freqtrade assistant/orchestrator: create strategies, run backtests and hyperopt, switch runtime configuration, and inspect live trading state. The supplied code chunk instead is just a strategy class for Freqtrade. Its primary function is generating trading signals using RSI, EMA, volume, and optional live AiCoin whale/long-short sentiment data. While this is loosely within the Freqtrade domain, it materially does not implement the described management capabilities, environment auto-detection, daemon handling, or live bot/account querying. Therefore the description does not accurately represent what this code chunk actually does.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Referenced artifact was not completely inspected
`scripts/ft.mjs` + `scripts/ft-deploy.mjs` 内置三引擎自动识别(`lib/coinclaw-env.mjs`), 路径 / auth / supervisord socket 都自动解析, **agent 不用关心是哪个引擎**.
Detected: suspicious.dangerous_exec, suspicious.env_credential_access, suspicious.exposed_secret_literal