Back to skill

Security audit

APEX IA Scanner

Security checks for vulnerabilities and agentic risk

Overview

This scanner package includes under-disclosed automated Binance Futures trading code with embedded API credentials and order-placement capability.

Review carefully before installing. Treat this as more than a scanner: do not run the trader, aggressive, final, SMC, or complete launcher scripts unless you intentionally want automated Binance Futures trading, understand the leverage/liquidation risk, and have replaced/rotated credentials safely. Prefer scanner-only use with read-only market data and avoid enabling production trading without explicit safeguards.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
apex-ia-trader.mjs:14
Finding

Hard-Coded Binance API Credentials Exposed in Source Code

Content
View full analysis
0) { queryString += `&${new URLSearchParams(params).toString()}`; } let signature = ''; if (signed) { signature = generateSignature(queryString, API_SECRET); queryString += `&signature=${signature}`; } const url = `${BASE_URL}${endpoint}?${queryString}`; try { const response = await axios({ method, url, headers: { 'X-MBX-APIKEY': API_KEY, 'Content-Type': 'application/json' } }); return response.data; } catch (err) { console.error(`❌ Erro na requisição: ${err.message}`); return null; } } ``` ### Technical Analysis API credentials embedded in distributed source code must be considered compromised. Any person who can download the package, inspect its repo ...[truncated 1898 chars]
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
start-apex-completo.sh:14
Finding

Bundled Launcher Starts an Automated Leveraged Futures Trader Beyond the Declared Scanner Scope

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
realtime-scanner.js:149
Finding

Runtime Installation of an Unpinned Dependency Through a Shell Command

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (195)

Description-Behavior Mismatch

Critical
Category
Not specified by scanner
Confidence
100% confidence
Finding

The code places live market orders and take-profit orders on Binance Futures, directly creating leveraged positions. Because the skill is presented as a scanner, this concealed ability can cause immediate unauthorized or unexpected financial loss, especially in a high-risk derivatives environment.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Running an HTTP server, serving static content, reading local files, and exposing APIs goes well beyond a simple scanner and materially changes the attack surface. Those undeclared services can expose local data, create unintended network listeners, and confuse users about whether the skill is merely analytical or also a persistent application server.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
100% confidence
Finding

Hardcoded API credentials in source code are a severe secret-management failure, especially in software that can place leveraged futures orders. Anyone with access to the file can reuse the credentials, and if they correspond to a real account, they could query account data or submit orders, leading to account compromise and direct financial loss.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
100% confidence
Finding

The program uses hardcoded exchange credentials without any user-facing disclosure, which conceals a highly sensitive capability from the operator. In the context of a supposed scanner, undisclosed credentialed access is especially dangerous because it can silently connect to and act on an exchange account.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Automatic market-order trading is enabled by default, and there is no confirmation prompt before trades are placed. In a leveraged futures context, this can immediately create positions and losses for users who expected monitoring-only behavior or who did not understand the default mode.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The file is presented as a scanner, but it contains authenticated Binance account access, leverage changes, market order placement, take-profit order creation, and position management. This is a significant capability mismatch that can cause real trading activity, account exposure, and financial loss if a user runs it expecting passive market scanning only.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The code automatically executes trades from scan results when autoTrade is enabled, which exceeds the declared purpose of a scanner. Because this behavior is tied directly to signal generation, a user may unknowingly grant the program authority to open leveraged positions instead of merely reporting opportunities.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The code includes signed Binance API requests and account-balance access, which are sensitive capabilities not justified by a scanner-only description. Even if intended for demo use, these primitives enable authenticated actions and increase the blast radius if keys are present, leaked, or reused in production.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill is ներկայացված as a scanner, but this code can place and close Binance Futures orders, including market, stop, and take-profit orders. That is a significant capability expansion beyond passive analysis and creates a real risk of unauthorized or unexpected trading if a user runs the skill believing it is scanner-only.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The auto-trading path executes trades from scan results, which exceeds the declared scanner-only purpose and changes the skill from informational to transactional. This mismatch is dangerous because users may grant trust or credentials based on the less risky description while the code can take market actions on their behalf.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

Automatic live order execution can be enabled without any meaningful warning, acknowledgement, or confirmation about financial risk and order-placement behavior. In a trading context this is especially dangerous because a single keypress can transition the tool from passive monitoring to repeated market activity.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
100% confidence
Finding

Hardcoded Binance API credentials are embedded directly in the source. Anyone with file access can extract and misuse them for authenticated trading/account actions, and leaked secrets are difficult to contain once distributed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill metadata claims to be a scanner, but the code enables automated trading behavior by default and maintains state for leveraged positions. This mismatch is dangerous because users may grant trust or permissions appropriate for passive market scanning while the code is actually capable of taking account-affecting actions.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Automated leveraged trading is enabled by default via autoTrade = true, and the main loop can execute trades without any upfront confirmation. In a futures-trading context, default-on automation can rapidly open multiple risky positions before a user understands the behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

This section changes account leverage through the Binance API, which is an active trading-account modification rather than passive scanning. In the context of a skill presented as a scanner, hidden leverage changes materially increase financial risk and violate user expectations.

Content

No source excerpt is available for this finding.