Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore
All short reads
Short readDeveloper tooling4 min read

Bare Git Repositories and Python Install Hooks: Candidate VShell Ports

By
Odin by Brandefense
Published
19 November 2026
Reading time
4 min read
Short version of the full report · 20 min readBare Git Repositories and Python Install Hooks: Candidate VShell Ports

Key takeaways

  • Two independent China cloud staging servers recorded on 13–25 November 2026 held 328 entries (326 sized files = 35.74 MB, 2 unsized, and 76 distinct SHA-256s).
  • The 19 shared SHA-256 digests are standard Git initialization files (hooks/*.sample, HEAD, description, exclude, packs, and empty blob), and 0 custom operator script hashes link the two hosts.
  • Workbench A (:8888) paired /evil-node and /evil-node-bare (50 entries = 53,865 B), staging install.py (191 B) pointing to :9999/slw beside a candidate VShell port.
  • Workbench B (:8088) held 278 entries (255 live files plus 23 earlier objects), pairing five exp repos with boot2.py, agent2.py, and candidate VShell ports.
  • Enforce pip --only-binary=:all: and --require-hashes, upgrade GitPython to 3.1.30+ (CVE-2022-24439), audit Git clean/smudge filters, and block high-port egress.

Two independent China cloud servers staged static-HTTP bare Git repositories, Python install.py wrappers, and high-port stage-two callback scripts alongside candidate VShell ports. Odin by Brandefense analyzed all 328 deduplicated directory entries across both servers recorded on 13–25 November 2026.

The 19 shared SHA-256 digests are standard Git initialization files (hooks/*.sample, description, HEAD, exclude, packs, and empty blob), and 0 custom operator script hashes link the two hosts. Three hundred twenty-six sized files total 35,738,208 bytes (35.74 MB), two entries omit byte sizes, and 76 distinct SHA-256 digests appear overall. Both server IPv4 addresses, one external :8088/cmd host, and all file digests are withheld.

How were the 328 staged entries split across the two independent servers?

Comparing 31 unique digests on Workbench A (AS37963, TCP 8888) and 64 on Workbench B (AS45090, TCP 8088) yields 76 distinct digests (31 + 64 - 19 = 76). Both hosts ran SimpleHTTP/0.6 Python/3.12.3 and are assessed consistently as independent adversary staging servers. Security teams can apply external attack surface management to spot open SimpleHTTP repository ports and cyber threat intelligence to turn staged loader mechanics into portable detections.

Figure 1: Two independent China cloud servers stage bare Git repos and Python loaders
Figure 1: Two independent China cloud servers stage bare Git repos and Python loaders

On 25 November 2026, Workbench A (13–25 November 2026) exposed 50 live entries (49 sized = 53,865 bytes and 1 unsized __init__.py) across 26 directories. On 20 November 2026, Workbench B's TCP 8088 inventory listed 255 live files across 133 directories. Of those, 254 sized files total 35,681,690 bytes; README.md has no listed size. Adding 23 loose .git/objects/* files (2,653 bytes) from 13 November 2026 brings Workbench B to 278 deduplicated entries (35,684,343 bytes).

Functional cluster across both hostsEntriesSized bytesKey staged files
Git Hook Templates (/hooks/*.sample)168309,85214 default .sample hook files across 2 WB-A and 10 WB-B repos.
Git Refs, Config, Index & Metadata939,8726 bare info/refs (59 B each), 6 packed-refs (105 B each), HEAD, config, /cmd (177 B).
Compressed Git Objects (/objects/*)565,6865 WB-A (375 B) and 51 WB-B (5,311 B) compressed Git object and pack files.
Python Install Wrappers & Agents104,7996 install.py wrappers (1,416 B), unsized __init__.py, boot.py, boot2.py, agent2.py.
HTTP Directory Access Log (http.log)135,407,999WB-B root /http.log (35.41 MB on TCP 8088, 99.08% of byte volume).
Figure 5: Git plumbing forms 96.65% of entries around 10 staged Python loader files
Figure 5: Git plumbing forms 96.65% of entries around 10 staged Python loader files

How do static Python HTTP servers deliver bare Git repositories and install hooks?

Python's built-in http.server serves static files only and cannot run Git's Smart HTTP CGI handler. All six bare repositories (/evil-node-bare and /exp1.git–/exp5.git) carry 59-byte info/refs and 105-byte packed-refs files. git update-server-info generates info/refs and objects/info/packs; git pack-refs generates packed-refs. None of the six working trees contain those two files.

  1. Plugin checkouts and pip VCS source installs (T1195.001). Workbench A pairs /evil-node/__init__.py with /evil-node/install.py (191 B), matching plugin and custom-node installers that clone a repo URL and run install.py. A pip VCS install can clone the remote repo and invoke PEP 517 or setup.py hooks. --require-hashes rejects VCS URLs; --only-binary=:all: alone does not stop the clone. Inside /evil-node/install.py, the script references :9999/slw beside a co-hosted candidate VShell port on TCP 9999 and TCP 80 nginx (HTTP 500).
  2. GitPython CVE-2022-24439 and Git clean/smudge filters. Automated Python tools running GitPython prior to 3.1.30 are vulnerable to CVE-2022-24439 (CVSS 9.8), where unvalidated clone URLs inject --upload-pack= or -c flags. All 168 /hooks/*.sample files in our dataset are inactive, and git clone never copies server hooks. A tracked .gitattributes file only sets a filter=<name> label; running shell code on checkout requires filter.<name>.clean, filter.<name>.smudge, or core.fsmonitor in Git config.

Why did Workbench B separate repo wrappers from root Python loaders?

In its 13–20 November 2026 directory inventory on TCP 8088, Workbench B pairs five working folders (/exp1–/exp5) with five bare Git repositories (/exp1.git–/exp5.git). Those ten folders account for 273 entries (272,784 bytes). Four folders hold 208-byte install.py scripts, while /exp3/install.py grows to 393 bytes beside an unsized README.md.

Meanwhile, Workbench B's HTTP root stages five files totaling 35,411,559 bytes (T1059.006, T1571). They comprise /boot.py (1,248 B), /boot2.py (1,367 B), /agent2.py (768 B), /cmd (177 B), and /http.log (35,407,999 B). Keeping install.py tiny lets operators update /boot2.py, /agent2.py, or /cmd in the web root without changing Git commits.

Workbench B scripts reference :8088/cb/ and an external :8088/cmd host (IPv4 withheld). Separate service observations on 23–24 November 2026 recorded candidate VShell listeners on sibling ports TCP 8084 and TCP 8085. Large /http.log byte counts (35.41 MB) reflect web port traffic and do not show downstream compromises.

What should engineering, CI/CD, and SOC teams do first?

Because zero custom script hashes link the two servers, teams should block supply chain attack paths across package managers, Git clients, and network egress:

  1. Enforce binary wheels and hash checks in pip. Set --only-binary=:all: and --require-hashes on CI runners and servers so pip rejects git+http:// source checkouts (Sigma Rule 1). Turn off automatic install.py runs in plugin managers (Sigma Rule 3).
  2. Patch GitPython and audit Git filter settings. Upgrade GitPython to 3.1.30 or newer (CVE-2022-24439) and lock git config --system protocol.allow. Alert on --upload-pack=, .smudge, .clean, or core.fsmonitor flags (Sigma Rule 2 and YARA Rule 3).
  3. Watch bare Git HTTP fetches and lock high-port egress. Deploy Suricata sid:9565001-9565007 behind egress proxies to catch raw-IP /info/refs clones, :9999/slw, and :8088 loader paths. Block direct outbound workload traffic to raw IPv4 hosts and ports 8084, 8085, 8088, 8888, and 9999.

The full report's Detection rules tab includes Suricata (sid:9565001-9565007), Microsoft Sentinel KQL, Sigma, and YARA rules. The full report details both workbenches, Git transport mechanics, and rule caveats.

What is…?

Short explanations of the tools and families named in this study.

All explanations

Frequently asked questions

How were the 328 staged entries split across the two independent servers?

Comparing 31 unique digests on Workbench A (AS37963, TCP 8888) and 64 on Workbench B (AS45090, TCP 8088) yields 76 distinct digests (31 + 64 - 19 = 76). Both hosts ran SimpleHTTP/0.6 Python/3.12.3 and are assessed consistently as independent adversary staging servers. Security teams can apply external attack surface management to spot open SimpleHTTP repository ports and cyber threat intelligence to turn staged loader mechanics into portable detections.

How do static Python HTTP servers deliver bare Git repositories and install hooks?

Python's built-in http.server serves static files only and cannot run Git's Smart HTTP CGI handler. All six bare repositories (/evil-node-bare and /exp1.git–/exp5.git) carry 59-byte info/refs and 105-byte packed-refs files. git update-server-info generates info/refs and objects/info/packs; git pack-refs generates packed-refs. None of the six working trees contain those two files.

Why did Workbench B separate repo wrappers from root Python loaders?

In its 13–20 November 2026 directory inventory on TCP 8088, Workbench B pairs five working folders (/exp1–/exp5) with five bare Git repositories (/exp1.git–/exp5.git). Those ten folders account for 273 entries (272,784 bytes). Four folders hold 208-byte install.py scripts, while /exp3/install.py grows to 393 bytes beside an unsized README.md.

What should engineering, CI/CD, and SOC teams do first?

Because zero custom script hashes link the two servers, teams should block supply chain attack paths across package managers, Git clients, and network egress: The Detection rules tab includes Suricata (sid:9565001-9565007), Microsoft Sentinel KQL, Sigma, and YARA rules. The full report details both workbenches, Git transport mechanics, and rule caveats.

Read the full report · 20 min read

Bare Git Repositories and Python Install Hooks: Candidate VShell Ports

Odin by Brandefense analyzed 328 staged directory entries across two independent China cloud servers recorded on 13–25 November 2026. Nineteen shared SHA-256 digests are standard Git initialization files, and zero ...

Full report and detection rules