Back to skill

Security audit

modellix-design

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious with medium confidence, mainly because it can silently install or upgrade a shared global CLI and clear a saved CLI profile beyond its stated media workflow purpose.

Consider the shared-system impact before installing: the scanners report that setup may change the global CLI without approval and that a saved profile may be cleared. Review the skill’s installation behavior and privacy implications, and avoid sending sensitive prompts or data to the external service unless authorized. Treat the assessment as incomplete because some local references were unresolved; the suspicious verdict does not establish malicious intent.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (26)

Tainted flow: 'req' from os.getenv (line 199, credential/environment) → urllib.request.build_opener.open (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 203)May include surrounding context.

python
with HttpDeadline(timeout_seconds) as deadline:
        opener = urllib.request.build_opener(DeadlineHTTPHandler(deadline), DeadlineHTTPSHandler(deadline), NoRedirectHandler())
        try:
            with opener.open(req, timeout=deadline.remaining()) as resp:
                raw = resp.read(16 * 1024 * 1024 + 1)
                deadline.remaining()
                if len(raw) > 16 * 1024 * 1024:

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The skill directs automatic installation or replacement of a global CLI without requiring user approval, although a media-generation request does not inherently authorize shared software changes. This creates compatibility and supply-chain risks; the longer documentation discloses updating, but disclosure is not consent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

Inspecting CLI configuration can support the declared integration workflow. However, clearing a named configuration profile without confirmation changes persistent CLI settings and is not necessary for the described media-generation or schema-retrieval operations. This destructive administrative action is not disclosed by the declared purpose.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/rest-playbook.md (reported line 115)May include surrounding context.

md
The helper uses wait hops of at most 45 seconds, a finite transport margin, and one monotonic total deadline. An absolute socket deadline also bounds slow headers, response bodies, proxy CONNECT, and TLS handshakes. System DNS resolution is platform-controlled; if it returns after the deadline, no connection or request starts. `--initial-wait` and `--max-wait` are deprecated compatibility flags and do not add sleeps between valid wait responses. Only transient read errors back off; paid POSTs and uploads are never replayed automatically.

Use `GET /api/v1/media/files?limit=20&offset=0` to reuse uploaded URLs. CLI/MCP uploads accept at most 16 MiB (16777216 bytes); REST has a separate configurable limit. Defaults are 10 files per team, 2 concurrent uploads, and 7-day retention. On 429, list files and explicitly approve deleting an unneeded ID with `DELETE /api/v1/media/files/{file_id}`. Never auto-delete files or retry uploads to clear quota.

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 108)May include surrounding context.

python
def child_env(api_key: Optional[str]) -> Dict[str, str]:
    """Pass an explicit key through the child environment, never process arguments."""
    env = os.environ.copy()
    if api_key:
        env["MODELLIX_API_KEY"] = api_key
    return env

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% 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 · evals/evals.json (reported line 87)May include surrounding context.

json
},
    {
      "id": 8,
      "prompt": "The video task task-existing is processing and upload quota is full. Continue waiting and reuse existing files. Do not generate again or delete without approval.",
      "expected_output": "Uses task wait with task-existing and file list to reuse URLs. A normal deadline keeps the ID. Deletion requires explicit selection and approval.",
      "files": [],
      "assertions": [

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 · evals/evals.json (reported line 94)May include surrounding context.

json
"Uses server-side wait rather than task get plus sleep",
        "Keeps task-existing after exit 124",
        "Lists reusable uploaded files",
        "Does not automatically delete or replay uploads or paid submissions"
      ]
    },
    {

The model-run workflow lacks a privacy warning that request payloads are transmitted to an external service.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The playbook directs the agent to run models using inline prompts or a local payload file, rather than merely listing available tools. It does not warn that the supplied request contents leave the local environment and are submitted to Modellix for processing, which matters when payloads contain sensitive user data.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/rest-playbook.md (reported line 33)May include surrounding context.

GET /tasks/{task_id}?wait=true&timeout=45

text

## cURL Example

Submit:

The submission workflow sends prompt content to Modellix without a privacy warning.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The playbook instructs the agent to submit a prompt to the external Modellix API, rather than merely listing an available endpoint. It does not warn users that their prompt content will leave their environment and be processed by a third-party service.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/rest-playbook.md (reported line 38)May include surrounding context.

Submit:

bash
curl -X POST "https://api.modellix.ai/api/v1/<provider>/<model_id>/async" \
  -H "Authorization: Bearer $MODELLIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A cute cat playing in a garden on a sunny day"}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/rest-playbook.md (reported line 65)May include surrounding context.

