Code of Code Ethics

The Only Thing That Can Stop Bad Code is Good Code


With the growing resentment toward the United States government's treatment of refugees and immigrants, activist discourse has amplified in its pursuit of an answer. How do we stop this evil? And, to be frank, it is evil. An evil that has existed for quite some time, but never with this type of attention. The internet, in spite of its faults, has a potent ability to shine a bright light on blight.

Within the tech space, under that illumination, we found a shadow feebly hiding an unsurprising collaboration between government agencies, such as ICE, and technology giants, such as Microsoft, Google, and Microsoft's new problematic child, GitHub. The tech world, including these companies and their products, has greatly benefited from decades of community labor in the form of free and open-source software. Now, that community has a grievance and a dastardly dilemma: how to prevent further misappropriation of that labor without hurting the community it originally meant to bolster?

Code of Ethics

It seems a weak consensus is forming around a particular solution. To start, much of the open-source community is built around ideals of sharing burden: I give you my code, you improve it, you share that with everybody all the same. This axiom defines the community spirit and represented, legally, in the form of several copyright licenses, the most significant arguably being the GPL, which is the license Linux and its GNU commands use.

I mention this specifically because the ideals and mechanism are so well-established: share and share-alike, and the copyright license respectively. The solution, so far, is to do the same, but imbue another set of ideals: ethics/morality. The community simply creates a software license with additional constraints, much like the existing "you must share changes," except something like, "you must do no harm." A type of hippocratic-inspired contract between coder and user. Beyond historical examples, modern attempts include the Do No Harm License, which excludes profiting from violence and environmental destruction, and the aptly-named Hippocratic License, which directly references the UN definition of human rights.

The logo for the hippocratic license, one example of a modification to an open-source license to add ethical usage requirements.

The logo for the hippocratic license, one example of a modification to an open-source license to add ethical usage requirements.

However, there are a few reasons why "share" and "do no harm" are not quite the same ideas and strange when included as a copyright provision. Copyright licensing is generally bound to the act of distribution. If you hoard your changes and never share them, that's technically allowed. That's a good thing. If you needed to patch something for your own personal use, it would be restrictive (and possibly personally sensitive) to have to publish a description of that change. Although the GPL upholds the ideal of "you are always allowed to modify and run," it does so by the same act of distribution. That is, by always forcing code to be available, any usage is also held valid.

Now, I'm not a lawyer. My student loans are high enough already. But, I work in archival (it has lots of ethical software issues, too) and I'm absolutely terrified of copyright. Copyright is hard to leverage and harder to comprehend. More to the point, it has been, historically, very difficult to enforce implied usage via copyright. The case that comes to mind is the PC-MOS v. Arizona Retail Systems where shrink-wrap agreements seemed to not be binding.

Another is some thankfully good court opinions with respect to interpreting reverse-engineering (something licenses attempt to enforce in terms of usage). The courts ruled that reverse-engineering can be fair-use such as with the famous Sega v. Accolade with other courts setting the bounds to exclude, naturally, cases where that effort is redistributed. In these cases, distribution (and intent) is key. All other usage governed by copyright could be vaguely argued as fair-use. And then, who knows if that is right? Every other rule would be expected to be clarified in a contractual agreement, which a distributed software license would not be... kinda... it's complicated. (Note: For a very good and thorough discussion about the free/open source software community's powerful use of copyright and the difficulties inherent to "ethical licensing," see Christie Koehler's Open Source Licenses and the Ethical Use of Software.)

Can Ethical Enforcement Encourage Ethical Use?

Yet, some dismiss enforcement as a concern. Chris Jensen, co-creator of the Do No Harm License, writes in 6 Myths about Ethical Open Source Licenses that "Enforcement isn't the point." They continue,

The GPL wasn't written so that developers could haul big companies to court for misusing open source code. Yes, it's legally specific in it's construction and possible to enforce, but that wasn't the purpose the authors had in mind for it. They created the GPL to spread an idea-- the idea that software and it's source should be freely shared.

Surely the GPL, revised by a lawyer and enforced in court, is designed to leverage the legal system to push those ideals? Surely it is written in the form of a copyright record for that reason.

This is the issue. If it is not meant to be enforceable, then it is meant to simply be a message. It is a signal that you, the developer, want the world to be better and do not want to be a participant in making the world worse. That is certainly a valid goal. It just does not actually make anything better. You are placing all of the burden of appropriately using the code on the next developer down the line without giving them any guidance.

Code that actively hurts people written by an unaware developer could certainly have such an ethical license. Code with the license could be used by a developer that makes something unintentionally damaging. These are not a single person's fault, but are more avoidable if more than one person were involved in development.

