谷歌标记 Immich 站点为危险网站
Google flags Immich sites as dangerous

原始链接: https://immich.app/blog/google-flags-immich-as-dangerous

## Immich 网站被 Google 标记为危险 2025年10月,Google的安全浏览服务开始错误地将Immich的*.immich.cloud网站标记为“危险”,向用户显示警告并严重限制访问。问题源于Google检测到“有害内容”和“试图欺骗用户”的页面,具体针对Immich的内部预览环境和图块服务器。 Immich团队发现唯一的解决办法是使用Google Search Console请求审核,解释被标记的网站是合法的、自托管的部署。虽然最初成功,但问题随着每次通过GitHub pull request创建的新预览环境而重现,因为Google反复抓取并标记这些URL。 这凸显了安全浏览对开源和自托管项目产生的更广泛影响,域名可能被任意标记,且申诉选项有限。Immich现在通过将预览环境迁移到专用域名(immich.build)来缓解问题,以避免进一步的误报。该团队承认这是一个令人沮丧的情况,表明Google对网站可访问性的强大控制力。

相关文章

原文
  • Blog
  • Google flags Immich sites as dangerous

October 20, 2025

— Jason Rasmussen

Earlier this month all of our *.immich.cloud websites were marked as dangerous and users started being shown the dreaded "red-screen-of-death" page.

Dangerous site

No one on the team really understood how this browser feature worked, but it's now, unfortunately, been added to our list of Cursed Knowledge .

Background

Google offers a service called Safe Browsing , which aims to determine if a site is running malware, unwanted software, or performs some form of social engineering. The service is free, and many browsers, including Chrome & Firefox, directly integrate the service into their products, although it is still a bit unclear how it actually determines if something is "dangerous".

So, what happens if your site is marked as dangerous? Well, since most browsers seem to use this service, your site essentially becomes unavailable for all users, except the few that might realize it's a false positive, click the Details button, and then see and click the tiny, underlined "visit this safe site" link. So basically it becomes unavailable for your entire audience with little apparent recourse.

Being flagged

At some point earlier this month, we realized that a bunch of sites on the immich.cloud domain had recently started showing up as "dangerous". At the same time, a few users started complaining about their own Immich deployments being flagged. We also noticed that all our own internal sites had the same warning, including our preview environments. It got old real fast to have to go through the tedious effort to "view this safe site" whenever we wanted to view anything.

Search Console

After a few days we realized this warning was not going to go away on its own, and that the Google Search Console was apparently the official way to manage these types of issues. It seems a bit crazy that the only way to make our site available again was to create a Google account, and use the Google Search Console to request a review of the affected site. The service did at least provide a few more details about what exactly was flagged, although it made the whole thing a bit more comical. Per the service:

Google has detected harmful content on some of your site’s pages. We recommend that you remove it as soon as possible. Until then, browsers such as Google Chrome will display a warning when users visit or download certain files from your site.

and

These pages attempt to trick users into doing something dangerous, such as installing unwanted software or revealing personal information.

Below these warnings was a list of affected URLs:

https://main.preview.internal.immich.cloud/
https://main.preview.internal.immich.cloud/auth/login
https://pr-22838.preview.internal.immich.cloud/
https://pr-22838.preview.internal.immich.cloud/auth/login
...

It was super useful to learn that the affected URLs were for our preview environments. Maybe the thought was that these Immich environments were imitating our demo website ? The most alarming thing was realizing that a single flagged subdomain would apparently invalidate the entire domain.

Impact

This issue affects all of our preview environments and other internal services such as zitadel, outline, grafana, victoria metrics, etc. This also impacts our production tile server, which is deployed at tiles.immich.cloud . Luckily, the requests to the tile server are made via JavaScript, and since those are not user facing they seem to still be working as expected.

"Fixing" the issue

The Google Search Console has a Request Review button, where you can explain how you have resolved the issues. It does warn that:

Requesting a review of issues that weren't fixed will result in longer review cycles


Dangerous site appeal


Since, nothing is actually wrong we decided to respond with the following:

Immich is a self-hosted application, and the Immich team (https://immich.app/ ) owns and operates the immich.cloud domain and subdomains. The flagged sites are our own deployments of our own products and are not impersonating anything or anyone else.

A day or two later, the resolution was accepted and the domain was clean again! 🎉

We thought we were home free, but unfortunately that was not the case.

Minimizing the issue

An Immich preview environment can be requested by adding the preview label to a pull request on GitHub. When the environment is created, a comment is posted on the pull request with the preview url, which follows the following format:

https://pr-<num>.preview.internal.immich.cloud/

As soon as we created a new preview environment, the immich.cloud domain was once again flagged as a dangerous site. The best we can tell, Google crawls GitHub, sees the new URL, crawls the site, marks it as deceptive, and the whole process begins anew.

Our current plan is to attempt to minimize the impact of this issue by moving the preview environments to their own, dedicated domain — immich.build .

A wider issue

Google Safe Browsing looks to be have been built without consideration for open-source or self-hosted software. Many popular projects have run into similar issues, such as:

Unfortunately, Google seems to have the ability to arbitrarily flag any domain and make it immediately unaccessible to users. I'm not sure what, if anything, can be done when this happens, except constantly request another review from the all mighty Google.

Cheers,
The Immich Team

联系我们 contact @ memedata.com