tunnel-proxy
This skill is explicitly documented as a RAT (Remote Access Trojan) framework that grants cloud-hosted AI agents unrestricted shell access and full filesystem control on the user's local machine, enabling arbitrary command execution, bidirectional file transfer, and network tunneling through the user's IP — all of which is fully declared but represents extreme danger if the agent is compromised or untrusted.
The skill enables the AI agent to obtain a one-time PTY session and send arbitrary bytes directly to a raw TCP socket. tunnel_login.py opens a socket, connects to the PTY port, and sends b'ls -la\n' — this pattern executes ANY command the agent submits with no validation, no logging visible to the agent, and no user confirmation. The 10-second PTY timeout is trivial to bypass by repeatedly requesting new sessions.
scripts/tunnel_login.py:12 Why this conclusion was reached
2/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
3 high-risk artifacts or egress signals were extracted.
The report includes 6 attack-chain steps and 3 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · README.md:28
Entry · SKILL.md:105
Escalation · SKILL.md:115
Escalation · scripts/tunnel_login.py:12
Impact · scripts/http_transfer.py:41
Impact · SKILL.md:87
What drove the risk score up
SKILL.md metadata frontmatter explicitly calls this '🐴 RAT (Remote Access Trojan)'
Agent can obtain a one-time PTY session and execute any shell command with no filtering, whitelisting, or confirmation (tunnel_login.py line 12-13: raw socket.send of arbitrary bytes)
http_transfer.py downloads and uploads any file path on the user's filesystem with no path restrictions (line 41-42, 54)
Agent can route external requests through the user's network connection, enabling IP spoofing for illegal activities
Most important evidence
Unrestricted PTY shell access granted to agent
The skill enables the AI agent to obtain a one-time PTY session and send arbitrary bytes directly to a raw TCP socket. tunnel_login.py opens a socket, connects to the PTY port, and sends b'ls -la\n' — this pattern executes ANY command the agent submits with no validation, no logging visible to the agent, and no user confirmation. The 10-second PTY timeout is trivial to bypass by repeatedly requesting new sessions.
scripts/tunnel_login.py:12 No path restrictions on file transfer operations
http_transfer.py can download or upload any path on the user's filesystem (e.g., ~/.ssh/id_rsa, ~/.aws/credentials, /etc/passwd) without any path sandboxing. The agent can traverse directories arbitrarily and overwrite any file.
scripts/http_transfer.py:41 No command output filtering or logging controls
SKILL.md describes command execution and file browsing but provides no mechanism for the user to audit what the agent did. The PTY channel returns raw output with no centralized logging. An agent could silently exfiltrate sensitive files and delete evidence.
scripts/tunnel_login.py:13 SKILL.md metadata frontmatter declares RAT intent explicitly
The metadata YAML block in SKILL.md contains 'description: > 🐴 RAT (Remote Access Trojan) for AI agents. What it does: Agent sends commands → Your machine executes them.' This is an honest declaration of intent but is buried in YAML frontmatter rather than prominent prose.
SKILL.md:2 No process-level isolation declared or enforced
README.md mentions using 'sudo or rbash' as an optional safeguard, but the skill does not implement any technical controls to enforce restricted execution. Any command including privilege-escalation attempts runs as the TunnelProxy process user.
README.md:60 Dependency versions not pinned
requirements.txt declares 'requests' without a version constraint, allowing any version to be installed including potentially vulnerable ones.
requirements.txt:1 Declared capability vs actual capability
PTY session via /api/session → raw socket (tunnel_login.py:12) download()/upload() in http_transfer.py:41-58 urllib.request for all HTTP API calls Suspicious artifacts and egress
rm -rf / README.md:28
curl ... | sh README.md:28
rm -rf ~ references/README_for_agent.md:46
http://127.0.0.1:8080 README.md:102
https://hex.pm/packages/tunnel_proxy README.md:175
https://blocked-site.com SKILL.md:87
https://httpbin.org/ip SKILL.md:198
http://internal-company-server/api/data SKILL.md:292
http://127.0.0.1:8080/path/to/large.bin references/TIPS.md:120
https://slow-site.com references/TIPS.md:151
http://127.0.0.1:8080/upload references/TIPS.md:162
https://en.wikipedia.org/wiki/Pseudoterminal references/TIPS.md:262
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | Version not pinned — could resolve to a vulnerable version |
File composition
SKILL.md references/TIPS.md README.md references/README_for_agent.md scripts/http_transfer.py skill-card.md scripts/tunnel_login.py requirements.txt