cos-extensions is packaged as a Golang program. The source for the package is present in https://cos.googlesource.com/cos/cos-extensions/