spfx-deploy

Warn

Audited by Gen Agent Trust Hub on Jun 21, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands, including ls and various m365 CLI commands (m365 spo site appcatalog add, m365 spo app add, etc.), to manage SharePoint application lifecycle tasks.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it incorporates user-supplied arguments into shell command strings without validation.
  • Ingestion points: User inputs for --project-dir and --site-url defined in the argument-hint and used throughout SKILL.md.
  • Boundary markers: No delimiters or safety instructions are used to isolate user-provided variables from the shell command syntax.
  • Capability inventory: The agent can execute file system listings (ls) and authenticated Microsoft 365 management commands.
  • Sanitization: The skill lacks any instructions to validate or escape user input before interpolation into command-line arguments.
  • [DYNAMIC_EXECUTION]: The 'Self-Repair Behavior' section instructs the agent to dynamically modify and persist changes to the SKILL.md file itself based on the output of failed commands. This self-modification capability introduces a risk where untrusted error messages or command outputs could be used to inject malicious instructions that would persist in the skill's source.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 21, 2026, 11:39 AM