Back to skill

Security audit

x-list-digest

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed X-list digest workflow that uses authorized browser and optional Feishu access, with local archives and scheduling gated by user consent.

Before installing, verify you are comfortable granting the skill host-browser access to your logged-in X session and, if enabled, using your native Feishu CLI profile to create or update archive documents. Keep scheduling disabled unless you explicitly configure it, and use a user-selected data directory because the skill intentionally preserves local evidence and history.

Vulnerability Patterns
  • 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
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (36)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description presents a full workflow for collecting X posts, filtering archived content, classifying viewpoints, reporting, optional Feishu archiving, and consent-controlled scheduling. The supplied code chunk instead is a local data-processing utility: it reads raw and analysis files, validates that analysis IDs and fields match, merges them, normalizes ticker symbols, and enforces thread-root consistency before writing output. Although an aggregate() helper could support summaries, it is not used in the main execution path, and even it does not implement the described report cadence, X collection, archive skipping, Feishu integration, or scheduling behavior. This is a material description-behavior mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared description is about social-media list collection, post filtering, viewpoint classification, report generation, and optional Feishu archival with explicit consent. The supplied code does none of that. Instead, it is a browser preflight utility that inspects local processes, checks a localhost debugging endpoint, verifies a dedicated Chrome profile, and may launch that browser. This is a materially different primary purpose and introduces undeclared capabilities involving local process enumeration, localhost network access, and browser control setup. While such behavior could be a support component for some larger system, it is not represented by the declared purpose and is unrelated to the described triggers and outputs.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description is about collecting and analyzing X/Twitter list content and generating reports with optional Feishu archiving. This code does none of that. Instead, it implements browser tab state management using native browser helper functions, including opening tabs, navigating to URLs, persisting tab metadata, and closing tabs later. Those are materially different capabilities and resources than the declared purpose, so this is a clear description-behavior mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The declared purpose describes a higher-level workflow for authorized X list collection plus analysis, reporting, and optional archival under explicit user consent. The supplied code chunk instead performs low-level extraction from the currently open X page: it reads document text, inspects URL and DOM, extracts tweet IDs/authors/timestamps/text/media/engagement, and returns UI telemetry like viewport center and scroll position. Those behaviors are only a partial subset of the declared collection function and also include undeclared telemetry/status-detection capabilities. More importantly, the code does not implement several core declared behaviors: fixed time-window enforcement, skipping archived posts, market-viewpoint classification, daily writing reports, weekly off-topic statistics, Feishu CLI archival, or scheduling/consent checks. This is therefore a meaningful description-behavior mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The declared description presents a broader workflow skill for collecting authorized X list content, analyzing/classifying it, producing reports, and optionally archiving results. The supplied code chunk instead only normalizes already-collected JSON/JSONL records: it filters by a time window, validates and stringifies tweet IDs, deduplicates by ID, sorts by timestamp, and writes the output. This is not merely an implementation detail of the declared behavior because the chunk lacks the key claimed capabilities and has a materially different immediate purpose. There are no undeclared dangerous actions, but the description does not accurately represent what this code actually does.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The code is narrowly focused on persistence and control of a collection run: loading metadata, freezing prior history, merging tweet snapshots into raw storage, tracking visible/old batches, and deciding when to stop based on login/captcha/errors, timeouts, max tweets, max steps, pagination stall, or boundary detection. This partially aligns with the declared collection behavior, including skipping historical/already archived posts. However, the declared purpose emphasizes a broader workflow that includes classifying market viewpoints, producing daily and weekly reports, optional Feishu archival, and consent-based scheduling behavior. None of those functions appear in this code chunk. Instead, the chunk performs collector bookkeeping and limit enforcement, which is an undeclared operational capability and materially different from the higher-level described outputs. There is no evidence of unrelated external access or scheduling triggers in this snippet, but the description does not accurately represent what this code actually does.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The declared description covers an end-to-end workflow: collecting authorized X lists over a time window, filtering archived posts, classifying viewpoints, generating daily/weekly outputs, and optionally archiving via Feishu. The supplied code chunk is much narrower. It merges existing run/report artifacts, enforces that ranked posts have editorial fields, builds a title from keywords/status, renders daily and optional weekly summaries, and writes a markdown file plus manifest. There is no code for X access, data collection, authorization handling, archive skipping, viewpoint classification, Feishu CLI use, or scheduling/consent controls. While producing daily and weekly report artifacts is consistent with part of the description, the actual behavior is a post-processing bundler rather than the described skill, so this is a material description-behavior mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The declared description is about collecting X list content, filtering/classifying it, and producing reports with optional Feishu archiving. The supplied code does not perform collection, filtering, classification, scheduling, or report generation. Instead, it is a post-publication verification/finalization step for a Feishu document: it validates a stored Feishu doc URL, checks the fetched document contains the expected report content and tweet source links, verifies Sunday weekly-statistics presence, queries and updates a SQLite database, and rewrites receipt/manifest files to record publication linkage. These are materially different primary behaviors and include undeclared state/database update capabilities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description describes a user-invoked workflow for processing authorized X lists, including filtering archived posts, generating specific daily/weekly analyses, and optionally archiving through Feishu CLI with scheduling disabled by default. The supplied code instead runs a local offline demonstration using test fixtures, writes local files and a local database, and explicitly says it never fetches X or publishes messages. This is not just an incomplete snippet showing supporting details; its stated and observable behavior materially differs from the declared purpose, especially around data source, operational context, and external integrations.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description is for a data-collection and reporting skill over X lists with optional Feishu archiving and consent-gated scheduling. The supplied code chunk does something materially different: it is a doctor/diagnostic utility that prints structural readiness information about dependencies, config, local paths, browser/Hermes setup, and Feishu CLI auth checks. While Feishu and browser checks are loosely related supporting infrastructure, this chunk's actual purpose is not the described collection/reporting behavior. Because the primary function is different and it inspects additional local resources/host integrations not mentioned as part of this code's role, this is a meaningful description-behavior mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code chunk is narrowly focused on collecting X/Twitter list content through a native browser host. It resumes interrupted runs, validates the active browser tab/session, opens list and detail tabs, scrolls through content, filters by the configured time window, skips previously recorded items via freeze_history, and writes metadata/errors/snapshots. That collection behavior is broadly consistent with the collection portion of the description. However, the declared purpose also claims downstream analysis and output behaviors—classifying market viewpoints, producing daily writing reports, producing weekly off-topic statistics, and optionally archiving through Feishu CLI—which are absent from this code. There is also no scheduling logic here. Since the code's actual behavior is only collection/orchestration and omits several core declared functions, the description does not accurately represent what this chunk actually does.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The declared description centers on collecting authorized X lists, classifying market viewpoints, generating daily/weekly reports, and optionally archiving via Feishu CLI. This code chunk does not perform any X collection, post filtering, viewpoint classification, report generation, or scheduling logic. Instead, its primary purpose is a publication-verification step for an already created Feishu document: it checks URL/domain constraints, ensures the document matches prior saved publication state, verifies the fetched document still contains the local report content, updates a digest database, and records the verified Feishu URL in local receipt/state files. While optional Feishu archiving/publication is mentioned in the description, this code's behavior is a specific publication bookkeeping and integrity-checking function that is materially different from the declared primary purpose and omits the described core functionality.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared description is about collecting and analyzing X content, generating reports, and optionally archiving via Feishu. The supplied code chunk does none of that. Instead, it is a test file validating browser preflight behavior: checking localhost/IPv4/IPv6 listener ownership, ensuring a browser is or is not launched, and raising errors for unverified or unavailable CDP/browser states. This is a materially different primary purpose and introduces undeclared capabilities around process/network inspection and browser debugging validation. Therefore the description does not accurately represent the code.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description is about an X-list content collection and reporting skill with optional archival and consent-based scheduling. The actual code chunk does not implement or test any of those behaviors. Instead, it focuses on browser tab lifecycle management via an OwnedTabs component: opening tabs, closing only owned tabs, preserving certain tabs when paused, sweeping stale tabs from prior runs, ignoring changed URLs, and recording tab-close failures. This is a materially different primary purpose and capability set from the declared description, so the description does not accurately represent the code.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied code is narrowly focused on testing construction of native Feishu CLI command arguments and enforcing explicit profile selection. That is a different functional area from the declared description, which centers on collecting and analyzing X content and producing reports. While optional Feishu archiving is mentioned in the description, this code does not implement archiving itself; it only validates Feishu CLI preflight/auth setup. Because the actual behavior shown is materially different from the declared primary purpose, this is a mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Yes, this code chunk does not implement the declared functionality. It is a test for a diagnostic script, focused on ensuring unconfigured behavior returns a specific JSON structure without crashing. There is no evidence here of collecting X lists, filtering archived posts, classifying content, generating reports, optional Feishu archiving, or scheduling consent logic. This is not merely a supporting detail of the declared behavior; its primary purpose is materially different from the description.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The supplied code does not implement the declared end-user skill behavior. It is a test module exercising helper functions (aggregate, enrich, render, parse_init) and asserting expected outputs and validation errors. While some tested concepts loosely relate to the declared domain (off-topic summaries, report rendering, fixed-window/thread handling), the actual code chunk’s primary purpose is test verification, not collecting authorized X lists, classifying market viewpoints, producing daily/weekly reports for users, enforcing explicit consent, or archiving via Feishu CLI. This is a material description-to-behavior mismatch.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 37)May include surrounding context.

