First, we actually don’t really need that research, indoor growing is a very well known activities that is already performed in many places. There are large indoor farms in northern Europe (cold), in the middle east (hot). Greenhouse, tunnels, aren’t exactly new.
Second, it’s not what those companies were doing, they were trying to create farming factories that are fully automated, their goals was to remove humans, not to find ways to fight climate change.
That won’t prevent typo squatting. This article is a out people wanting to add a dependency to “famousLib” and instead typing “famusLib”.
What probably help more in Go is the lack of a central repo so you actually need to “go get github.com/whoever…” so typo squatting is a bit be a bit more complicated.
On the other hand it will be an easy fix in NPM by simply adding a check to libraries names and reject names that are too similar since it’s centralized.