You’ve probably heard of the genetic testing site, 23andMe. The site allows users to send in a swab covered in their saliva for genetic decoding. When that code is translated, it’s viewable online as a pie chart of ancestry. 23andMe even offers an API that allows you to share your genetic information with the REST of the world.

Genetic information is some powerful stuff: It can countermand information that’s been passed down through a family, provide a clue to lost relatives, and even offer unexpected insights into one’s origins. But did you ever think that genetic information could be used as an access control?

Stumbling around GitHub, I came across this bit of code: Genetic Access Control. Now, budding young racist coders can check out your 23andMe page before they allow you into their website!

Seriously, this code uses the 23andMe API to pull genetic info, then runs access control on the user based on the results. Just why you decide not to let someone into your site is up to you, but it can be based on any aspect of the 23andMe API.

This is literally the code to automate racism. The author offers up a number of possible uses, many of which sound fairly legitimate, however. Imagine a women’s support group online that restricts access to women only. What if JDate didn’t just take your word for it that you were Jewish, and actually checked your DNA to make sure?

It can go much deeper than that, however. Reading the actual source of this software shows that it has a variable known as “allowed_population_threshold.” This insinuates there are limits of access that can be placed in your software with this code. Too many men on the site? How about too many Europeans? “Sorry ma’am, only three women allowed per day.”

The mind truly boggles. I’m fairly certain this is a serious piece of work, but the more I think about it, this entire software project feels more like a work of art, like something by contemporary artist Kara Walker. She recently created a massive statue of a naked, offensively stereotypical African American woman in a warehouse in New York. The sculpture was enormous, and based on offensive images of Africans from the 1800s.

Many of the white visitors (particularly younger ones) who came to see the statue laughed and took their pictures with it in irreverent poses. Later, it was discovered that Walker secretly was videotaping visitors’ actions and reactions. Rather than the statue itself being the artistic piece, Walker’s end objective was to hold a sort of mirror up to society and highlight its reaction to her fairly disturbing work.