Draft: Stopping bad guys from using my open source project (feedback wanted)

3 min read Original article ↗

Frustratingly, this was a semi-private draft that got posted to Hacker News before I could make edits. I’m leaving the post up as is because it’s already been discussed in this format. But it has a lot of issues.

In short: I maintain a sorta-popular open source package, and I want to prevent big corporations and “bad guys” from using it. I want feedback on how to do this.

Open source and exploitation

I’ve been learning more about open source sustainability. More accurately, I’ve been learning more about how open source is exploited by large companies.

Some recent links that have influenced my view:

Overall, these ideas lead me to believe that the open source movement needs to see itself as in a larger social context. Can we shift the balance of power away from massive companies and their massive harms? Can we prevent Nazis from using our software? Should we even try?

What can I do to help?

I maintain a sorta-popular open source package. I say popular because it had over 200 million downloads in 2025 which I believe puts it in the top 0.1% of downloads on npm. I say sorta-popular because it’s not very well-known; it sits quietly in thousands (millions?) of projects, with most developers not thinking much about it. I’m not as powerful as Linus Torvalds at the helm of Linux, but I’m also not totally unknown.

But what can I do to help?

I know my goal: shift the default in open source from “it’s free for anyone to use” to “please don’t use this if you’re evil”. I don’t just want to do this for my little project; I want to slowly change the discourse. I’m not sure how to do that effectively, if it’s even possible.

Anyone have any ideas? If you maintained a sorta-popular open source package, what would you do to help?

Some specific questions I have:

  • How can I bring more attention to this issue given the relative popularity of my project? Do I write a blog post? A callout in the documentation?
  • Should I change my project’s license? It currently uses the permissive MIT License. I remain unconvinced at the societal value of “freedom to run the program as you wish, for any purpose”, often called freedom 0. I don’t want to donate my work to the bad guys!
  • Would collective action be more powerful? If so, would other maintainers participate?
  • Should I “test” this with some of my less popular projects?

I would love your ideas. Feel free to email me@evanhahn.com, message me on Signal, or contact me another way.