Earlier quoted context omitted.
> First & foremost I really need to emphasise that, despite the misleading article title, this was not a false positive. Google flagged this domain for legitimate reasons. Judging by what a person from the Immich team said, that does not seem to be true? > the whole system only works for PRs from internal branches - https://news.ycombinator.com/item?id=45681230 So unless one of the developers in the team published so…
Anyone can open a PR. Deploys are triggered by an Immich collaborator labelling the PR, but it doesn't require them to review or approve the code being deployed.
Google flags Immich sites as dangerous
631–640 of 713 posts
Re: Google flags Immich sites as dangerous
#632Earlier quoted context omitted.
Do you know the legitimate reasons? Because the article seems to only ever get an excuse from Google that is easy to dismiss because most sites do something similar.
The legitimate reason is that the domain is correctly classified as having user generated active content, because the Immich GitHub repo allows anyone to submit arbitrary code via PR, and PRs can be autodeployed to this domain without passing review or approval. Domains with user generated active content should typically by listed on Mozilla's Public Suffix list, which Firefox & Chrome both check & automatically appl…
No it's not
> PRs can be autodeployed to this domain without passing review or approval.
No they can't
There is no untrusted/user content on these domains.
Re: Google flags Immich sites as dangerous
#633Earlier quoted context omitted.
> what Immich is doing here is extremely dangerous You fully misunderstand what content is hosted on these sites. It's only builds from internal branches by the core team, there is no path for "external user" content to land on this domain.
It's builds from PRs that can be submitted by anyone with a GitHub account
Re: Google flags Immich sites as dangerous
#634Re: Google flags Immich sites as dangerous
#635Earlier quoted context omitted.
If anyone's got questions about this setup I'd be happy to chat about it!
I’m curious about basically all of it. It seems like such a powerful tool. I seem to have irritated the parallel commenters tremendously by asking, but it seemed implausible I’d understand the design considerations by just skimming the CI config. Top of mind would be: 1. How do y'all think about mitigating the risk of somebody launching malicious or spammy PR sites? Is there a limiting factor on whose PRs trigger a l…
2. It's running on a pretty big machine, so I haven't seen it approach any limits yet. We also only create an instance when requested (with a PR label).
3. I've of course been inspired by other examples, but I think the current pattern is mostly my own, if largely just one of the core uses of the flux-operator ResourceSet APIs [1]. It's absolutely generalizable - the main 'loop' [2] just templates whatever Kubernetes resources based on the existence of a PR, you could put absolutely anything in there.
[1]: https://fluxcd.control-plane.io/operator/resourcesets/github...
[2]: https://github.com/immich-app/devtools/blob/main/kubernetes/...
Re: Google flags Immich sites as dangerous
#636Re: Google flags Immich sites as dangerous
#637Earlier quoted context omitted.
But do we need e.g serial port or raw USB access straight from a random website? Even WebRTC is a bit of a stretch. There is a lot of cruft in modern browsers that does little except increase attack surface. This all just drives a need to come up with ever more tacked-on protection schemes because browsers have big targets painted on them.
Itch.io games and controller support. You have sites now that let you debug microcontrollers on your browser, super cool. Same thing but with firmware updates in the browser. Cross platform, replaced a mess of ugly broken vendor tools.
Your micro-controllers should use open standards for their debugging interface and not force people to use the vendor website.
Re: Google flags Immich sites as dangerous
#638Earlier quoted context omitted.
I'll flip that around on you: why oh why do we need to browsers to carry these security holes in them? The Stadia flasher is a good example: how do I know that a website doesn't contain a device flasher that will turn one of my connected devices into a malicious actor that will attempt to take over whatever machine it's plugged into?
You know because there is an explicit permission box that pops out and asks if you want to give this website access to a device, and asks you to select that device. Same as your camera/microphone/location.
Re: Google flags Immich sites as dangerous
#639Earlier quoted context omitted.
But do we need e.g serial port or raw USB access straight from a random website? Even WebRTC is a bit of a stretch. There is a lot of cruft in modern browsers that does little except increase attack surface. This all just drives a need to come up with ever more tacked-on protection schemes because browsers have big targets painted on them.
How else am I going to make a game in the browser that be controlled with a controller?
Re: Google flags Immich sites as dangerous
#640Earlier quoted context omitted.
Every decent host OS already has a dedicated driver stack to provide game controller input to applications in a useful manner. Why the heck would you ship a reimplementation of that in JS in a website?
So that you can take input from countrollers that haven't been invented yet and won't fit the HID model.
And that's before realizing it's already a bad idea with existing devices because they were never designed for giving untrusted actors direct access.