human-management
Warn
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/manage-humans-registry.shis vulnerable to JQ injection in theaction_updatefunction. It constructs ajqfilter string by directly interpolating user-controlled variables (NAME,LEVEL,TEAMS,WORKERS) without sanitization. This allows an attacker to manipulate the structure and contents of thehumans-registry.jsonfile through crafted inputs. - [CREDENTIALS_UNSAFE]: The
scripts/create-human.shscript generates a random password for new users and outputs it in plain text within the final JSON result block. This causes the credential to be recorded in the agent's conversation history and system logs, making it accessible to anyone with access to those logs. - [COMMAND_EXECUTION]: The email notification logic in
scripts/create-human.shis potentially vulnerable to mail header injection. User-provided fields likeDISPLAY_NAMEare interpolated into the email body and passed tomsmtpviaecho -e, which could allow an attacker to inject additional SMTP headers such asBccorCcif the input contains newline characters. - [CREDENTIALS_UNSAFE]: The skill accesses and modifies sensitive system configuration files such as
/data/hiclaw-secrets.envand agentopenclaw.jsonfiles. While these operations are part of the skill's administrative functionality, they represent a significant attack surface involving credentials and configuration secrets.
Audit Metadata