T01 · Skill Instruction Hijacking
- Location
SKILL.md:130- Finding
Mutable Remote Instructions Override the Locally Audited Skill Specification
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 130-131
Vulnerability Type: Remote instruction trust and instruction hijacking
Risk Level: HighVulnerable code snippet:
markdown - Detailed examples: call `agentpmt-tool-search-and-execution` with `action: "get_instructions"` and `tool_id: "zoho-crm-connector"`, or call this product with `action: "get_instructions"` when the product tool is already selected. - Treat returned live schema and instructions as more specific than this generated summary.The same trust pattern is reinforced at
SKILL.md:268:markdown - If validation fails or the response shape is unclear, call `get_schema` or `get_instructions` before retrying.Technical Analysis
The Skill delegates authoritative behavioral instructions to mutable content returned by a remote AgentPMT service. It explicitly tells the agent to consider remotely returned instructions more specific than the locally reviewed specification.
Remote schemas can legitimately provide current parameter definitions, but remote natural-language instructions must not be given authority over local safety constraints or workflow goals. The retrieved content is outside the audited package and can change after installation. A compromised service, account, upstream integration, or response path could therefore insert instructions that were never reviewed with the Skill.
The remote response should instead be treated as untrusted data and constrained to a fixed, locally defined schema. It must not be permitted to override system instructions, user intent, safety rules, authorization requirements, or the locally audited action allowlist.
Attack Path
- An agent loads this Skill to access Zoho CRM through AgentPMT.
- The agent encounters an unclear parameter, validation failure, or production integration scenario.
- Following
SKILL.md, it requestsget_instructionsfrom the remote AgentPMT ...[truncated 1412 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the directive that remote instructions take precedence over the local Skill specification.
- Treat responses from
get_instructionsas untrusted reference data, never as executable or authoritative agent instructions. - Prefer a pinned, locally stored, reviewed schema for production use.
- If live schema retrieval is necessary, validate the response against a strict allowlist of expected actions, fields, types, limits, and enum values.
- Reject remote content that contains instructions to change goals, reveal secrets, invoke unrelated tools, expand permissions, or bypass confirmation requirements.
- Display and require explicit user confirmation before create, update, or delete operations, particularly bulk operations.
- Restrict retrieved CRM fields to those explicitly requested by the user and minimize sensitive customer data sent through the intermediary.
- Authenticate remote responses and pin an API/schema version or signed digest so reviewed behavior cannot change silently.
