loom-code-migration
Warn
Audited by Gen Agent Trust Hub on Jul 25, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill implements several utility scripts (
dependency_audit.py,staged_upgrade.py, androllback.py) that utilizesubprocess.runto interact with system tools such asnpm,pip,git, andalembic. This allows the agent to modify the local environment and source control state. - [COMMAND_EXECUTION]: In
rollback.py, theRollbackManager.rollback_tomethod executes arbitrary commands from a list usingsubprocess.run(cmd, shell=True). This implementation enables the execution of any shell string stored within a rollback point, which could be exploited to run malicious commands if a rollback configuration is maliciously constructed. - [EXTERNAL_DOWNLOADS]: The
StagedUpgraderclass instaged_upgrade.pyautomates the installation of remote packages vianpm install, which involves downloading and executing code from the external npm registry during the migration process. - [COMMAND_EXECUTION]: The
ast_codemod.pyandcodemod-example.tsscripts provide patterns for programmatically rewriting local source files. This represents a significant capability for mass file modification on the host system.
Audit Metadata