Back to skill

Security audit

AI Video Translation

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent video-translation CLI skill, but it asks users to run mutable npm packages and store a 15-day auth token without enough provenance or credential-safety guidance.

Review this skill before installing. Only run it if you trust the Newtranx npm package and publisher, prefer a pinned version or locked local install, avoid exposing unrelated files or secrets in the execution environment, and understand where the 15-day token is stored and how to remove or revoke it.

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:13
Finding

Execution of an Unpinned Third-Party npm Package

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 13–16
Vulnerability Type: Unpinned and automatically executed third-party dependency
Risk Level: Medium

bash
## Installation

```bash
npx --yes newtranx-ai
text

Similar unpinned `npx newtranx-ai` commands recur throughout the documented workflow.

### Technical Analysis

The installation instruction uses `npx --yes` to resolve, download, and execute the `newtranx-ai` package from the npm registry without specifying an exact version or requesting installation confirmation. The project provides no lockfile, integrity hash, reviewed local implementation, verified publisher information, or other mechanism that binds execution to audited package content.

Consequently, the code executed by this command can change after the Skill has been reviewed. The `--yes` option further reduces user oversight by automatically accepting installation. If the package, its publisher account, or one of its transitive dependencies is compromised, following the documented command can result in execution of attacker-controlled JavaScript.

This finding does not establish that `newtranx-ai` is currently malicious. It identifies an unsafe supply-chain execution pattern in the Skill instructions.

### Attack Path

1. An attacker compromises the npm package, its publisher account, or a dependency resolved by the package, or publishes a malicious later version through another supply-chain failure.
2. A user follows the Skill's installation instruction and runs `npx --yes newtranx-ai`.
3. `npx` resolves and downloads the mutable package version available from the configured npm registry.
4. Package lifecycle hooks or the package executable run with the invoking user's privileges.
5. Malicious code can access resources available to that user, including local files, environment variables, npm credentials, and service tokens. Later workflow commands may also expose video files and
...[truncated 727 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin the package to an explicitly reviewed version, for example:
    bash
    npm exec --package=newtranx-ai@<verified-version> -- newtranx-ai
    
  2. Remove --yes so unexpected package installation is not silently accepted.
  3. Install the dependency in a project governed by a committed lockfile rather than resolving mutable package content for every invocation.
  4. Verify the package publisher, official repository, release provenance, and npm package signatures or attestations where available.
  5. Record and verify package integrity metadata and audit both direct and transitive dependencies before recommending execution.
  6. Execute the CLI with least privilege in an isolated environment that exposes only the media files and credentials required for the task.
  7. Pin every documented invocation consistently; later commands must call the reviewed local binary rather than independently resolving the latest registry version.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (16)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest description says the skill applies 'when you want to translate video files' and supports URLs or local files, but it does not define specific invocation phrases, boundaries, or exclusion conditions. In a skill-selection context, this broad natural-language description could overlap with many generic user requests about videos or translation and cause unintended invocation.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The skill instructs users to execute an npm package via npx without pinning a specific version, which means the code fetched and run can change over time and could be replaced by a malicious or compromised release. Because npx executes remote package code immediately, this creates a supply-chain execution risk rather than a purely informational issue.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

This command runs npx newtranx-ai login without a pinned version, so users may execute whatever package version is current at invocation time. In a CLI that handles authentication and stores tokens, unpinned execution increases the risk of credential theft or malicious local changes if the package is compromised.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill instructs users to store an authentication token under a home-directory config path for 15 days without warning about credential persistence, local file permissions, or multi-user system exposure. In context, this is more dangerous because the same CLI is repeatedly executed via unpinned npx, so a compromised package could read and exfiltrate the saved token.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

Using npx newtranx-ai upload ./video.mp4 without a pinned version allows arbitrary future package updates to alter the code path that accesses local files and uploads content. Since this command handles user media directly, a compromised package could exfiltrate additional files or metadata beyond the intended upload.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The unpinned npx newtranx-ai upload https://example.com/video.mp4 command executes remote package code that can change without notice. In context, the package processes user-supplied URLs and network content, so compromise could be leveraged for unexpected network access, data exfiltration, or deceptive task submission.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The translation command invokes npx newtranx-ai without version pinning, so users execute mutable third-party code while passing task identifiers and translation parameters. Because the tool orchestrates uploads, translations, and exports, a malicious package update could tamper with jobs, leak tokens, or retrieve unauthorized content.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The status command is also unpinned, meaning users rely on a mutable package for fetching result links and task data. While lower risk than login or upload, a compromised package could still misdirect downloads, exfiltrate task metadata, or execute unwanted logic locally.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

This is another unpinned npx invocation for status retrieval, but it also shows a package-name inconsistency elsewhere in the document, increasing the chance of users invoking the wrong package. Unpinned execution combined with naming ambiguity raises supply-chain and typo-squatting exposure.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The language-query command uses npx newtranx-ai without version pinning, again exposing users to whatever package version is currently served. Although this command appears read-only, compromised CLI code could still perform unauthorized actions on the local system or over the network.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

This command references npx newtranx-cli without pinning a version, and it also differs from the primary package name used elsewhere. That combination increases the risk of users running an unintended or typo-squatted package that can execute arbitrary code and potentially expose downloaded subtitle links or credentials.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

Like the prior finding, this unpinned npx newtranx-cli command combines remote code execution risk with package-name inconsistency. In a real attack, a malicious or typo-squatted package could intercept task identifiers, return attacker-controlled links, or run arbitrary install scripts.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

This metadata status command is unpinned and uses the inconsistent newtranx-cli package name, which is particularly dangerous because metadata may include speaker information and other sensitive output. A compromised package could exfiltrate metadata or direct users to malicious downloads.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The first supported-languages example is unpinned, so it still exposes users to mutable third-party code execution. Even though the operation is informational, the underlying npx behavior remains capable of running arbitrary code from a compromised package release.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

This region-specific language query also executes an unpinned package, leaving users vulnerable to package compromise or malicious updates. Repetition across the skill amplifies the risk by normalizing unsafe execution patterns in multiple workflow steps.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The tip npx newtranx ai login appears malformed and effectively instructs users to run an unpinned npm package command with ambiguous naming. Ambiguity plus lack of pinning materially increases the chance of wrong-package execution, typo-squatting, or user confusion leading to unsafe remediation steps.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.