Back to skill

Security audit

Telegram Alert Tool Free

Security checks for vulnerabilities and agentic risk

Overview

This Telegram alert skill is not malicious, but it needs review because its outbound messaging behavior is under-scoped and its setup is incomplete.

Before installing, treat this as an outbound Telegram automation tool: confirm the exact chat or group ID, avoid sending secrets or proprietary trading data unless that audience is intended, and run any dependency setup in an isolated environment with pinned versions. Also note that the referenced implementation script is missing from the artifact, so the documented commands may not work as written.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:116
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 116 and 216–217
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Medium

Vulnerable code snippets:

bash
pip install python-telegram-bot requests
markdown
| python-telegram-bot | Python library | Required | `pip install python-telegram-bot` |
| requests | Python library | Required | `pip install requests` |

Technical Analysis

The skill instructs users or agents to install third-party packages without specifying reviewed versions, cryptographic hashes, a lockfile, or an explicitly trusted package index. Package resolution therefore depends on mutable repository state and the local pip configuration.

Installing a Python package can execute package build or installation logic under the invoking user's privileges. Although the documented package names are established projects and no malicious package is included in this artifact, the installation process remains exposed to compromised releases, unsafe package-index configuration, repository substitution, and incompatible future releases.

The artifact contains only SKILL.md; it does not include the referenced Python implementation or a dependency manifest that could constrain and verify the dependency graph.

Attack Path

  1. A user loads the skill and follows its environment setup instructions.
  2. The user or agent executes pip install python-telegram-bot requests.
  3. pip resolves unspecified package versions through the user's configured package index and dependency sources.
  4. An attacker compromises a resolved release or influences an untrusted or substituted package index.
  5. The attacker-controlled package or build logic executes during installation or when imported later.
  6. The payload runs with the permissions of the account that invoked pip.

Impact Assessment

Successful exploitation could execute arbitrary code with the invoking user's ...[truncated 517 chars]

Remediation
View remediation

Remediation Suggestions

  1. Pin every direct and transitive dependency to a reviewed version in a committed dependency manifest.
  2. Generate hashes for all approved distributions and require verification during installation:
    bash
    python -m pip install --require-hashes -r requirements.txt
    
  3. Specify an explicitly trusted package index and prevent unintended fallback to additional indexes.
  4. Use a lockfile-producing dependency-management process and review dependency changes before release.
  5. Install dependencies in an isolated virtual environment under a non-privileged account.
  6. Add automated dependency vulnerability and provenance scanning to the release process.
  7. Include the actual implementation referenced by the documentation so its imports and complete dependency graph can be audited.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill’s activation/scope language is overly broad, explicitly covering generic messaging, notification pushing, email/SMS, and communications integration well beyond a narrowly defined Telegram alerting use case. In an agent environment with read/exec/write privileges, this can cause the skill to be selected for unrelated outbound-communication tasks, increasing the chance of unintended external messaging, data disclosure, or misuse for spam-like automation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation provides instructions for sending messages to Telegram chats/groups but lacks an explicit warning that this transmits data to an external third-party service and potentially public or multi-user destinations. Without a clear warning and confirmation requirement, users or agents may send sensitive signals, personal data, or proprietary trading information to the wrong chat or an unintended audience.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The declared coverage keywords are excessively expansive and ambiguous, including generic phrases that can match many unrelated messaging and automation scenarios. This makes the skill easier for an agent to invoke in contexts outside its intended purpose, which is risky because the skill is designed to send content to external Telegram groups and may handle sensitive trading or user-generated information.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.