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 -eornpx 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
clerkCLI package using well-known package runners such asnpx,bunx, orpnpm dlxif 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
mktempfor temporary storage,chmod 600for permission restriction, and mandatory cleanup viarm.
Audit Metadata