Found a group of malicious Go projects injected with trojan

I accidentally discovered malicious programs in the Go ecosystem that impersonate legitimate tools such as the linter ldez/usetesting, the HCL editor go.mercari.io/hcledit, the official MailerSend Go SDK mailersend/mailersend-go, and many more. These programs are not very popular but are still used by some developers. By the time I wrote this article, I had reported the malicious repositories to GitHub support, and most of them have been deleted.

[Read More]

How to contribute to Go language

In this blog post, I will show that contributing to Go language repositories is as simple as contributing to any other open-source repo. This will be a step-by-step guide on how to contribute to Go language repositories. For the example, I will use the main Go repo go.googlesource.com/go.

[Read More]

Apple M1 Chip, go1.15: No Binary Release of Go for Darwin/Arm64

If you are using an Apple Silicon M1 chip, then you may encounter an issue when downloading Go versions 1.15 or earlier via dl.

Here are the solution:

$ GOARCH=amd64; go run golang.org/dl/go1.15@latest download
$ go install golang.org/dl/go1.15@latest
$ go1.15 version
go version go1.15 darwin/amd64
[Read More]
go  arm64  macos 

Importing Commit History from GitLab to GitHub

Situation

On an interview people judge developers by their GitHub. Recently, I saw the tweet with picture showing GitHub contribution with one commit activity and the caption:

“Please don’t apply for a Senior dev position if your GitHub looks like this…”

[Read More]