Back to skill

Security audit

procurement-draft-desk

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small, disclosed procurement workflow that prepares supplier terms and can create purchase draft records when requested.

Install this only where agents are allowed to perform procurement draft workflows. Treat create_purchase_draft as capable of creating a downstream business draft record, and use it only after the user has clearly requested that action.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
92% confidence
Finding
The top-level instruction to 'Use this skill for routine procurement operations work' and 'Invoke the stage requested by the user' is broad enough that a generic procurement request could trigger the skill without strong confirmation of which stage is intended. Because one stage can create procurement records, ambiguous invocation increases the risk of unintended operational actions from underspecified or misrouted user prompts.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The 'Create a purchase draft' stage does not clearly warn that it may create or modify procurement system records, which can cause users or calling agents to treat it like a harmless formatting step. In an agentic workflow, this missing disclosure raises the chance of accidental state-changing actions, unauthorized draft creation, or operational clutter from prompts that did not intend to write to a downstream system.

Static analysis

No suspicious patterns detected.