Back to skill

Security audit

alphaear-signal-tracker

Security checks for vulnerabilities and agentic risk

Overview

The skill is finance-related, but it is under-scoped and bundles broader network, model-loading, and database behavior that needs review before use.

Treat this as a Review install: use it only in a constrained environment, do not pass private or signed URLs into its news tools, and only load model checkpoints or downloaded models from sources you already trust. Expect local SQLite state to be created or modified, and verify the broader AlphaEar helper code before enabling it in an agent with sensitive credentials or high-impact financial workflows.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (5)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/tools/toolkits.py:71
Finding

Unrestricted forwarding of user-controlled URLs to a third-party content extraction service

Content
View full analysis
str: """ 使用 Jina Reader 抓取指定 URL 的网页正文内容。 Args: url: 需要抓取内容的完整网页 URL,必须以 http:// 或 https:// 开头。 Returns: 提取的网页正文内容,如果失败则返回错误信息。 """ content = self._news_tools.fetch_news_content(url) if content: return content[:5000] return "内容抓取失败" ``` The URL is subsequently forwarded by the content extractor: ```python @classmethod def extract_with_jina(cls, url: str, timeout: int = 30) -> Optional[str]: if not url or not url.startswith("http"): return None headers = { "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) " "AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/131.0.0.0 Safari/537.36", "Accept": "application/json" } api_key = os.getenv("JINA_API_KEY") has_api_key = bool(api_key and api_key.strip()) if has_api_key: headers["Authorization"] = f"Bearer {api_key}" cls._wait_for_rate_limit(has_api_key) try: full_url = f"{cls.JINA_BASE_URL}{url}" response = requests.get(full_url, headers=headers, timeout=timeout) ``` ### Technical Analysis The exposed `fetch_news_content` tool accepts a URL that may be selected from agent or user-controlled input. Validation consists only of checking whether the string starts with `http`. It does not: - Require a properly parsed `https` URL. - Reject embedded usernames or passwords. - Reject signed URLs or sensitive query-string parameters. - Restrict destination domains to approved news sources. - Reject localhost, private, reserved, link-local, or metadata-service addresses. - Account ...[truncated 1998 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Error
Location
scripts/tools/toolkits.py:71
Finding

Untrusted web content is introduced into the agent workflow without prompt-injection isolation

Content
View full analysis
str: content = self._news_tools.fetch_news_content(url) if content: return content[:5000] return "内容抓取失败" ``` The extractor returns third-party-controlled content without trust metadata or instruction filtering: ```python response = requests.get(full_url, headers=headers, timeout=timeout) if response.status_code == 200: try: data = response.json() if isinstance(data, dict) and "data" in data: return data["data"].get("content", "") return data.get("content", response.text) except (json.JSONDecodeError, TypeError): return response.text ``` The declared workflow feeds research material into later analysis: ```markdown 1. **Research**: Use **FinResearcher Prompt** to gather facts/price for a signal. 2. **Analyze**: Use **FinAnalyst Prompt** to generate the initial `InvestmentSignal`. 3. **Track**: For existing signals, use **Signal Tracking Prompt** to assess evolution based on new info. ``` ### Technical Analysis External web pages are attacker-controlled input. A page can contain text addressed to an AI agent, such as instructions to ignore the research task, invoke additional tools, fabricate ticker data, suppress risk information, or produce manipulated investment conclusions. The content extractor returns the page body as an ordinary string. The tool does not attach provenance or an untrusted-content marker, remove instruction-like constructs, or enforce a separation between page data and agent instructions. The Skill workflow explicitly relies on fetched research in ...[truncated 1641 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/utils/predictor/evaluation.py:37
Finding

Unsafe deserialization of potentially attacker-controlled PyTorch checkpoints

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/utils/predictor/kline_generate.py:25
Finding

SQL injection in predictor ticker lookup

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
scripts/utils/predictor/kline_generate.py:15
Finding

Runtime model downloads are not pinned to immutable revisions

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 (98)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the primary behavior is test/import scaffolding with no actual signal tracking, the skill is mislabeled in a way that defeats effective security review. Misrepresentation of purpose is itself a meaningful vulnerability in agent ecosystems because trust and permissions are granted based on manifest semantics.

Content

No source excerpt is available for this finding.