Back to skill

Security audit

Ai Avatar Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small, visible AI avatar and wallpaper helper with no embedded executable payload, though its install command should be treated with normal package-install caution.

Before installing, consider pinning the ClawHub installer to a specific reviewed version instead of using `@latest`. Also expect the skill's documentation and examples to be primarily Chinese, and verify any paid avatar-generation service terms before using Pro or subscription features.

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
README.md:8
Finding

Unpinned npm CLI Package Execution Through npx

Content
View full analysis

Vulnerability Details

File Location: README.md:8
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Medium

Vulnerable Code Snippet:

bash
npx clawhub@latest install ai-avatar-generator

Technical Analysis

The documented installation command invokes the mutable latest release of the third-party clawhub npm package through npx. If the package is not already available locally, npx may download it from the configured npm registry and execute its CLI code.

The latest tag does not identify an immutable, audited package version. Its target can change after this skill has been reviewed, meaning that the code ultimately executed by users may differ from the code expected by the skill author. The project provides no lockfile, package integrity hash, vendored implementation, or other mechanism for verifying the downloaded package.

This creates a supply-chain trust boundary in which compromise of the package, publisher account, release process, npm registry resolution, or a newly published unsafe version could result in unintended code execution.

Attack Path

  1. An attacker compromises the npm publisher account, package release process, or another component capable of changing the package version referenced by the latest tag.
  2. The attacker publishes a malicious release and assigns it to clawhub@latest.
  3. A user follows the installation instructions in README.md.
  4. npx resolves and downloads the attacker-controlled release.
  5. The downloaded CLI code executes with the permissions of the user running the command.
  6. The malicious package can access resources available to that user, subject to operating-system controls and the execution environment.

Impact Assessment

Successful exploitation could provide arbitrary code execution with the privileges of the invoking user. Depending on that user's permissions and environment, the malicious dependency could read o ...[truncated 413 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace @latest with an exact, reviewed version, for example:

    bash
    npx clawhub@1.2.3 install ai-avatar-generator
    
  2. Verify the selected release before recommending it, including its package contents, lifecycle behavior, transitive dependencies, and publisher provenance.

  3. Where supported, document and validate the expected package integrity hash.

  4. Use a lockfile for dependencies managed as part of the project and commit that lockfile to source control.

  5. Configure installation to use a trusted registry and avoid accepting unexpected registry overrides.

  6. Establish a controlled dependency-update process so version changes undergo security review before documentation is updated.

  7. Consider installing the audited package explicitly before execution rather than relying on transient retrieval and immediate execution by npx.

Vulnerability Patterns
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The README instructs users to run npx clawhub@latest install ai-avatar-generator, which pulls and executes the latest package version at install time rather than a reviewed, pinned release. If the upstream package is compromised or a malicious update is published, users could execute attacker-controlled code during installation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill description is presented in Chinese only, with no indication that the user can choose another language and no documented reason for a Chinese-only locale. This can violate language/locale policy expectations when a skill is intended for general use.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The natural-language content of the skill description and usage examples is entirely in Chinese, and the file does not offer any language choice or explain that the skill is intended only for a Chinese-speaking or region-specific audience. Under the stated policy, forcing a specific language without user opt-in is a locale/language policy concern.

Content

No source excerpt is available for this finding.