0:00

Safety & consent · 5 min read

AI can build it in a weekend. It can't tell you it's safe.

We use AI every day. Here is what a blue button, a map and a missing lock say about the gap between a feature that works and one that's ready for you

Ryan · Nov 30

Everyone uses AI. Even we do. For the last decade I've been building AI systems that check, validate, log, act, prevent and do other cool things, not only for Real Kink Men (formerly Fetishmen) but for other industries too. AI has changed and accelerated the world, and I'm sure that if and when the bubble bursts there will be a lot of cleanup and fallout. Some of it is already here.

What I love most about AI is that someone can say to me, "I would love it if the site did… (insert feature here)." I can take that idea, build a proof of concept, muck around with it and come up with something that works but should NEVER see the light of day. So you ask yourself, why would that be a problem? You just said it works and it's cool. Yes, both are true, but "works" and "ready for the world" are two different things.

Let's take a button. You want it big, you want it blue, and you want it to have white text that says SEND NOW! Simple, right? Well, not so fast.

What if that button is sending info? Your name? Your birthdate? Your email? Do you want that showing up where people can read it? Well, it's possible. We call those query strings. The info rides along in the web address itself, where it sits in your browser history, in server logs, and in the link if you copy it to a friend. They work for searching (sometimes), but I sure would not want to send anything over one that people should not see. So now we use payloads, which carry the info inside the request instead of in the address. Yes, yes, there is a lot of technical stuff to this, but are you seeing how a simple button can turn into a complicated event in no time? That single button people click 1,000 times a day is more than a blue button with white text. It's data.

Let's make it more complicated. Now you want to build a map. This map is going to show people whether others are around them. So you ask everyone to share their location. If they say yes, you have their info. If they say no, you don't. But you could. Using their IP address, you can look up their approximate location. But remember, they said no, so you really do not have the right to that data. Canada's PIPEDA, Europe's GDPR and California's CCPA are written differently, but none of them treats "he said no, so I got it another way" as permission. Where a man is counts as personal information under all three, and on a site like ours it sits right next to what he's into, which is about as sensitive as data gets.

Then, after building all of this, you need to store and show that data, so you put it behind /map/data. But for 6 weeks you forget to put a lock on it.

The map page itself asks you to sign in, so everything looks fine. The address feeding it doesn't ask anything. Type it into a browser, signed in or not, member or not, and it hands back everyone on the map with a pin next to their name. It doesn't take a hacker, only someone curious enough to look at what the page is loading, and every browser has a tool for that.

Nothing breaks, either. The map works, the button is still blue and the members are happy. There is no error and no alarm, because the site is doing what it was built to do. Six weeks go by. In that time anyone could have saved the whole list, and somebody probably did, because it was public. A list that has been copied can't be un-copied. You can lock the door on day 43, but you can't know who walked through it on days 1 through 42, and you can't honestly tell your members they are safe.

This is the problem with AI. Developers are seeing massive growth in the work they can do. Hackers are finding holes with a single prompt. The newest models keep finding new ways to help people build their ideas, and the world is going to fill up with things that look finished and aren't: sites and apps that work in the demo and were never checked by anyone who knew what to check. Through all of this, that friend of yours who really, truly just wants to have the best site or app that meets his needs doesn't understand code, and the AI just wants to make him happy. So it tells him it's done, and as far as he knows, it is.

So what do we do differently? Nothing magic. I've been writing code for 30 years (I started on punch cards and Fortran, so yes, I am old) and building AI systems for the last ten. I also don't do this alone. The AI we use is one we set up in-house, and it writes a LOT of our code. We're not going to pretend it doesn't. But before any of it gets to you, we read it, we test it, and then we do our best to break it, because we would much rather be the ones who break it than some guy with a browser and a free afternoon.

Now, location. Remember the map, and the guy who said no? Here, no means no. On a kink site of all places, we should be able to get consent right. We ask before we use where you are, and if you say no, that's the end of it. We don't go and work it out from your IP address behind your back. The only thing we ever read from an IP address is which country it's in, for things like catching fake sign-ups and warning you when a new device gets into your account. It never puts you on a map.

If you say yes, you're still the one in charge. We save your location as a 500 m square, not a point, so nobody, including us, has your exact spot. Radar doesn't follow you around. It uses the place you last gave it until you change it. You can pick a city instead, drop your own pin, hide your distance, or take yourself off Radar completely and still look around.

And you don't have to take our word for it. Some of our code is public. We've published the code that strips the location out of your photos, and the code that finds faces on your phone so you can blur them, on our GitHub for anyone to read, pick apart and tell us what we got wrong.

Every single line of code here gets the same question attached to it: is this safe? If we can't say yes, it does not go out. I don't care how cool it is, or how big and blue the button is.

Cover: Jannes Jacobs / Unsplash

Real Kink Men is where these men meet.

Profiles, circles, events and On Air. Free to join, 18+.

Join free →

More to read