twinmind-upgrade-migration
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_CONTEXT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests configuration data including settings, integrations, and webhooks from the TwinMind API. If these external configurations contain malicious instructions, they could influence agent behavior during the migration process.
- Ingestion points: TwinMind API endpoints (
/settings,/integrations,/webhooks) accessed inscripts/export-config.tsandscripts/import-config.ts. - Boundary markers: No explicit delimiters or instructions to ignore embedded content are present in the scripts.
- Capability inventory: The skill utilizes
Bash(curl:*),Write, andEdittools, allowing for network and filesystem operations. - Sanitization: No sanitization or validation of the ingested webhook URLs or integration configurations is performed before writing to disk or sending back to the API.
- [DYNAMIC_CONTEXT_INJECTION]: The skill uses the exclamation-backtick syntax to execute shell commands at load time to gather environment metadata.
- Evidence:
!npm list 2>/dev/null | head -20and!pip freeze 2>/dev/null | head -20are executed inSKILL.mdto display the current environment state. - Context: These discovery commands are used for environment auditing and do not perform network exfiltration or access sensitive user files.
- [DYNAMIC_EXECUTION]: The skill generates and instructs the agent to run TypeScript scripts that perform file operations and API interactions.
- Evidence: Scripts such as
scripts/export-config.tsandscripts/import-config.tsusefs.writeFileSyncandfs.readFileSyncto manage local configuration backups. - [COMMAND_EXECUTION]: The skill executes shell commands to interact with cloud infrastructure and external APIs.
- Evidence: The skill uses
aws secretsmanager update-secretto manage credentials andcurlto verify API connectivity toapi.twinmind.com.
Audit Metadata