Back to skill

Security audit

XPJ Probe Models

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it reports a plaintext transmission risk for proxy credentials and the script’s inspection was incomplete, alongside concerns about whether model discovery reliably validates usable models.

Treat this as a review item before installing. The main concrete concern is possible exposure of proxy credentials over plaintext HTTP, and the script was only partially inspected. Consider whether you need this skill and avoid using sensitive proxy credentials until its handling and validation behavior are independently verified.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/probe-models.js
Finding

HTTPS proxy credentials are transmitted over plaintext HTTP

Content
View full analysis

Impact

Disclosure and potential reuse of proxy credentials. A proxy rejecting the plaintext request does not prevent exposure because the authorization header has already been transmitted.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk contains only an installation command. It does not list model IDs, test model availability, or compare results with local configuration. The installed skill might provide those functions, but its implementation is not supplied and cannot be verified from this command.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/probe-models.js https://gpt.cosmoplat.com/v1 sk-xxxx

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/probe-models.js --provider cosmoplat-gptplan

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/probe-models.js --provider cosmoplat-gptplan --agent main

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/probe-models.js --provider google --proxy http://127.0.0.1:7890

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 · README.md (reported line 17)May include surrounding context.

bash
# 列出端点所有模型
node scripts/probe-models.js https://api.openai.com/v1 sk-xxxx

# 读 OpenClaw 配置里的 provider(自动脱敏 key)
node scripts/probe-models.js --provider cosmoplat-gptplan

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, 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.

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/probe-models.js (reported line 313)May include surrounding context.

js
console.log('--- isGoogle ---');
    ok('识别 Google host', isGoogle('https://generativelanguage.googleapis.com/v1beta/models') === true);
    ok('非 Google 返回 false', isGoogle('https://api.openai.com/v1/models') === false);

    console.log('--- retryable ---');
    let calls = 0;

Model discovery is reported as successful without verifying which listed models actually work.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The direct invocation reports success after parsing the model list without testing inference, while provider mode also bases its exit status solely on discovery even when inference checks fail. This creates a fail-open validation result if CI or an agent relies on the exit code as proof of usable models, although it does not itself establish credential theft or code execution.

Content

No source excerpt is available for this finding.