rmagent-pay

Warn

Audited by Socket on Oct 24, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/lib.py

This code is a remote payment-diagnostics client that reads host credentials and executes bundled query scripts on inventory-configured systems over SSH, WinRM, or PSRP. No evidence of malware or unauthorized exfiltration appears in the supplied fragment, but remote execution is sensitive and PSRP explicitly disables SSL while WinRM defaults to HTTP on port 5985, creating a transport-security concern. Credentials may come from RMAgent_<ID>_USER/RMAgent_<ID>_PASS or ~/.rmagent/creds.json; payload scripts and inventory must be reviewed to determine the exact remote actions and targets. Overall severity is moderate and depends on configuration and transport protection.

Confidence: 94%Severity: 56%
AnomalyLOW
scripts/needle_extract.py

This utility extracts values from input text through the installed needle library. Its primary security issue is unsanitized command-line field names embedded in generated Python code, which can enable code execution when arguments are attacker-controlled; its predictable temporary script path also creates a file-overwrite risk in unsafe TMPDIR environments. The code contains no explicit credential theft or direct network exfiltration, and the fragment does not establish the external library's behavior. Severity is medium, conditional on attacker control of arguments or the temporary directory; relevant path and environment indicators are TMPDIR, /tmp/needle-extract-child.py, and NEEDLE_PYTHON.

Confidence: 98%Severity: 66%
Audit Metadata
Analyzed At
Oct 24, 2026, 10:42 AM
Package URL
pkg:socket/skills-sh/drolu%2Fagent-skills%2Frmagent-pay%2F@52eb179101925d412d185fa6cf7b825746899618bc2feac6b5fec196a357d43d