skills/clerk/skills/clerk-migrate/Gen Agent Trust Hub

clerk-migrate

Warn

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill generates custom transformation logic in TypeScript or JavaScript files, which are subsequently imported and executed by the Clerk CLI at runtime to handle non-standard data formats. Additionally, it provides a validation script that the agent executes via shell runners (e.g., bun -e or npx tsx -e) to verify data mappings.
  • [INDIRECT_PROMPT_INJECTION]: The agent is tasked with reading and analyzing untrusted user export files (CSV, JSON) to identify data schemas and map fields. This process serves as an ingestion point where untrusted external data enters the agent's context, requiring the agent to make decisions based on the content of these files.
  • [EXTERNAL_DOWNLOADS]: The instructions include fallback commands to download and run the official clerk CLI package using well-known package runners such as npx, bunx, or pnpm dlx if the binary is not locally available.
  • [COMMAND_EXECUTION]: The skill utilizes shell commands for project environment checks and CLI interactions. It employs security-conscious patterns for handling sensitive service account keys, such as using mktemp for temporary storage, chmod 600 for permission restriction, and mandatory cleanup via rm.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 17, 2026, 10:48 PM