tunnel-proxy
工具声明与实现基本一致,远程Shell执行功能已声明但需警惕滥用风险,无凭证收割或隐蔽数据外泄
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
3 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
2 dependency or supply-chain issues need attention.
What drove the risk score up
SKILL.md明确声明grants remote shell access
agent可通过PTY在用户机器上执行任意Shell命令,无命令白名单
pull_file/push_file可访问用户文件系统任意路径
run_remote执行任意命令包括pip install
requirements未声明版本锁定
功能声明完整,无阴影功能、无凭证收割
Most important evidence
PtySession可执行任意Shell命令
PTYSession.run()方法将任意字符串作为命令通过TCP socket发送到远端执行,无命令白名单或权限控制。agent可执行任意命令包括:数据窃取、持久化植入、横向移动
scripts/pty_exec.py:76 文件传输无路径限制
pull_file()可下载用户系统任意路径文件,push_file()可上传任意文件到用户系统。攻击者可通过隧道传输敏感文件(如~/.ssh/id_rsa)
scripts/tunnel_ops.py:74 pexpect依赖无版本锁定
requirements未声明,pip install pexpect无版本控制,存在依赖替换风险
SKILL.md:9 默认TunnelProxy地址指向外部服务
HOST默认指向frp.freefrp.net,agent可能连接到非用户拥有的TunnelProxy服务
scripts/tunnel_ops.py:12 Declared capability vs actual capability
fetch_url方法调用run_remote执行curl run_remote通过PTYSession执行任意命令:tunnel_ops.py:31 pull_file/push_file通过HTTP传输文件:tunnel_ops.py:74,86 — Suspicious artifacts and egress
https://httpbin.org/ip README.md:50
https://arxiv.org/abs/2301.00001 README.md:71
https://pypi.org⟨/parameter⟩ scripts/pty_exec.py:7
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | 无版本锁定 |
| pexpect | * | pip | No | 无版本锁定 |
File composition
scripts/pty_exec.py scripts/tunnel_ops.py README.md SKILL.md