spfx-validate
Warn
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill includes a 'Self-Repair Behavior' section that instructs the agent to autonomously modify its own source code (SKILL.md) at runtime. This self-modifying instruction pattern allows for the persistence of behavioral changes without human oversight, which can be abused to subvert the skill's logic.
- [PROMPT_INJECTION]: The self-repair protocol creates an attack surface for indirect prompt injection. Because the agent is instructed to capture and parse 'full output' from CLI commands to determine necessary edits, an attacker who controls the data returned by SharePoint (such as app names or site metadata) could potentially trigger error messages containing malicious instructions that the agent then 'persists' into its own skill file.
- Ingestion points: Output from
m365 spo app list,m365 spo web get, andm365 spo app instance list(SKILL.md). - Boundary markers: None; the agent is instructed to parse and react to raw JSON output directly.
- Capability inventory: Execution of
m365CLI commands (including install/deploy) and file-write access to its ownSKILL.mdfile. - Sanitization: None specified; the agent is relied upon to perform 'minimal, reversible edits'.
Audit Metadata