T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:355- Finding
Hardcoded Environment-Specific SSH Deployment Target
- Content
View full analysis
- Remediation
View remediation
:/" ``` 3. Require the agent to obtain explicit user confirmation immediately before any network transfer. The confirmation should display: - The resolved hostname or IP address. - The remote username. - The complete destination path. - The source filename. - Whether an existing destination file may be overwritten. 4. Verify the SSH host key and destination identity before transferring files. 5. Use a dedicated, least-privileged deployment account restricted to the intended strategy directory. 6. Prevent accidental overwrites by checking for the destination file first and creating a backup only after user approval. 7. Keep environment-specific deployment procedures in private, local documentation rather than in a publicly distributed skill. 8. Treat compilation and strategy activation as separate approval-gated operations, particularly where deployment could affect live trading. ]]>
