rmagent-fr
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/trace_merge.pyperforms remote code execution by sending a Python script string to remote hosts and executing it viassh <remote> python3 -c <script>. This is used to aggregate data from multiple jump hosts in distributed environments. - [COMMAND_EXECUTION]: Multiple scripts execute local shell commands and binaries using
subprocess.run: scripts/causal.pycalls thedotutility for Graphviz rendering.scripts/notify.pyexecutessecurity(macOS keychain) and thescrtsecret management tool to retrieve credentials.scripts/needle_extract.pyandscripts/needle_drift.pydynamically locate and execute Python interpreters to run internal helper scripts.scripts/laya_decide.pyexecutes a local Laya helper binary.- [DATA_EXFILTRATION]: The skill performs network operations to external and internal endpoints:
scripts/notify.pysends alert summaries to the Telegram API (api.telegram.org).scripts/otel_emit.pytransmits telemetry spans to a configurable OpenTelemetry gateway (defaulting tolocalhost:17888).- [DYNAMIC_EXECUTION]: The skill uses dynamic module loading and code execution:
scripts/lib.pyandscripts/_test_imports.pyuseimportlib.utilto dynamically load and execute scripts from other skill directories (e.g.,rmagent-core,rmagent-so).scripts/trace_merge.pyexecutes hardcoded Python code blocks on remote systems.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data, such as symptom reports and witness fragments (logs), using local models (
LayaandNeedle) for triage and field extraction. The results of these judgments are recorded in the reasoning chain (trajectory), which may influence subsequent agent actions.
Audit Metadata