rmagent-pay
Warn
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill executes diagnostic scripts on remote Windows and Linux servers using SSH, WinRM, and PSRP. While this is the intended purpose, it involves high-privilege operations.
- Evidence:
_ask_ssh,_ask_psrp, and_ask_winrminscripts/lib.pyfacilitate remote command execution. - [DYNAMIC_EXECUTION]: The skill generates and executes Python scripts in the system's temporary directory during its operation.
- Evidence:
scripts/needle_extract.pyandscripts/needle_drift.pycreate files likeneedle-extract-child.pyin/tmpand execute them viasubprocess.run. - In
needle_extract.py, user-provided field names are interpolated into the generated script's function parameters, which could allow for code injection if field names contain malicious characters. - [COMMAND_EXECUTION]: Local shell commands are invoked to manage network connections and external tools.
- Evidence: Frequent use of
subprocess.runinscripts/lib.py,scripts/needle_extract.py,scripts/needle_drift.py, andscripts/laya_decide.pyto callsshand other Python interpreters. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted transaction logs and passes them directly to local LLM models (Needle and Laya).
- Ingestion points: Reads external log fragments from standard input in
scripts/needle_extract.pyandscripts/needle_drift.py. - Boundary markers: Uses simple text labels like
FRAGMENT:to delimit input. - Capability inventory: The models extract data used for automated judgments about transaction failures (
scripts/laya_decide.py). - Sanitization: No filtering or sanitization of the log content is performed before it is included in the model prompt.
Audit Metadata