Back to skill

Security audit

Options Spread Conviction Engine

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent options-analysis skill, but it needs Review because it gives trading-style recommendations while using under-disclosed mock/fallback logic and avoidable setup/cache security risks.

Review before installing. Do not treat its EXECUTE or sizing outputs as financial advice, avoid running the documented sudo symlink command, prefer a reviewed lockfile or pinned dependencies, and clear or migrate any existing .pkl option-cache files before use.

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

Warning
Location
scripts/chain_analyzer.py:75
Finding

Unsafe Deserialization of Local Option-Chain Cache Files

Content
View full analysis
str: """Get cache file path""" return os.path.join(self.cache_dir, f"{cache_key}.pkl") def _load_from_cache(self, cache_key: str) -> Optional[Dict]: """Load data from cache if valid""" cache_path = self._get_cache_path(cache_key) if not os.path.exists(cache_path): return None try: with open(cache_path, 'rb') as f: cached = pickle.load(f) # Check TTL if time.time() - cached.get('timestamp', 0) > self.cache_ttl: return None return cached.get('data') except (FileNotFoundError, PermissionError, pickle.PickleError, IOError): return None def _save_to_cache(self, cache_key: str, data: Dict): """Save data to cache""" cache_path = self._get_cache_path(cache_key) try: with open(cache_path, 'wb') as f: pickle.dump({'timestamp': time.time(), 'data': data}, f) except (FileNotFoundError, PermissionError, pickle.PickleError, IOError) as e: logger.warning(f"Failed to save cache: {e}") ``` ### Technical Analysis Python pickle is an executable serialization format. During `pickle.load()`, serialized reduction instructions can import modules and invoke arbitrary callables. Consequently, validity checks performed after deserialization, including the cache timestamp check, cannot protect against a malicious payload because code execution occurs while the file is being loaded. The cache is persistent under `~/.openclaw/options_cache` by default, and cache filenames are derived from ticker-based cache keys. `ChainFetcher` does not independently validate those keys before constructing paths. Although `quant_scanner.py` validates tickers in one CLI path, `ChainFetch ...[truncated 1563 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
scripts/setup-venv.sh:28
Finding

Unpinned Dependencies Are Downloaded and Executed During Automatic Setup

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Note
Location
SKILL.md:24
Finding

Documentation Requests an Unnecessary Privileged System-Wide Tool Symlink

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (66)

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The manifest says the skill features 'drawdown-constrained Kelly position sizing,' indicating position sizing is a core advertised capability. This report explicitly states 'No Position Sizing,' which directly contradicts the declared intent and would mislead users about what the skill does.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

This finding states that the reviewed content shows no support for the broad strategy and indicator analysis advertised. In a financial skill, such overstatement is materially dangerous because it can mislead users into thinking due diligence, scoring, and validation are more robust than they are.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The validator advertises historical walk-forward validation, but when the engine lacks historical support it silently falls back to current analysis plus random variation, and finally to fully random scores. That can produce fabricated evidence of predictive power and mislead users into deploying or sizing live trading strategies based on invalid backtest results, which is especially dangerous in a financial decision-support skill.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · MULTI_LEG_REPORT.md (reported line 30)May include surrounding context.

md
- Updated argument parser with all 7 strategies
   - Enhanced `--help` output with strategy categorization

2. **`/home/linuxbrew/.openclaw/workspace/skills/options-spread-conviction-engine/SKILL.md`**
   - Updated version to 2.0.0
   - Added documentation for all three multi-leg strategies
   - Documented scoring weights for each strategy

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The report defines the calendar setup as favorable when front-month IV exceeds back-month IV, which is a backwardation/inverted term structure condition. However, the example text calls this both an 'INVERTED TERM STRUCTURE' and a 'theta crush advantage,' conflating inversion with a normal calendar rationale and creating contradictory intent-level guidance within the documentation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.