google-guest-agent: upgrade golang.org/x/net to v0.60.0 to fix CVE-2026-78663

Upgrade golang.org/x/net dependency to v0.60.0 and re-vendor Go dependencies via `go mod vendor` to resolve CVE-2026-78663 in app-admin/google-guest-agent.

Provenance:
- CVE-2026-78663: Go module golang.org/x/net fixed in v0.60.0, fix commit go.dev/cl/847187 (https://nvd.nist.gov/vuln/detail/CVE-2026-78663)

Build adjustments:
- go get golang.org/x/net@v0.60.0
- go mod tidy && go mod vendor && go mod verify

BUG=b/587571666
TEST=go mod verify; CGO_ENABLED=0 go build -mod=vendor ./cmd/...
RELEASE_NOTE=Fixed CVE-2026-78663 in google-guest-agent.

cos-patch: security-high
Change-Id: Icad6ff29c7054a3ae30b112a71294c6719e39c72
Reviewed-on: https://cos-review.googlesource.com/c/third_party/google-guest-agent/+/241926
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Angel Adetula <angeladetula@google.com>
126 files changed
tree: d8213dbf12f4b77d25109caefa5cbff78cb73f16
  1. build/
  2. cmd/
  3. internal/
  4. pkg/
  5. vendor/
  6. CONTRIBUTING.md
  7. go.mod
  8. go.sum
  9. LICENSE
  10. Makefile
  11. README.md
  12. version
README.md

Public Cloud Docs

Guest Agent for Google Compute Engine.

This repository contains the source code and packaging artifacts for the Google guest agent. These components are installed on Windows and Linux GCE VMs in order to enable GCE platform features.

Building Guest Agent

In the codebase there's a GNU Make based build system with targets to build and test the guest agent.

In order to build both the guest-agent and core_plugins, run

make

To build only one or the other, run the respective make target:

make build cmd/google_guest_agent/google_guest_agent
make build cmd/core_plugin/core_plugin

To run all the go tests, run:

make test

For more targets and info about the build system run:

make help