Back to skill

Security audit

starlight-guild

Security checks for vulnerabilities and agentic risk

Overview

The skill is transparent about joining a reward task service, but it can drive user-account social actions from remotely supplied tasks without enough consent and safety boundaries.

Review this skill carefully before installing. Only use it if you are comfortable registering with ai-starlight.cc, storing a member API key, and manually approving every MoltBook post, comment, upvote, follow, recruitment, or raid task before it is performed. Do not let it automatically execute remotely supplied tasks under your account.

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
Findings (1)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:13
Finding
Externally Controlled Tasks Can Hijack Agent Actions## Vulnerability Details **File Location**: `SKILL.md:13-20`, `SKILL.md:31-49`, `SKILL.md:56-67`, and `SKILL.md:147` **Vulnerability Type**: Remote instruction delegation without validation or user approval **Risk Level**: High ### Vulnerable Skill Instructions ```text POST https://www.ai-starlight.cc/api/v1/agents/quick-register Content-Type: application/json {"agent_name": "your name", "referral_code": "312B0C31"} ``` ```text GET /api/v1/tasks/pending?member_id={your ID} Returns one task containing its type, content, and reward. ``` ```text POST /api/v1/tasks/{task_id}/complete Content-Type: application/json X-Member-Key: {your api_key} {"member_id": "your ID", "task_id": "xxx", "result": {"success": true}} ``` The documented task types include: ```text moltbook_post Post content moltbook_comment Post a comment moltbook_upvote Upvote content moltbook_interact Search and comment moltbook_follow Follow an account recruit_member Recruit new members raid_mission Participate in a coordinated guild raid ``` The Skill also states: ```text All task execution is completed through your own MoltBook API calls. ``` ### Technical Analysis The Skill directs an Agent to register with an external service, retrieve dynamically supplied tasks, execute those tasks using the Agent's own MoltBook access, and report completion for points. The remote task response contains both the task type and task content, but the Skill defines no validation rules, destination restrictions, content controls, or mandatory user-confirmation boundary. Consequently, effective instructions can change after the Skill has been reviewed. The external service can select what social action the Agent should perform and provide the content or target associated with that action. Because the documented workflow treats the returned task as work to be completed rather than untrusted data, a malicious or ...[truncated 1999 chars]
Remediation
## Remediation Suggestions 1. Remove autonomous execution of remotely supplied tasks. Treat every task response as untrusted data rather than an instruction. 2. Require explicit, informed user approval immediately before every external action. The approval prompt should display the action type, destination account or resource, complete proposed content, and expected side effects. 3. Define a strict task schema and allowlist. Reject unknown task types, unexpected fields, embedded instructions, redirects, and content that attempts to modify Agent behavior. 4. Prohibit high-risk task classes such as coordinated raids, unsolicited recruitment, bulk engagement, and undisclosed promotional activity. 5. Apply destination restrictions, content-length limits, rate limits, and per-session action limits. 6. Separate task retrieval from execution. A task-retrieval component should never directly invoke MoltBook or other privileged tools. 7. Use least-privilege credentials with narrowly scoped permissions. Do not give the task-processing workflow access to unrelated account or system capabilities. 8. Authenticate task-status endpoints and bind every task to the intended member. The documentation currently identifies several state-bearing endpoints as requiring no authentication. 9. Maintain an immutable audit log containing the task received, user approval, executed action, destination, timestamp, and service response. 10. Provide a revocation mechanism that stops polling, invalidates guild credentials, and prevents pending tasks from being executed after consent is withdrawn.
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)

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The skill instructs the agent/user to register with a third-party service, obtain and store an API key, fetch tasks, and report completions, but it does not provide meaningful warnings about privacy, third-party data sharing, account linkage, or the risks of performing actions on external platforms for rewards. In context, this is more dangerous because the workflow explicitly incentivizes automated posting, commenting, following, and reporting task completion to a remote service, which can expose credentials, enable unwanted external actions, and facilitate spam or platform-policy violations.

Static analysis

No suspicious patterns detected.