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
mopstool (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 --fixandmops 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.moor 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 executemopsCLI tools. - Sanitization: The skill does not describe any sanitization or validation of the actor code prior to processing.
Audit Metadata