migrating-motoko-actors

Pass

Audited by Gen Agent Trust Hub on Oct 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill uses the mops tool (Motoko Package Manager) for managing migrations and verifying canister compatibility. Mops is a well-known community tool for Motoko development.
  • [COMMAND_EXECUTION]: The skill instructs the agent to run developer-focused commands such as mops check --fix and mops build. These commands are used to automate the verification of stable state compatibility and to compile the Motoko backend.
  • [INDIRECT_PROMPT_INJECTION]: The skill requires the agent to analyze Motoko actor code to generate migration modules, which introduces a potential surface for indirect prompt injection if the source code contains malicious instructions.
  • Ingestion points: Actor signatures and stable variable declarations in main.mo or existing migration files.
  • Boundary markers: There are no instructions for using specific delimiters or safety prompts to isolate the actor code being analyzed from the agent's instructions.
  • Capability inventory: The agent can write to the src/backend/migrations/ directory and execute mops CLI tools.
  • Sanitization: The skill does not describe any sanitization or validation of the actor code prior to processing.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 8, 2026, 08:26 AM