spfx-build-package

Warn

Audited by Gen Agent Trust Hub on Jun 21, 2026

Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [PROMPT_INJECTION]: The 'Self-Repair Behavior' section instructs the agent to autonomously modify its own instruction file (SKILL.md) to fix errors. This self-modification capability allows the agent to rewrite its logic, potentially leading to the bypass of safety constraints or the introduction of malicious instructions.
  • [COMMAND_EXECUTION]: The skill relies on 'node -e' to execute Javascript code passed as command-line arguments and 'npm run build' for project bundling. These commands facilitate arbitrary code execution on the local system.
  • [EXTERNAL_DOWNLOADS]: Execution of 'npm install' in the prerequisites involves downloading third-party packages from external sources, posing a supply chain risk if dependencies are compromised.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 21, 2026, 10:32 AM