aliyun-sub2api-ops
Facilitates operations on Aliyun ECS servers and Sub2API deployments, ensuring efficient management and troubleshooting.
Install this skill
Security score
The aliyun-sub2api-ops skill was audited on Jun 10, 2026 and we found 31 security issues across 3 threat categories, including 5 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
Curl to non-GitHub URL
| 31 | ssh [email protected] 'curl -I --max-time 20 http://127.0.0.1:8080/login' |
Curl to non-GitHub URL
| 32 | ssh [email protected] 'curl -s --max-time 20 http://127.0.0.1:8080/api/v1/settings/public' |
Curl to non-GitHub URL
| 58 | ssh [email protected] 'curl -s --max-time 20 http://127.0.0.1:8080/api/v1/settings/public; echo' |
Curl to non-GitHub URL
| 59 | ssh [email protected] 'curl -I --max-time 20 http://127.0.0.1:8080/login' |
Curl to non-GitHub URL
| 111 | ssh [email protected] 'curl -I --max-time 20 --proxy http://127.0.0.1:10809 https://registry-1.docker.io/v2/' |
Curl to non-GitHub URL
| 112 | ssh [email protected] 'docker exec sub2api_core sh -lc "curl -I --max-time 20 --proxy http://172.19.0.1:10809 https://www.google.com | sed -n '\''1,12p'\''"' |
Curl to non-GitHub URL
| 148 | - Docker pull timeout: verify `xray.service`, Docker proxy environment, and `curl --proxy http://127.0.0.1:10809`. |
Access to root home directory
| 11 | - Project directory: `/root/ResearchWang13` |
Access to root home directory
| 12 | - Compose file: `/root/ResearchWang13/docker-compose.yml` |
Access to root home directory
| 13 | - Env file: `/root/ResearchWang13/.env` |
Access to root home directory
| 23 | Never put database passwords, Redis passwords, VLESS links, or API keys into public files or Git commits. Read secrets from `/root/ResearchWang13/.env` on the server. |
Access to root home directory
| 30 | ssh [email protected] 'cd /root/ResearchWang13 && docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}"' |
Access to root home directory
| 50 | ssh [email protected] 'cd /root/ResearchWang13 && cp docker-compose.yml docker-compose.yml.bak_$(date +%Y%m%d_%H%M%S) && sed -i "s#^[[:space:]]*image: weishaw/sub2api:.*# image: weishaw/sub2api:0 |
Access to root home directory
| 51 | ssh [email protected] 'docker rm -f sub2api_core >/dev/null 2>&1 || true; cd /root/ResearchWang13 && docker-compose up -d' |
Access to root home directory
| 133 | ssh [email protected] 'cd /root/ResearchWang13; DBH=$(awk -F= "/^DATABASE_HOST=/{print \$2}" .env | tr -d "\r"); DBP=$(awk -F= "/^DATABASE_PORT=/{print \$2}" .env | tr -d "\r"); DBU=$(awk -F= "/^DAT |
Access to root home directory
| 139 | ssh [email protected] 'cd /root/ResearchWang13; DBH=$(awk -F= "/^DATABASE_HOST=/{print \$2}" .env | tr -d "\r"); DBP=$(awk -F= "/^DATABASE_PORT=/{print \$2}" .env | tr -d "\r"); DBU=$(awk -F= "/^DAT |
Access to .env file
| 13 | - Env file: `/root/ResearchWang13/.env` |
Access to .env file
| 23 | Never put database passwords, Redis passwords, VLESS links, or API keys into public files or Git commits. Read secrets from `/root/ResearchWang13/.env` on the server. |
Access to .env file
| 87 | - .env |
Access to .env file
| 93 | The Redis entries in `.env` should be: |
Access to .env file
| 130 | Build connection values from `.env` without sourcing the file, because it may have Windows CRLF: |
Access to .env file
| 133 | ssh [email protected] 'cd /root/ResearchWang13; DBH=$(awk -F= "/^DATABASE_HOST=/{print \$2}" .env | tr -d "\r"); DBP=$(awk -F= "/^DATABASE_PORT=/{print \$2}" .env | tr -d "\r"); DBU=$(awk -F= "/^DAT |
Access to .env file
| 139 | ssh [email protected] 'cd /root/ResearchWang13; DBH=$(awk -F= "/^DATABASE_HOST=/{print \$2}" .env | tr -d "\r"); DBP=$(awk -F= "/^DATABASE_PORT=/{print \$2}" .env | tr -d "\r"); DBU=$(awk -F= "/^DAT |
External URL reference
| 16 | - App URL: `http://47.106.198.133:8080` |
External URL reference
| 31 | ssh [email protected] 'curl -I --max-time 20 http://127.0.0.1:8080/login' |
External URL reference
| 32 | ssh [email protected] 'curl -s --max-time 20 http://127.0.0.1:8080/api/v1/settings/public' |
External URL reference
| 58 | ssh [email protected] 'curl -s --max-time 20 http://127.0.0.1:8080/api/v1/settings/public; echo' |
External URL reference
| 59 | ssh [email protected] 'curl -I --max-time 20 http://127.0.0.1:8080/login' |
External URL reference
| 111 | ssh [email protected] 'curl -I --max-time 20 --proxy http://127.0.0.1:10809 https://registry-1.docker.io/v2/' |
External URL reference
| 112 | ssh [email protected] 'docker exec sub2api_core sh -lc "curl -I --max-time 20 --proxy http://172.19.0.1:10809 https://www.google.com | sed -n '\''1,12p'\''"' |
External URL reference
| 148 | - Docker pull timeout: verify `xray.service`, Docker proxy environment, and `curl --proxy http://127.0.0.1:10809`. |