aliyun-swas-manage

Warn

Audited by Socket on Oct 15, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/fix_ssh_access.py

This is an administrative utility that uses Alibaba Cloud remote command execution to install an SSH public key and modify SSH access settings on a specified instance. It does not show credential theft, unrelated network activity, or other clear malware behavior, but it enables persistent remote access and unsafely interpolates --user, --pubkey contents, and --port into a privileged shell script, allowing command injection if those inputs are attacker-controlled. The API endpoint is swas.<region>[.]aliyuncs[.]com, and credentials may be read from the listed Alibaba Cloud access-key and security-token environment variables. Severity is a security warning; the optional port block also appears incorrectly ordered and may cause the script to fail.

Confidence: 98%Severity: 68%
Audit Metadata
Analyzed At
Oct 15, 2026, 08:20 AM
Package URL
pkg:socket/skills-sh/cinience%2Falicloud-skills%2Faliyun-swas-manage%2F@7ef0d2ae5a4970ceec0c739d4dbbc972635405390bc3390d559405e26a7a72a3