rmagent-redteam
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell commands via
subprocess.runto coordinate the drill and uses remote PowerShell scripts via WinRM to stage and clean artifacts on target Windows servers. - [EXTERNAL_DOWNLOADS]: Documentation instructs the user to install legitimate third-party dependencies (
pywinrm,pyyaml) and specialized local inference tools (laya,cactus-needle). - [DATA_EXFILTRATION]: The skill sends detection summaries to the Telegram API (
api.telegram.org). This is an intended reporting feature using a well-known service; the skill documentation and code explicitly avoid sending sensitive data such as credentials or full event logs. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from remote Windows servers (witness fragments) and processes them using local, offline models (
Needle). It implements sanitization guards, such as length limits and token filtering, to mitigate potential injection risks from malicious log content. - [DYNAMIC_EXECUTION]: The
needle_extract.pyandneedle_drift.pyscripts dynamically generate small Python script templates in the temporary directory to interface with local inference models. This is a local execution pattern used for internal tool orchestration. - [PRIVILEGE_ESCALATION]: As part of its core red-teaming functionality, the skill creates a local administrator and scheduled tasks running as SYSTEM. These actions are prefixed with
RMAgentDrill_, require explicit user confirmation via the--confirmflag, and are designed to be reversible. - [PERSISTENCE]: The skill stages persistence mechanisms (Registry Run keys, services, and IFEO hijacks) for testing purposes. These artifacts are clearly documented, execute benign payloads, and are removed during the automated cleanup phase.
Audit Metadata