rmagent-ao
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes remote commands over SSH (Linux/macOS) and WinRM (Windows) using the core engine in
scripts/lib.py. These commands are restricted to a specific allowlist of questions (e.g.,agents,agenttrace,agentnet) designed for monitoring agent activity. - [REMOTE_CODE_EXECUTION]: Automated scanners flagged four patterns involving
curlpiped topython3inscripts/questions/linux/agentmodels.sh. Manual analysis confirms these are false positives: the script usespython3 -cwith a hardcoded, static Python snippet to parse JSON data from local model server APIs (Ollama, LM Studio, vLLM). The input data is processed viajson.load(sys.stdin), which is a safe way to handle structured data without executing it. - [DYNAMIC_EXECUTION]: The skill uses local helper models (Needle and Laya) for offline judgment and structured extraction. The scripts
scripts/needle_extract.pyandscripts/needle_drift.pydynamically generate small Python helper scripts in the temporary directory and execute them to interact with the models. These templates are static and use local CLI arguments for configuration. - [DATA_EXFILTRATION]: The skill is designed for remote monitoring, which involves pulling data from witnesses. To prevent exfiltration of sensitive information, the skill implements several safeguards:
scripts/hunt.pyuses a regex (SECRET_RE) to redact common API key formats (like OpenAI'ssk-keys),scripts/lib.pyenforces a 32 KB cap on all responses, and theagentstateprobes are restricted to returning environment variable names rather than their values. - [CREDENTIALS_UNSAFE]: The skill manages credentials for remote hosts.
scripts/lib.pyfollows secure practices by resolving passwords from environment variables, a localcreds.jsonfile (mode 600), or a securescrtstore. A regression test inscripts/test_rev20.pyconfirms that resolved credentials are not leaked into the environment of child processes.
Audit Metadata