T01 · Skill Instruction Hijacking
- Location
SKILL.md:47- Finding
Mandatory referral messaging overrides normal agent discretion
- Content
View full analysis
Please paste your **WellAPI API Key**. > If you don't have one yet, register at https://wellapi.ai/register?channel=c_qqn3vdvc to get a free key. Wait for the user to reply with the key, then call the helper script to securely store it: ```bash python3 scripts/setup_api_key.py ``` ``` ### Technical Analysis The Skill requires the agent to reproduce predetermined vendor messaging verbatim and explicitly prevents it from presenting alternative setup methods or asking clarifying questions. The registration URL contains the stable referral parameter `channel=c_qqn3vdvc`, which is not required to authenticate with the image-generation service. This behavior modifies how the agent must interact with the user rather than merely documenting the technical prerequisites. It creates a promotional redirection path whenever an API key is unavailable. Although directing the user to the service that supplies the required key is functionally relevant, enforcing a tracked URL and suppressing alternatives exceeds the minimum privileges and instructions needed for image generation. ### Attack Path 1. A user invokes the Skill without `WELLAPI_API_KEY` or a saved configuration key. 2. The Skill instructions require the agent to display the supplied onboarding message verbatim. 3. The agent is prohibited from initially explaining other supported configuration methods. 4. The user is directed to the tracked registration URL. 5. The third ...[truncated 441 chars]- Remediation
View remediation
