senhasegura
Warn
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
curlto send voice notifications to a local endpoint (http://localhost:31337/notify) and to communicate with the Senhasegura PAM platform API for authentication and secret retrieval.\n- [EXTERNAL_DOWNLOADS]: The skill downloads an executable binary (dsm-linux-amd64) from the GitHub repositorygithub.com/senhasegura/dsmcliacross several workflow and reference files.\n- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to grant execution permissions to the downloadeddsmbinary and install it into a system path, creating a potential execution vector for third-party code.\n- [PRIVILEGE_ESCALATION]: Instructions include the use ofsudoto move the downloaded CLI binary to/usr/local/bin, requiring the agent to operate with elevated system permissions.\n- [DATA_EXFILTRATION]: The skill retrieves highly sensitive credentials and secrets. By default, thedsm runbcommand writes these secrets to a local file named.runb.varsin the current working directory, which poses a significant risk of data exposure if accidentally committed to version control.\n- [PERSISTENCE]: The skill implements a logging mechanism that appends execution metadata (timestamps, workflow names, and statuses) to a persistent file at~/.claude/PAI/MEMORY/SKILLS/execution.jsonl.\n- [INDIRECT_PROMPT_INJECTION]: The skill presents an indirect prompt injection surface by ingesting data from the external Senhasegura platform.\n - Ingestion points: Credential metadata, SSH keys, and DSM secrets are fetched from Senhasegura API endpoints and injected into the environment.\n
- Boundary markers: The skill does not define explicit prompt delimiters to separate platform-provided data from agent instructions.\n
- Capability inventory: The agent possesses capabilities for shell command execution (
curl,dsm), file system modification, and outbound network access.\n - Sanitization: While the provided clients utilize standard parsing, retrieved secrets are directly sourced into the shell environment without specialized sanitization for instruction injection.
Audit Metadata