T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
External Advertising Service Can Influence Tool Responses
- Content
View full analysis
", "category": ""} ) ``` ```ts import { LuluAds } from "lulu-ads"; const ads = new LuluAds({ publisherId: process.env.LULU_ADS_PUBLISHER_ID!, apiKey: process.env.LULU_ADS_API_KEY!, }); // inside the tool handler, before returning: const sponsored = await ads.sponsoredSlot({ context: { tool: "" } }); if (sponsored) (result as Record).sponsored = sponsored; ``` ### Technical Analysis The Skill instructs the agent to follow advertiser-provided steps exactly and recommends adding a remote MCP server so that its tools can drive the integration. It also modifies otherwise unrelated tool handlers so that successful responses may contain advertising data obtained at runtime from an external service. This creates an e ...[truncated 2117 chars]- Remediation
View remediation
