76 comments

[ 5.2 ms ] story [ 131 ms ] thread
I've been a member @ HN for quite a while, but I usually just tend to focus in on security and privacy topics. One of my good friends is visiting, and we wanted to work on something challenging together. Both of us find privacy policies overly confusing and annoying, so we decided to tackle the problem. We built a tool that that crawls for privacy policies and uses guided machine learning to analyze them. We would love any feedback you have.
Aside from my main points I put in my comment, what are the main criteria for flagging a website? The way I see it is:

1. If it sells your information to third parties, 2. if it shares your information with ad campaigns without directly selling it

Would you make any other criteria that users might want to be aware of?

We deliberated on the categories to include here and went with what we thought made the most sense and was the most clear in policies. A lot of policies don't make the distinction you describe =/
It got the right answer for my company's website: http://www.privacyparrot.com/privacy-policy-for-identified.c...

The site is pretty slow. I noticed that entering my site a second time didn't produce a result any faster than the first time. You might consider adding some caching.

Glad we got it right. The site should be much faster now thanks to some tips folks have given here.. and turning off excessive debugging info.
(comment deleted)
bool CompanySellsPrivateData(string privacy_policy) { return true; }
You can go so much farther with this. How about letting me paste in any TOS and have it analyzed for important bits or things out of the ordinary? I'd love having my own personal robot lawyer to read over all the stuff I sign or agree to!
Thanks, and yes indeed, that's what we are hoping to get towards. We started out with a few other categories & classifiers (i.e. does the site claim intellectual property over what you post ) but wanted to start with "does this site sell my data." We can train it on TOSs and categorize there.
Do you have a background in this (re: JD)? This is a very complicated task. In fact it's such a tricky task that I think you might be better off just building a database of terms. A quick Googling didn't turn up anything so maybe this is something else you could offer. Have people submit what sites that want you to take a look at, take info from people... Fairly different than what you're doing but seems more likely to give people information that's useful. I wouldn't want to rely on a machine-generated evaluation that wasn't 100% right 100% of the time!
Would you trust such a lawyer? No offense to the developer, I think he id a terrific job, but trusting a machine to parse a contract for something fishy seems a little too... Well, risky.

Of course it'd be great when you have a positive match.

Well in most cases most people don't read the TOS anyways much less find a real lawyer to comb through it for legal gotchas. So having this quick copy paste checker seems to be a huge step in a positive direction.
I view it more as a bug-finding tool. That is it can indicate the presence of data sharing/selling (bugs) but cannot prove that there isn't any.
Still better than not reading it at all, which is what I do now.
On a more serious note, I have two real questions:

1. So, having crawled a boatload of privacy policies, what fraction of them say that they'll sell your data?

2. Are you worried that the lawyers will find your tool and tweak their policies to beat it?

So far we are looking at

14% can sell data

66% do not sell data

20% sell only when they go bankrupt or get acquired

We view people trying to beat the system as a way to improve it.

It'd be interesting to have a browser extension based on this popping up a warning on websites with a suspicious privacy policy.
Browser plugin was our initial plan, but wanted to get something out there for folks to test and give feedback on without having to install something.
If you made a Google Chrome or Firefox extension I'd install (both of) them. In fact, porting this service to an extension seems more logical and streamlined if it could push notifications in real time as you entered a website, the way Firefox can warn you if a website has a false certificate or is a registered scam/phishing website.
What about inconsistent privacy policies?

For example, http://www.privacyparrot.com/privacy states that they never "share any information about you" but then has an offhand mention about the site using Google Analytics.

Thanks for pointing that out, we've updated it to say "never share any personal information about you."

We've trained the analyzer to mentions of sharing PII with 3rd parties to point out sites that sell data.

I consider Google Analytics a great harm to my privacy and brushing it off with "We give you a cookie so Google analytics works, but it's nothing personal." gives me a dishonest and careless expression.
I am just learning some of these machine learning tools and am rapt, so forgive me for asking, but would you be able to explain a little about what you are doing?

How are you generating features? Stanford parser? Are you using logistic regression or something more advanced?

I love the idea. I am interested in applying some of these concepts myself. Do you have any ideas that you are not able to pursue yourself, that I might take a crack at?

Works just like spam filtering: We're using a naive Bayesian classifier with training data. Built and tested a custom extractor that makes the most sense for the legalese of privacy policies.

Ideas: email me at michaelaiello (at) michaelaiello.com

Might I suggest adding at least this sentence to the training set: "We sell your private information."

Your Policizer happily tells me that the sentence means "They DO NOT sell your private information."

> See if a site sells your personal information.

Rather, see if a site tells you that it sells your personal information. It's an important difference.

I love this idea, but here's how I think it could be improved:

1. Consider porting the entire service to a browser extension for Chrome or Firefox, and making the homepage more of an information/FAQ center.

2. Demo video. A good demo video explaining why "John Doe" should worry about his personal information being sold would be more convincing - this is how you get your service to less savvy internet users who aren't primarily concerned with privacy.

