7 ms·
At GitLab we separated the infrastructure between about.gitlab.com (our marketing site, lots of third party javascript) and gitlab.com (our application, zero th
by sytse 9y ago
At GitLab we separated the infrastructure between about.gitlab.com (our marketing site, lots of third party javascript) and gitlab.com (our application, zero third party javascript). We recently deprecated the Piwik instance we ran in house for gitlab.com because it slowed the page load time. Please let me know if there is anything we can do better, these things are complex.
- pg_is_a_butt 9y agowhy are you still using the same top level domain? sure there are XSS protections on subdomains, but it's still 1 exploit away from the top level domain. google uses googlehosted.com for stuff that might include 3rd party stuff.
- BoorishBears 9y agoI feel this is off topic.
- davnicwil 9y agoI'm not sure if you're aware, but GitLab has integrated CI available on gitlab.com, which is a like-for-like alternative to CircleCI - so in that sense this comment is very much on topic, in my opinion.
- mr337 9y agoI agree too. When reading about CircleCI my first thought is, "wonder why my CI is doing?". Now gotta check the requests to validate their claim.
- BoorishBears 9y agoI'm aware, to me it feels like a plug. I've seen a nearly identical comment on Gitlab from a member of their team on other occasions
- BoorishBears 9y agoHN isn't but the place I'd expect to be downvoted for a factual statement. I have seen the comment before and it feels like someone trying to plug their service the moment "CI" comes up. I know Gitlab is HN's darling but to me it's not reasonable to plug your service every time a competing service is mentioned.
- unixhero 9y agoAlso this is a nicely thought out post. I don't see what the problem is.
- eropple 9y ago> Please let me know if there is anything we can do better You can not opportunistically spam nearly every thread where GitLab might be tangentially related. I don't use GitLab largely because of the way you post on HN, though the software seems reasonably well-written. It's very frustrating.
- orf 9y agoYou refuse to use an awesome product because the CEO of a startup is actively engaging with a community that may (or may not) use it, accepting feedback and discussing the product with people? Ok....
- n42 9y agoThis isn't engagement, it is quite clearly advertising.
- orf 9y agoSure, he's advertising how Gitlab, a related product in the same space, handles this and the steps they took to prevent this problem from happening. It's informative, not "gitlab doesn't suffer from this, here's a 10% off coupon https://gitlab.com!!" https://gitlab.com!!".
- n42 9y agoYou're right, his post does contribute to a discussion on how to avoid this situation (which is what I'd like the thread to be about). I think it is based on a history of seeing GitLab's marketing team or CEO in any comment section tangentially related to their product that has put a bad taste in my mouth. I usually know before clicking into a comment thread whether or not they will be pushing their platform inside.
- jlgaddis 9y agoIn general, I would tend to agree with you. In this case, though, the original article was about CircleCI specifically but mentioned this being an issue across the entire industry. GitLab is a part of that industry and they have lots of users on HN so, in this case, the comment is relevant (IMO). More generally, however, you're right although I have just come to accept that this is how things are on HN. Choose pretty much any "Show HN" thread or any thread about some cool new app/product/service and in the thread you'll find a few "shameless plug" comments that would be considered spam in any other forum: "Hey, we also make an app that does $foo, sign up for our beta at example.com and check us out!". (One of the worst "offenders" is Userify. Pick any thread that relates tangentially to user authentication and chances are good you'll find a comment from them that manages to work their name/URL into the conversation somehow.)
- deleted 9y ago[deleted]
- tptacek 9y agoDoes Github? It should be easy to check; log in, open the network inspector, and do a force-reload.
- elehack 9y agoOnly 3rd-party code I see in a GitHub is Google Analytics. There's a few loads from githubapp.com and githubusercontent.com. I also think the CI service, which GitHub doesn't provide, is a higher-risk environment for this kind of thing. GitHub settings pages don't production deploy keys.
- joshpeek 9y agoWe’re concerned about this as well at GitHub. We don’t link directly to the Google Analytics script, which could be updated at anytime. Instead we host our own script version that’s locked down with CSP and SRI. We still allow XHRs to the Google Analytics origin to report the data but the script code itself can’t be changed without an internal security review.
- dom0 9y agoIt's reassuring that you (GitHub) seem to have not only thought about the problem, but implemented processes to reduce exposure.
- tptacek 9y agoGithub has one of the best application security teams in the industry. (I have no relationship with Github other than that I am a customer and have watched them steadily hire some of the best people I know in the industry).
- ptoomey3 9y agoThank for the kind words. As Neil noted below, we would like to lock things down even further by proxing all data that is sent to Google Analytics. And, as a bonus, it would remove the last destination host for content exfil attacks that we know of. Our strict CSP policy has been a nice win, but the strictness has made it that much more clear that allowing nearly any third party sites, even for innocuous things such as images/xhr, isn't ideal. And, we are always on the lookout for more bypasses: https://bounty.github.com/targets/csp.html https://bounty.github.com/targets/csp.html.
- hungerstrike 9y agoAt my company, we'll never use GitLab because it just plain sucks. Since you're asking though, here's one thing you can do better: Stop spamming HN with your irrelevant nonsense.
- dang 9y agoAi yai yai, if you care about HN then you need to follow its rules: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html, regardless of how you feel about source code configuration systems. Posting like this gets accounts banned, so please don't!
- hungerstrike 9y agoI'm not sure what you're talking about. The person that I responded to said something about GitLab so I told them how I felt about their comment and their product. I would've said the same thing in person.
- icelancer 9y agoIf this post was about GitLab you might have an argument. But it was about CircleCI and tracking code in general. GitLab is not some random company spamming their crap; the person is just relaying their infrastructure notes for the rest of us. Nearly everyone on HN has heard of GitLab. They don't need the astroturfing or spamming you are accusing them of.
- hungerstrike 9y ago> If this post was about GitLab you might have an argument. No because then the comment would be on-topic. > GitLab is not some random company spamming their crap. Yes they are. > Nearly everyone on HN has heard of GitLab. Because of the spamming.
- dang 9y agoYour comment contained personal rudeness and name-calling. If you do this again we will ban you.
- SkyPuncher 9y agoCurious, what do you plan to replace Piwik with? If you don't mind me ask.