kasm-admin
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of high-privilege shell commands to manage the KASM environment.
- Uses
sudo docker exec kasm_db psqlacross multiple files (SKILL.md,references/bulk-operations.md,references/workspace-management.md) to directly modify the system database. - Employs
ssh root@$SERVERinreferences/capacity-planning.mdfor system-level monitoring (e.g.,free -h,docker stats). - Uses
rm -rfandchowninreferences/backup-operations.mdfor filesystem management. - [PRIVILEGE_ESCALATION]: The skill provides templates and instructions to bypass security controls within workspaces.
- Instructions in
references/bulk-operations.mdandreferences/config-templates.mdshow how to injectNOPASSWD: ALLinto the/etc/sudoers.d/kasm-userfile inside containers. - Enables
privileged: truemode for Docker-in-Docker workloads inreferences/config-templates.md. - [EXTERNAL_DOWNLOADS]: The skill references the use of external tools for monitoring and data synchronization.
- Recommends the use of
sentinelctlfor fleet monitoring inSKILL.mdandreferences/capacity-planning.md. - Uses
rclonefor synchronizing profile data to external providers like Backblaze B2 inreferences/backup-operations.md. - [DYNAMIC_EXECUTION]: The skill facilitates the creation and execution of dynamic scripts.
- Uses the
docker_exec_configandfirst_launchfields to store and execute shell command chains (e.g.,bash -c "...") when containers are started, as seen inreferences/config-templates.mdandreferences/bulk-operations.md. - [INDIRECT_PROMPT_INJECTION]: The skill has a significant attack surface for indirect prompt injection due to its operational role.
- Ingestion points: Ingests data from KASM API endpoints (
get_kasms,get_images) and PostgreSQL database queries. - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands in the retrieved data are present.
- Capability inventory: Powerful capabilities including
sudo docker exec,ssh, andcurlare available across all management scripts. - Sanitization: There is no evidence of input validation or sanitization for data retrieved from external API or DB sources before it is processed or used in further commands.
Audit Metadata