To be fair, the licenses linked above only trigger on "knowing" ethical abuses clearly targetting corporate and government misuse. Furthermore, it is classically difficult to separate ethics, morality, and harm from context, and I certainly won't attempt that here. Yet, there are victims that could still be better served by providing them better software that protects them from such harm in the first place. Along with that statement of intent on how the software is to be used (do no harm!), we have to provide guidance and more strongly define potential harm. Otherwise, we have created an excuse. Something small that is not actually actionable, but makes a developer falsely feel like they have contributed to the safety of others.

We Need an Ethical Professional Organization

If we want to sent the right signal, then we need to hold ourselves accountable just as much as the giants. We need an ethical profession, not just a copy-and-paste statement of intent. We need to re├Ârient our community so our best effort is facing forward. And be constantly held to that ever-self-reflective standard.

The community has an existing set of ideals which are well-established and well-understood: shift control of technology from tech leaders to everyday people. As argued by others, we no longer need to organize solely around software freedom, and can and should push the domain of freedom further. This new organization, replacing the role the FSF had in promoting software freedom, will uphold software ethics. It will continue to uphold traditional software freedoms as greater access to ethical software is still a valuable and complementary goal.

With modern technology companies and products always quick to ignore certain parts of the population, we need to create this organization with the most diverse and motivated leadership. To build off of the established labor of the free-software movement, the community must reassert its claim to collective ownership of that software. One benefit, here, is that open-source software that would otherwise not apply an ethical license (due to stubbornness, conservatism, or its owner is, well, dead... it happens) can still be part of a new whole due to it already being unburdened by the existing GPL. The community can then make use of the current work defining software ethics and reappropriate that to the task of software guidance and review in order to curate this existing body of work into a catalog of ethical software.

!

The professional organization will take new software projects under their wing if and only if they uphold such a review. Specifically, software can be assessed by a diverse group for the attention it places toward the safety and security of its patrons. Reviews will give feedback on development changes which, through iteration, strengthens software toward the goal of being more accessible and safe. Developers that are part of the organization can then help maintain and patch software in support of the established ethics and to support the community's most vulnerable and to train junior members. Inclusion of software into the professional domain, then, strongly implies that software has been appropriately designed for ethical use.

Let's pull out a perhaps prescient example. Social media applications can be reviewed for their moderation features such that they are less likely to be used and operated in a way that makes less technical and/or younger users vulnerable. Does your social media software focus too much on solving the technical challenge of scaling to millions of users? Where are your moderation tools? Ah, well, just because the software can scale does not mean you or any person can reasonably support the moderation of those potential millions of users. The guidance could be, then, to constrain the design to build social media software that emphasizes building smaller communities and scaling softly and carefully.

As the catalog of software grows, so does the possible leverage the organization can apply to misappropriating entities. When a tech giant uses software for an evil purpose, the community has a vehicle for not only voicing those concerns, but disrupting that activity. If a developer that is part of that organization and also employed at such a company can more easily act in protest when supported by the many other developers and activists. The establishment of a professional code of ethics, by virtue of being a member, will mean that such developers will not work at abusive companies and be more accepted at others. Furthermore and perhaps controversally, while companies lose access to developers, membership can be revoked in the case a developer is employed under an unethical contract (for instance, an ICE contract) and does not take action to leave that work. This will work well in an organization that can help relocate a worker from one company to another. Companies have a vested interest in supporting a community that performs maintenance labor on collectively useful software and will be expected, beyond its ethical duties, to fund its ongoing operating costs in order to be held in good standing.

Do you want to be the tech company that does not have the approval of the tech collective that assesses tech ethics? We need to create this anxiety in order to alleviate our own.

In Summary

Have I done the tech thing and reinvented something obvious? Yes. I reinvented a type of worker collective or union. I dream big. It's what I want. I'm turning this big ship around and pointing the blame right back at us, where it should be... where it can be acted upon. I want to use the catalog of open source software toward collective action, while improving the body of software to care about the people dependent on it.

Create a software union, specifically a professional organization with a professional code of ethics. Let software projects be part of the union so we can clarify ethical design and practice. Create a process for publicly accessing ethical practice and curate a list of ethical software. Create a space for developers to easily organize and strike when ANY code is being unethically used, not just the code from the folks that selectively and currently care.

I'm not the right person to do this, but please do this.

And, to close, yes, sure, slap a statement that says "don't use this to hurt people" but, my goodness, also do something else that includes the input of others so you, yourself, don't accidentally hurt people.

Tags

programming, programming/ethics

Comments

If you'd like to comment, just send me an email at wilkie@xomb.org or on either Twitter or via my Mastodon profile. I would love to hear from you! Any opinions, criticism, etc are welcome.

Donations

If you'd like to make a donation, I don't know what is best for that. Let me know.

Copyright

All content off of this domain, unless otherwise noted or linked from a different domain, is licensed as CC0