md
and other hosts must use only their supplied browser tools and documentation. `scripts/collect.js` is a read-only DOM snapshot helper, usable only if the host

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 20)May include surrounding context.

Use a trusted Agent Skills installer or place this directory in your host's skill discovery path. Review files before enabling execution. See host adapters.

After authorizing Python dependencies, create a package-local virtualenv:

sh
python3 -m venv .venv

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/category-taxonomy.md (reported line 7)May include surrounding context.

md
Choose the core thesis, not isolated keywords. Keep cross-market details in tickers/subcategory. Unknown tickers are empty arrays; uppercase words and project names do not automatically imply tickers. Sentiment is bullish/bearish/neutral/mixed. Actionable requires explicit entry/exit conditions. Confidence high/med/low measures extraction reliability, not expected return.

Only off_topic counts toward weekly author off-topic rate; other is not automatically off-topic. Fewer than three archive days means insufficient samples. Never automatically remove list members. Consensus requires cited posts from two independent authors, and each author has one sentiment vote per ticker.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

If no verified browser is connected, the script imports launcher code and starts a Chrome debugging instance, which is a subprocess/system-side operation. Although the file has error messages, it does not present any user-facing warning or confirmation before triggering that launch.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
81% confidence
Finding

This code creates a new browser tab and navigates it to a provided URL, which can transmit browsing requests externally, but there is no visible confirmation prompt, print/log disclosure, or nearby user-facing warning in the file. The cleanup path also later closes tabs programmatically, another impactful operation performed silently.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module docstring states this file 'does not execute external commands or inspect credentials,' yet the code explicitly prepares command invocations for native Feishu and Hermes tooling, including auth status checks and folder listing commands. Even if this file only emits readiness metadata rather than executing those commands directly, the documentation actively describes a narrower intent than the implemented behavior around credential and auth inspection workflows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

This code drives a browser session, collects page snapshots and tweet/detail data via helpers.js(...), and persists multiple artifacts such as metadata.json, browser-error.json, and snapshot/record files. Within this file there is no confirmation prompt or explicit user-facing disclosure that browsing-derived data will be collected and stored locally during execution.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The example configuration sets timezone: Asia/Bangkok, which imposes a specific locale setting in natural-language/config semantics. The file does not indicate that this is optional, user-selectable, or justified as region-specific, so it may conflict with language/locale policy expectations.

Content

No source excerpt is available for this finding.