VBOT Technologies Pvt Ltd Hyderabad, IN Build 2026-12-01 12:43 UTC

← Blog · · 7 min read

Hardening a five-machine engineering fleet in a week

A five-day security review of our own engineering and research machines: leaked tokens in shell history, phantom packages in an AI agent's configuration, file sharing open across a private network, and what we changed.

Between 27 November and 1 December 2026 we reviewed the security of our own engineering and research fleet: a developer laptop, two cloud Linux servers and the Windows workstations we use for data processing. They are connected by a private mesh network and run unattended jobs around the clock.

We started from attacks reported in the weeks before: developer tokens stolen and used to push malicious GitHub workflows, package worms that harvest build credentials, and AI coding agents hijacked through their configuration. Then we checked whether each one could reach us.

Method

  • Read first, change second. Every check began read-only. Each change was made one at a time, backed up, and verified afterwards: a login still worked, a service still answered, a port was closed from the other side.
  • Fixed by us, or left to the owner. Some fixes need the machine owner’s password or a decision only they can make. We list those as open rather than claiming them.
  • Tools. Most checks became part of fleetdrift, our open-source, agentless posture tool, so they now run every two hours instead of once.

What we found

# Finding Before After Status
1 Tokens in shell history Two GitHub personal access tokens sat in shell history, pasted into a git remote command History lines removed; both tokens queued for revocation at GitHub Owner action: revoke
2 Phantom packages in an AI agent’s config Three MCP servers were set to launch npm packages that do not exist Entries removed; remaining single-maintainer packages pinned to exact versions Fixed
3 File sharing open across the private network Windows file sharing and RPC (ports 135, 139, 445) reachable from every device on the mesh network Blocked on the mesh interface of each Windows machine; SSH unaffected Fixed
4 Out-of-support Windows build One workstation on a Windows 11 release whose security servicing had ended Updates pinned to the current release and the upgrade staged Staged
5 Eight-hour screen-lock delay The laptop asked for no password for 8 hours after sleep Change to “require password immediately” Owner action
6 World-readable token database A local application database holding API session tokens was readable by every user (644) Restricted to the owner (600) Fixed
7 Fallback SSH keys without passphrases Keys used when the hardware-backed key is unavailable had no passphrase Random passphrases stored in the system keychain; fallback logins verified Fixed
8 No signal if SSH files were stolen Nothing would tell us if someone went through the fleet’s SSH keys Canary SSH keys on three machines alert the owner’s phone on any use Fixed
9 Classical SSH key exchange SSH sessions used classical key exchange only Linux servers prefer hybrid post-quantum key exchange (ML-KEM and NTRU Prime with X25519) Fixed on Linux

Three findings worth explaining

Phantom packages (finding 2)

AI coding agents load tools through MCP servers, and many are launched with a command that downloads and runs the named npm package on every start. Three of ours named packages that did not exist, so they failed quietly. That is not harmless. The launcher runs whatever is published under the name, so an empty name is an open slot: whoever publishes it first gets code execution on the developer machine.

We removed the three entries and pinned every single-maintainer package to an exact version, so a hijacked new release no longer runs automatically. fleetdrift now inventories MCP servers across six AI tools and flags unpinned launches and names missing from their registry.

Canary keys (finding 8)

A canary key is a credential that exists only to be stolen. We placed a decoy SSH key, with a matching configuration entry, on three machines. The server accepts it only to run an alert: it sends an urgent notification naming the source address, then closes the connection with no shell and no forwarding. Nothing legitimate uses the key, so any use means someone is reading the fleet’s SSH files.

Post-quantum SSH (finding 9)

Recorded traffic can be decrypted later if a large quantum computer is ever built. The Linux servers now offer hybrid key exchange first, mlkem768x25519 or sntrup761x25519, with classical options kept as a fallback. A hybrid is never weaker than the classical exchange alone.

The Windows machines stay classical for now: the OpenSSH build that ships with Windows has no post-quantum key exchange.

Also changed

  • Password logins to SSH disabled on the Windows machines; keys only.
  • Each authorised key pinned to the address it is used from.
  • The fleet’s only RSA SSH key replaced with Ed25519.
  • An unused remote-desktop tool uninstalled.
  • Pending security updates applied on a Linux server, which then rebooted on a timer.

Limits

  • This was a review of our own machines, not a penetration test.
  • Four items depend on the owner: revoking the leaked tokens, the screen-lock setting, confirming the Windows upgrade completed, and a firewall policy for the mesh network drafted but not yet applied.
  • No offline backup with a tested restore exists yet. That is the next piece of work.

If you would like the same review of your team’s machines, request a briefing.

▌ Engineering notes

Want this kind of work done on your systems? Request a briefing.