News for hackers. Stuff that matters.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by mivanchev on Tuesday October 31, 2017 @01:25PM (#15594887)
I must voice concerns regarding this product. Just took a look at the Notepad++ plugin (https://github.com/wakatime/notepadpp-wakatime), because this is something I know a lot about. To begin with, it sends filenames to the mother ship instead of just the programming language. I would consider filenames to be sensitive information giving a very good idea of the project you are working on...

Also problematic is the fact that plugin is doing almost nothing; instead it downloads Python from the official place, downloads a whole Python project (called CLI) and executes it. Also, there's an automatic update mechanism in place which updates the CLI every now and then. It sounds as a recipe for a disaster waiting to happen.

Edit:

I guess what I've said applies to every software with an auto-update function and that's of course quite the norm today. As ztratar pointed out, the usage of SSL provides a decent level of security. I still would wish for the user to be notified in some fashion. Also, from what I understand, the WakaTime CLI seems to have an option to hide filenames, it's just not changeable from the Notepad++ plugin.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by ztratar on Tuesday October 31, 2017 @01:31PM (#15594935)
Disagree. As a user, I want file-level or directory-level analytics. I want to know how much time I'm coding in the backend services vs the front-end react client.

If you have concerns about this, do you also have problems with Github literally having access to all of your code? Or Google having access to your search history?

I'd be more concerned if it wasn't using SSL. That would make sense, but it seems secure on that front.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by mivanchev on Tuesday October 31, 2017 @01:35PM (#15594970)
> I'd be more concerned if it wasn't using SSL. That would make sense, but it seems secure on that front.

Yes, I agree with you, using SSL is definitely better than without.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by smt88 on Tuesday October 31, 2017 @03:15PM (#15595770)
Github and Google have security teams and aren't side projects.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by dvt on Tuesday October 31, 2017 @03:46PM (#15595959)
So did Equifax. All this outrage is completely unfounded.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by wwalser on Tuesday October 31, 2017 @04:10PM (#15596138)
> outrage

Someone kindly shared an opinion and gave their reason for having that opinion. Outrage is a different thing.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by welder on Tuesday October 31, 2017 @04:09PM (#15596133)
This was requested a lot before, so you can now hide file names. This means only project names and timestamps are sent to our servers:

https://wakatime.com/faq#exclude-paths

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by cabaalis on Tuesday October 31, 2017 @02:48PM (#15595556)
Perhaps you could encrypt the filenames with a user-supplied password hash. Upload and store just the encrypted filenames, and when the user is viewing the data on the web can decrypt the filenames by asking them for the filename password. You could run analytics on the encrypted data still, and not expose filenames to even wakatime.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by mivanchev on Tuesday October 31, 2017 @02:50PM (#15595582)
Or you could divide the files in classes like that

<pattern> -> "backend code"

<pattern> -> "frontend code"

and upload only the class a file belongs to.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by SteveNuts on Tuesday October 31, 2017 @02:53PM (#15595609)
What if you opened John_Doe_health_information.txt - would something like this be a HIPPA violation?
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by cabaalis on Tuesday October 31, 2017 @02:59PM (#15595652)
Healthcare startup here: Yes, because first/last name are PHI identifiers, and it's possible that even using the product itself could be considered a breach because you don't have control over the data. If the filenames some non-phi unique identifier, you're fine.

What's the difference between sending data within in a file, and having the file named something that is an important data point? None. So naming the file with a PHI field (even MRN!) is a bad idea to begin with.

A good answer would be to not let true patient data leave the hardened production server and be opened in any kind of development environment, ever.

Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by sli on Tuesday October 31, 2017 @02:57PM (#15595632)
Having somewhat recently started a job developing frontends in health informatics, I'm noticing that programmers need to consider HIPAA far more than I think many realize. Even when working outside the healthcare industry, as may be the case here.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by conductr on Tuesday October 31, 2017 @03:36PM (#15595897)
With that filename in majority of cases you're violating HIPAA even within your internal network. The thought processes usually goes, does every person that potentially sees that file name require to know the patients first and last name? Also, even those that do require it should only be accessing it on an as-needed basis (eg. at the time of claim submission, etc) which means it shouldn't be floating around on your filesystem.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by detaro on Tuesday October 31, 2017 @01:30PM (#15594931)
Why do you think the second part specifically is "a recipe for a disaster waiting to happen"?
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by mivanchev on Tuesday October 31, 2017 @01:38PM (#15594985)
Well, because it's a mechanism the user is not controlling and is potentially problematic if someone makes the plugin download an update package from another source. I'm a bit paranoid, but I would prefer all functionality to be within the plugin itself. There's a plugin manager for Notepad++ which notifies the user of plugin updates.
Re:Reaching $10k monthly revenue with WakaTime, my SaaS side... by tertius on Tuesday October 31, 2017 @03:25PM (#15595827)
I suggest you suggest this to the author.