Back to skill

Security audit

Xingchen Image API

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Xingchen AI image-generation API helper that uses a customer-provided key for generation and job polling only.

Install only if you intend to send image prompts, job IDs, and any provided reference image URLs to your Xingchen AI API endpoint. Configure XINGCHEN_API_BASE_URL to a trusted Xingchen domain and keep XINGCHEN_API_KEY in the environment rather than chat or logs.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (1)

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/api.md (reported line 24)May include surrounding context.

X-Xingchen-Response-Mode: compact

text

### curl

```bash
curl -sS -X POST "$XINGCHEN_API_BASE_URL/api/generate" \

Static analysis

No suspicious patterns detected.