google-guest-agent: backport golang.org/x/net fix for CVE-2026-78663 to vendor

Backport upstream security fix for CVE-2026-78663 directly into vendor/golang.org/x/net in app-admin/google-guest-agent (preserving go.mod toolchain compatibility with the branch SDK).

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:
- Backported CVE-2026-78663 upstream fix (https://go.dev/cl/847187) to vendor/golang.org/x/net
- go mod verify && go build -mod=vendor ./...

BUG=b/586364581
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: Ib277a17a500186783bf050b4b80c6ee2b7433f23
Reviewed-on: https://cos-review.googlesource.com/c/third_party/google-guest-agent/+/240586
Reviewed-by: Angel Adetula <angeladetula@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
1 file changed
tree: 9dfaf5073ef22a1abf49e7dd630c47bd4794b878
  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