<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Electron Security Issues]]></title><description><![CDATA[<p dir="auto">Hi all, Is there a bigger issue with the CORS policy updates?  I have noticed the below warnings in the Developer window.</p>
<p dir="auto"><img src="/assets/uploads/files/1641303323367-03b5d84f-81f3-4758-9e45-e222f6bfa9ba-image.png" alt="03b5d84f-81f3-4758-9e45-e222f6bfa9ba-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1641303387667-7c75540e-35d6-428b-8748-638ef1ac26eb-image.png" alt="7c75540e-35d6-428b-8748-638ef1ac26eb-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The list goes. Are there any recommendations on how to get rid of this? The CORS policy update seems to be affecting other modules that now stopped working as the responses are being blocked.</p>
<p dir="auto">Would downgrading the Electron version resolve this or is a lower version not compatible with v2.18?</p>
]]></description><link>https://forum.magicmirror.builders/topic/16135/electron-security-issues</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 01:19:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16135.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Jan 2022 13:41:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Electron Security Issues on Sun, 13 Feb 2022 20:15:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> I would normally agreee, but this is only to satisfy weird demands on SSL, not for any form of security and the mirror is not externally available.</p>
]]></description><link>https://forum.magicmirror.builders/post/99561</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99561</guid><dc:creator><![CDATA[fribse]]></dc:creator><pubDate>Sun, 13 Feb 2022 20:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Sun, 13 Feb 2022 18:47:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a></p>
<p dir="auto">with own domain I would recommend to run a reverse proxy in front of mm (and any other app) which handles the cert stuff automatically (as e.g. traefik). So you have not to deal with cert stuff in the apps behind the proxy.</p>
]]></description><link>https://forum.magicmirror.builders/post/99558</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99558</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Sun, 13 Feb 2022 18:47:30 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Sun, 13 Feb 2022 14:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> there is support for certs.  but most people don’t have a registered domain</p>
<p dir="auto">I use <a href="http://dyndns.org" target="_blank" rel="noopener noreferrer nofollow ugc">dyndns.org</a> to get a name back to my server on  my dynamic address. it has changed a few times over the years, and I switched service providers  too</p>
]]></description><link>https://forum.magicmirror.builders/post/99535</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99535</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 13 Feb 2022 14:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Sun, 13 Feb 2022 11:56:20 GMT]]></title><description><![CDATA[<p dir="auto">So a LetsEncrypt wildcard certificate could help here (if you have a domain that is). But does MM even support running with a cert out of the box, or do you need to recode stuff?</p>
]]></description><link>https://forum.magicmirror.builders/post/99527</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/99527</guid><dc:creator><![CDATA[fribse]]></dc:creator><pubDate>Sun, 13 Feb 2022 11:56:20 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Thu, 13 Jan 2022 17:57:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">didn’t know this but I’m not surprised …</p>
<p dir="auto">When this limitation is live the modules must send the new header, we will see which of them are still maintained …</p>
]]></description><link>https://forum.magicmirror.builders/post/98512</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98512</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Thu, 13 Jan 2022 17:57:29 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Thu, 13 Jan 2022 14:22:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> And so it begins. Modules like the MMM-Hue and others that talk to internal devices on the local network is going to become a problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/98482</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98482</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:22:20 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Thu, 13 Jan 2022 14:04:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> see<br />
<a href="https://therecord.media/chrome-will-limit-access-to-private-networks-citing-security-reasons/amp/" target="_blank" rel="noopener noreferrer nofollow ugc">https://therecord.media/chrome-will-limit-access-to-private-networks-citing-security-reasons/amp/</a></p>
<p dir="auto">oh joy</p>
]]></description><link>https://forum.magicmirror.builders/post/98481</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98481</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 13 Jan 2022 14:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Wed, 12 Jan 2022 06:16:57 GMT]]></title><description><![CDATA[<p dir="auto">Recently I have only started coding and therefore do not pay attention to security bugs at all. I hope that it is not interesting for anyone to hack into our computer.</p>
]]></description><link>https://forum.magicmirror.builders/post/98422</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98422</guid><dc:creator><![CDATA[bigschucks]]></dc:creator><pubDate>Wed, 12 Jan 2022 06:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 18:14:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thanks Sam. That sorted it.</p>
]]></description><link>https://forum.magicmirror.builders/post/98065</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98065</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Tue, 04 Jan 2022 18:14:14 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 17:57:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> looks like MagicMirror-backup-restore is in the modules folder…  should be in the users root, as it’s not a MagicMirror ‘module’</p>
<pre><code>mv ~/MagicMirror/modules/MagicMirror-backup-restore ~
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/98064</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98064</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 04 Jan 2022 17:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 17:52:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Have you seen these errors before?  Mirror still starts though.  I have just noticed it now as I usually start my mirror from the cron.</p>
<pre><code>[04.01.2022 19:49.27.681] [LOG]   Connecting socket for: MMM-Remote-Control
[04.01.2022 19:49.27.686] [LOG]   Starting node helper for: MMM-Remote-Control
[04.01.2022 19:49.27.724] [LOG]   Connecting socket for: calendar
[04.01.2022 19:49.27.729] [LOG]   Starting node helper for: calendar
[04.01.2022 19:49.27.732] [LOG]   Sockets connected &amp; modules started ...
[04.01.2022 19:49.29.057] [LOG]   Launching application.
[28306:0104/194931.715456:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[04.01.2022 19:49.33.896] [ERROR] ERROR! Could not find main module js file for MagicMirror-backup-restore
[28425:0104/194936.968648:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[28481:0104/194939.078132:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[28499:0104/194939.733204:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/98063</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98063</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Tue, 04 Jan 2022 17:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 16:44:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>.  Will await your post there. I am rewriting the module but am running into all kinds of issues. It is ugly. :-(</p>
]]></description><link>https://forum.magicmirror.builders/post/98060</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98060</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Tue, 04 Jan 2022 16:44:13 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 16:37:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a></p>
<p dir="auto">the warnings are normal, see <a href="https://github.com/electron/electron/blob/main/docs/tutorial/security.md#electron-security-warnings" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/electron/electron/blob/main/docs/tutorial/security.md#electron-security-warnings</a> and you can disable them</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">I agree that <code>https</code> is a pain but I think we will be forced to use it</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a></p>
<blockquote>
<p dir="auto">I am trying to see if I can fix the MMM-Hue module and it calls out to a bridge which sits on the local network and runs into this CORS issue.</p>
</blockquote>
<p dir="auto">I see no chance to  do this in the module. I found a first (ugly) workaround and will post this in the other thread later …</p>
]]></description><link>https://forum.magicmirror.builders/post/98059</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98059</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Tue, 04 Jan 2022 16:37:40 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 16:26:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Yep, understood.  node-fetch has also had some changes which could cause some issues in future. I am trying to see if I can fix the MMM-Hue module and it calls out to a bridge which sits on the local network and runs into this CORS issue. Other modules have the same issue. This is going to make module dev a bit difficult, but I am sure we will adapt. :smiling_face_with_sunglasses:</p>
]]></description><link>https://forum.magicmirror.builders/post/98058</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98058</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Tue, 04 Jan 2022 16:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 16:19:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> https is SUCH a pain in the rear, as you have to create a certificate,</p>
<p dir="auto">cert requires a registered domain name(with a ip address) , and almost never are free, and expire and …</p>
<p dir="auto">and self signed certs are more trouble than they are worth…</p>
<p dir="auto">and &gt;98% of the mirrors are internal to the house/office so no one outside can access, and &lt;10% have any app access to the local system, (remote control and such) …</p>
<p dir="auto">CORS is controlled by the SERVER not the client…  some servers are rejecting weird client browser types (MagicMirror, not chrome or firefox), and some don’t like the 0.0.0.0 address that gets sent,<br />
and some modules are using request (which has a problem here, one of the reasons for its deprecation) and some modules are using axios/… which are enforcing more…<br />
and electron is changing too…</p>
]]></description><link>https://forum.magicmirror.builders/post/98057</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98057</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 04 Jan 2022 16:19:53 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 15:52:30 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>. I have noticed that. Is there plans on making changes to align to https?</p>
]]></description><link>https://forum.magicmirror.builders/post/98055</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98055</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Tue, 04 Jan 2022 15:52:30 GMT</pubDate></item><item><title><![CDATA[Reply to Electron Security Issues on Tue, 04 Jan 2022 13:48:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> I don’t know the answers, but the insecure warning is because we use http</p>
<p dir="auto">electron doesn’t know our usage model, and the web standards have changed to only use https.</p>
]]></description><link>https://forum.magicmirror.builders/post/98049</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/98049</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 04 Jan 2022 13:48:24 GMT</pubDate></item></channel></rss>