Wait:

bash
curl -X GET "https://api.modellix.ai/api/v1/tasks/<task_id>?wait=true&timeout=45" \
  -H "Authorization: Bearer $MODELLIX_API_KEY"

The promised preservation of a working CLI on installation failure is not implemented.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The installer modifies the global installation in place before checking whether installation and version verification succeeded. On failure, fallback returns the original pathname and recorded version without restoring or revalidating its contents, so a previously working CLI may instead be missing, damaged, or replaced.

Content

No source excerpt is available for this finding.

The skill silently upgrades the shared global CLI rather than merely using it for media API workflows.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

Updating is enabled by default and invokes npm install --global without an approval gate, replacing shared software with the registry's current release. Exact-version selection and --ignore-scripts reduce some risks but do not prevent compromised package code from running during the subsequent version check or later CLI use.

Content

No source excerpt is available for this finding.

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.

Content

Scanner excerpt · scripts/http_deadline.py (reported line 30)May include surrounding context.

python
def __exit__(self, exc_type, exc, traceback):
        self._stop.set()
        self._watcher.join(timeout=0.2)
        with self._lock:
            self._socket = None
        self.remaining()

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

Although socket operations use the absolute deadline, socket.getaddrinfo runs synchronously without an enforceable deadline. A stalled resolver can therefore block the calling thread beyond the advertised request limit; the watchdog cannot interrupt resolution because no socket has been bound yet.

Content

Scanner excerpt · scripts/http_deadline.py (reported line 68)May include surrounding context.

python
except OSError:
                pass

    def create_connection(self, address, timeout=None, source_address=None):
        host, port = address
        last_error = None
        # DNS uses the platform resolver. Recheck before connecting/sending if it

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/rest-playbook.md (reported line 9)May include surrounding context.

md
## Base URL

`https://api.modellix.ai/api/v1`

## Auth

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/rest-playbook.md (reported line 56)May include surrounding context.

md
"model_id": "model-123",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
    }
  }
}

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 30)May include surrounding context.

python
from cli_runtime import CliRuntime, resolve_cli_runtime
from http_deadline import DeadlineHTTPHandler, DeadlineHTTPSHandler, HttpDeadline

BASE_URL = "https://api.modellix.ai/api/v1"
RETRYABLE_READ_STATUS = {408, 429, 500, 502, 503, 504}
MAX_READ_RETRIES = 3

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 133)May include surrounding context.

python
# Paid POST must not be auto-retried by this wrapper.
    try:
        proc = subprocess.run(
            cmd,
            check=False,
            capture_output=True,

Tainted flow: 'get_api_key()' from os.getenv (line 79, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 133)May include surrounding context.

python
# Paid POST must not be auto-retried by this wrapper.
    try:
        proc = subprocess.run(
            cmd,
            check=False,
            capture_output=True,

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
89% confidence
Finding

This download subprocess has no timeout and buffers all stdout and stderr in memory. A stalled download or excessively verbose child process can indefinitely occupy the agent workflow or exhaust memory, although the argument-list invocation does not itself introduce shell injection.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 173)May include surrounding context.

python
output_dir,
        "--json",
    ]
    proc = subprocess.run(
        cmd,
        check=False,
        capture_output=True,

Tainted flow: 'cmd' from os.getenv (line 164, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/invoke_and_poll.py (reported line 173)May include surrounding context.

python
output_dir,
        "--json",
    ]
    proc = subprocess.run(
        cmd,
        check=False,
        capture_output=True,

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/preflight.py (reported line 27)May include surrounding context.

python
command = [cli_path, "doctor", "--json"]
        if profile:
            command.extend(["--profile", profile])
        proc = subprocess.run(
            command,
            check=False,
            capture_output=True,