Closed
Description
I found a repo at https://github.com/siruspen/logrus
. The repo have very similar name.
For now this repo does nothing evil, but imagine the sitiation:
- Bob want to import
github.com/sirupsen/logrus
(this repo), but he made an typo, he just importgithub.com/siruspen/logrus
(the forked repo). - Currently this two repo doing almost the same thing, so Bob didn't notice he just import the different repo.
- The forked repo add some evil code
- Bob do
go get -u
to do vender version upgrade - Bob get evil code into his projecat
I strongly add WARNING or NOTICE in README.md, warn people there is a similar repo, keep an eye when import logrus.
I just found most of my project imported the forked repo, what a bad day to me.