3. Find a way around inconsistencies. It would be better to report if a website actually sells/uses your personal information rather than returning a simple search result with TOS findings. A website can tweak or flat out lie. You should try to account for this.

4. Are you planning to commercialize this in any way? How do you plan to fund it, if at all?

1. Seems we got a lot of feedback and requests for an extension. Sounds like a good idea to me too!

2. Yes a demo video explaining why this is important would be helpful to folks

3. Not sure how to address this. The tool reads and classifies terms of service. Any suggestions on how we can do what you suggest

4. Potentially, want to explore a bit more and make sure it works well first. We have ideas for premium and related features/services that would key off of this well if it becomes popular and trusted.

Hm...well, there are a few ways. What you could do is use an automated crawler with a Y|N function to tell you if it's being tracked. For example, when a user submits a website, your engine would send an automated message to the server and detect how much, if any of the information were stored, and then track it to see how it's used. If you've got the tech to do this, it would eliminate a huge amount of false positives and false negatives that the privacy policy's rhetoric generates. But that's just my suggestion.
As for 3: A simple feature to add would be to add a form for users to submit samples (links, comments).

BTW: Cool tool with a lot of potential! See also http://www.javacoolsoftware.com/eulalyzer.html (They analyze EULAs, not Privacy Policies though. Also I wasn't too impressed when I tested but a nifty idea and I only tested it a few years ago so it might have been improved a lot in the meantime.)

I'm not a lawyer but...

How can someone trust you to parse the policies correctly? What if someone sues you for incorrectly interpreting a policy which they then use to make a decision.

A lawyer could probably advise them quite quickly as to a TOS that would limit their liability from such an action by specifically informing users of the site that the information should not be relied upon. I'm not a lawyer either, but it doesn't look like it would be a big deal to get a good TOS to prevent these issues.
Yeah this is a very good suggestion. We'll get a TOS up there so we don't get into hot water.
Just curious, if it could highlight the offending phrases it used to figure out the difference between selling, not selling, and bankruptcy selling. This way when we put in our revisions we can better help it learn.

Also if you aren't planning on making this a commercially viable product, could you release source code? Things like this make the world better and safer, (not to mention easier and funner.) All in all though it was rather interesting. (Still trying out websites and i see myself doing this until the end of the day at work.)

The site is loading extremely slowly. Might I suggest you turn off, or dramatically reduce, the KeepAliveTimeout?

Header:

  Connection:Keep-Alive
  Date:Fri, 11 Nov 2011 01:27:19 GMT
  Keep-Alive:timeout=15, max=100
Thanks for the heads up and the tip, we are getting way more traffic than expected here...
Follow up idea, read mutual fund prospectuses and identify anything "out of the ordinary."
It does not appear to like subdomains. I've been trying to get it to visit http://news.ycombinator.com and see what it thinks. But I keep getting back, We were unable to connect to http://www.news.ycombinator.com. If it exists, please try again later.
Thank you so much for the effort. This is really something useful. Would love to see more projects on making privacy themes more accessible.
A bug report: if someone already added “.com” to their results because of no result, don’t offer to add it again if there are still no results.

Example: http://www.privacyparrot.com/search?search=http://www.noSuch...

Also, I suggest when you suggest adding “.com”, you strip spaces from the search as well. For instance, I searched for “Less Wrong” and found nothing, and you suggested “Less Wrong.com”. That doesn’t exist, but “LessWrong.com” does.

Where's the code?

Seriously, where's the code? Your server seems to be getting hit pretty hard. Would be nice to be able to hack on it and to be able to host a mirror.

Or, where's the data?

Seems to me most of your traffic is going to be people asking about the same sites - would be interesting just to publish that information.

Thanks, code is on a linode. Will be upgrading it to a larger version and doing some apache configs after we drop off the front page....
Would it be possibly to also identify sites that share your information?

A great example: facebook.com Does not sell your private information.

But they obviously do share information and while this is apparent to most users, how many sites practice the same and users are not aware of it?

Also, any plans to capture change in privacy policies over time? Often times, site owners do not proactively notify users when their policies or legalese has changed.

We do plan to note changes in the policies. Considered a feature that lets you subscribe to the policies you are interested in and get notices if they change, or if in the news, it is mentioned that the site loses your data. What do you think?
Diffs of privacy policies would be excellent! And notifications as well.
I'd love a site that stored diffs off all legal docs for large organizations. I was trying to find old TOS of amazon.com the other day, and couldn't find them anywhere.
facebook.com Does not sell your private information.

www.facebook.com Can sell your private information.

Thanks - had an old version of the scan in from when we weren't correcting for the www.
Is it really possible to keep user data safe during a bankruptcy? It is a tangible asset that may provide value to creditors.

I really want (for my co) the answer to be "yes".

If the site's privacy policy explicitly states they will never sell your information, it may be possible to sue if they do so. There is some precedent with a toysmart.com case back in 2000, though it was settled out of court.

The main point of checking for the bankruptcy clause is to raise awareness of the risks involved so people can make an informed decision before trying a new site.

Who new the singularity would start as an arms race between AI writing obfuscated legal documents and AI decoding them :oP