code-migrator
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted source code from the user's project to identify migration paths and apply transformations. This creates a surface for indirect prompt injection if the code under analysis contains malicious instructions in comments or string literals.
- Ingestion points: The skill uses
GlobandReadtools in Phase 1 and 2 to ingest project source files. - Boundary markers: There are no explicit instructions to use delimiters or ignore embedded instructions when reading source code.
- Capability inventory: The skill has access to powerful tools including
Bash,Edit,Write, andTask. - Sanitization: No sanitization or escaping of the ingested code is described before the AI processes it.
- [COMMAND_EXECUTION]: The skill utilizes the
Bashtool to perform environment-altering actions such as creating git branches/tags, installing packages usingpipandnpm, and running tests viapytest. - [EXTERNAL_DOWNLOADS]: The skill triggers the download and installation of external dependencies from official registries (PyPI, NPM) as part of the dependency migration phase.
- [DYNAMIC_EXECUTION]: The skill generates new code (refactored source and new tests) and executes it using system tools like
pytestand language-specific compilers (py_compile,tsc).
Audit Metadata