WEBVTT

00:00.596 --> 00:03.638
Welcome to another episode of Macro Mayhem. My name's Peter Ullrich.

00:03.879 --> 00:07.886
Today is November the 25th. It is 11:43

00:08.386 --> 00:11.381
in the morning, and I am joined as always. Well, not always.

00:11.573 --> 00:14.491
Last time you weren't here, but this time I'm yet again joined,

00:14.859 --> 00:18.049
thankfully and happily, by my good friend, Gus Workman.

00:18.210 --> 00:21.015
How are you doing today, Gus? I'm great, Peter. It's good to be back.

00:21.368 --> 00:23.275
I'm here to keep you on track this week.

00:24.157 --> 00:27.876
Exactly. Please do so. I gave Gus

00:28.068 --> 00:31.787
a 300-kilometer-long stick that he can whack at me

00:31.835 --> 00:35.400
when whenever I keep rambling on because he's in Luxembourg and I'm close

00:35.900 --> 00:38.948
to Amsterdam. So it needed to be a very long stick. But, uh,

00:39.061 --> 00:41.935
yeah, Gus, how was China in 3 words?

00:42.272 --> 00:46.752
It was a good trip, very busy, and finally

00:47.185 --> 00:51.071
back in on a normal routine again. So that's, that's,

00:51.264 --> 00:54.331
that's the difficult part, you know, about those long trips, but.

00:54.732 --> 00:57.076
Right. The routine and unfamiliar.

00:57.738 --> 01:02.211
Situations. Did you, did you look at Nerve stuff or did you have any hardware

01:02.339 --> 01:06.093
discussions while you were there or was it a family trip? It was

01:06.510 --> 01:10.056
family, mostly family, but with the opportunity

01:10.556 --> 01:12.880
of being in the same time zone with a lot of suppliers, had a lot

01:13.380 --> 01:16.923
of opportunity to, uh, get some details

01:17.677 --> 01:21.287
nailed down for components that my projects are ordering and things like that.

01:21.624 --> 01:25.249
So, you know, Nothing NERFs related though. Will there

01:25.297 --> 01:29.194
be a batch 27 or something? NERFs related,

01:29.450 --> 01:33.059
there is now some movement

01:33.139 --> 01:35.849
on the NERF starter kits. I had some,

01:36.908 --> 01:40.131
uh, some of those suppliers that I was talking to were related to NERF starter

01:40.631 --> 01:44.814
kits and some components and things are being ordered, finalized. So more

01:45.087 --> 01:47.797
info on that one soon. Exciting.

01:48.872 --> 01:52.576
All right. Well, let's dive into the big topic of this week. You've been busy,

01:52.640 --> 01:55.414
Peter. I've been very busy. I'm very tired,

01:55.606 --> 01:58.877
but nevertheless, you know, I'm going to give you the

01:59.377 --> 02:02.966
highlights of what happened, which is the hex.pm security incident.

02:03.367 --> 02:06.285
Oof. Oof. Big oof. Very big oof.

02:06.734 --> 02:10.454
Yeah. I am, was, and still are, and will be

02:10.582 --> 02:14.367
for a little bit still on the incident response team together

02:14.867 --> 02:18.345
with Eric and Jonatan and José. Wojtek was a little bit

02:18.845 --> 02:21.354
involved, but it was mostly the 4 of us.

02:22.794 --> 02:26.998
Yeah, timeline-wise, Monday evening UTC

02:27.498 --> 02:30.591
time, but like European evening, American morning,

02:32.461 --> 02:36.789
Eric saw a lot of weirdly

02:36.821 --> 02:39.520
suspiciously looking requests coming to hex.pm,

02:40.500 --> 02:43.809
and he was notified by a Sentry error, well, by many Sentry

02:44.309 --> 02:47.447
errors out of a sudden. Sentry errors like kept blowing up and they all had

02:47.559 --> 02:51.277
kind of weird messages, you know, nothing you would like expect.

02:51.998 --> 02:55.186
So he immediately started digging in and he found

02:55.250 --> 02:58.487
out that hex.pm is under attack by malicious

02:58.631 --> 03:01.964
requests and they were kind of probing with different ways of,

03:02.941 --> 03:06.963
um, basically creating an RCE, a remote control, a remote command

03:07.463 --> 03:11.209
execution on the Hex web workers. So the servers basically

03:11.709 --> 03:15.337
that Hex runs on. Yeah, and we

03:15.837 --> 03:19.790
believe now that they have been able to do so after thorough investigation.

03:20.320 --> 03:23.666
We can't tell yet what they exfiltrated,

03:25.228 --> 03:28.933
but just as a precaution, we have rotated all the secrets,

03:28.997 --> 03:32.416
all the signing keys, except for the big signing key

03:32.545 --> 03:36.575
that signs the— well,

03:36.867 --> 03:40.266
okay, at this point, I can't I don't know 100%, but the

03:40.766 --> 03:44.084
thing is there's a big signing key for the Hex package manager. And if you

03:44.100 --> 03:47.534
rotate that one, all your Mix steps get, and particularly

03:47.791 --> 03:51.802
the releasing of new Mix packages will be broken until you update

03:52.302 --> 03:56.439
your Mix client. So we are waiting and we're actually working on

03:56.776 --> 04:00.578
a new version of the Mix client, which will allow a

04:01.078 --> 04:04.958
more seamless rotation of keys in the future if this

04:05.458 --> 04:08.649
ever happens again. So that's one of the learnings. But yeah,

04:08.665 --> 04:12.310
so right now you should still go into hex.pm

04:12.582 --> 04:16.387
if you have a Hex account, even if you have a GitHub account,

04:16.435 --> 04:19.951
like you signed in with GitHub to Hex, you should still go

04:19.967 --> 04:24.045
in, rotate your passwords, rotate your 2FA secrets,

04:24.623 --> 04:28.395
and that will also rotate your 2FA backup codes. So make sure that you

04:28.895 --> 04:32.232
copy the new ones. If you have any API keys,

04:32.665 --> 04:35.844
we do not believe that they need to be rotated

04:35.876 --> 04:40.050
because they were stored not in plaintext, but as a

04:40.756 --> 04:44.706
hash in the database, which has sufficient randomness

04:45.206 --> 04:47.547
so that we think, well, even if they have now the hash of your API

04:47.579 --> 04:51.785
key, it will take longer than the universe existed or

04:51.994 --> 04:55.381
continues to exist to find the plaintext API

04:55.881 --> 04:59.202
key. But if you want to be sure, just rotate the API keys

04:59.298 --> 05:01.161
as well. There's no harm done there.

05:02.331 --> 05:04.894
Um, yeah, that, that about sums it up. So,

05:05.951 --> 05:08.851
yes. Um, questions? That is a heck of a vulnerability.

05:09.876 --> 05:12.952
Yes, it was the first CVE-10.0,

05:13.497 --> 05:17.117
I think, that I've seen, like a proper RCE,

05:17.165 --> 05:20.546
like the highest level of vulnerability or severity

05:21.046 --> 05:24.599
of a vulnerability assigned to Hex. We have now officially a 10.0.

05:24.695 --> 05:28.492
It makes sense though, because that could compromise a lot

05:28.556 --> 05:32.080
of things if malicious packages were pushed or things like that,

05:32.625 --> 05:36.092
but As far as, uh, that you and the

05:36.431 --> 05:39.740
response team is aware, there was no, um,

05:40.385 --> 05:43.623
actually malicious actions taken, just perhaps

05:45.438 --> 05:48.925
keys stolen. We can't say that with

05:49.535 --> 05:52.819
high confidence, unfortunately. So that's why we are precautious.

05:53.013 --> 05:56.627
We have taken precautions, rotated all the secrets, notified all

05:56.643 --> 06:00.032
the users. We also notified the

06:00.081 --> 06:03.708
users, and actually, like, there is a blog post that we linked

06:04.208 --> 06:07.877
to, and there's an Elixir forum post about it, and you should also have received

06:08.377 --> 06:12.095
an email if you're registered with hex.pm. I tried to

06:12.143 --> 06:15.565
blast it on every single channel that I could think of, so you

06:16.065 --> 06:19.727
might have seen it by now. If not, go to the hex.pm/blog domain.

06:22.063 --> 06:25.834
Yeah, so we can't really say yet what was exfiltrated, and that's

06:25.899 --> 06:28.841
a little bit the problem. Right. In, in the blog post,

06:28.857 --> 06:33.831
we state that we have received a report,

06:34.457 --> 06:38.437
a security research report shortly after we have seen,

06:38.565 --> 06:42.898
or Eric has seen, the malicious requests. So that came like

06:43.042 --> 06:47.712
30, 40 minutes after the last malicious request came

06:47.792 --> 06:51.691
through. So we do have some

06:51.964 --> 06:55.269
thoughts and ideas about who did it. And what

06:55.317 --> 06:59.392
their intents were, but we can't say anything with any

06:59.424 --> 07:02.284
confidence and also for other legal reasons just now. Right.

07:03.194 --> 07:06.932
So that's why we are treating this as a proper compromise of

07:06.948 --> 07:10.814
the production servers that potentially exfiltrated all the secrets,

07:11.520 --> 07:14.327
all the username, uh, the user, well,

07:14.423 --> 07:17.327
usernames, they're not that fancy because they're public anyway,

07:17.792 --> 07:20.808
but user emails, user password hashes.

07:22.447 --> 07:25.808
user 2FA secret hashes and

07:26.308 --> 07:29.301
the 2FA backup codes and also the API tokens.

07:29.829 --> 07:33.851
So we consider all of those compromised by now. What we can

07:34.123 --> 07:37.504
rule out and what we have ruled out already is that

07:38.004 --> 07:41.526
any, like, no packages were changed

07:41.894 --> 07:45.788
in any suspicious way. I mean, there were package changes, but like from

07:45.836 --> 07:49.248
these requests, we did not see that they changed any of the packages.

07:49.296 --> 07:52.972
So we don't— Hmm. expect any malicious package to be now out

07:53.472 --> 07:56.685
there. Mm-hmm. So generally, everything that

07:57.185 --> 08:00.765
is not account-related, so packages, private packages as

08:00.862 --> 08:02.699
well, because Hex also has a private offering,

08:04.101 --> 08:07.585
we don't see that they were modified.

08:08.296 --> 08:11.967
Now, we don't have all the data, we don't log all

08:12.015 --> 08:15.071
the database queries for reading, for example,

08:15.087 --> 08:18.732
private repositories, so we can't rule out that private

08:18.748 --> 08:21.622
repositories on Hex were exfiltrated.

08:22.040 --> 08:25.508
That might have been the case. Again, you know, we are working

08:26.008 --> 08:29.843
on finding out what exactly was exfiltrated. But yeah,

08:29.859 --> 08:33.022
so we just can't say with high confidence

08:33.135 --> 08:36.699
that nothing that you would download on a regular basis,

08:37.133 --> 08:41.243
so dependencies from Hex, has been modified

08:41.743 --> 08:45.448
in a malicious way. Right. So at

08:45.496 --> 08:48.833
least in terms of mitigation steps right now, the casual

08:49.009 --> 08:53.020
user of Elixir, someone who doesn't publish any packages and

08:53.100 --> 08:57.512
just runs mix steps.get in their projects, they don't

08:57.528 --> 09:00.737
necessarily have any action items. They don't have an account on Hex,

09:00.817 --> 09:04.138
so they don't need to rotate anything. However, if you do have an account,

09:04.148 --> 09:07.764
they do. Then you should go in, rotate your password,

09:08.021 --> 09:11.645
rotate your 2FA codes. Um, is that something that Hex

09:11.886 --> 09:15.436
is gonna be able to like force library authors to do before they,

09:16.272 --> 09:19.196
um, like push a package or, uh,

09:19.630 --> 09:22.040
log in next time they must change those things?

09:23.426 --> 09:27.015
Uh, that's a good question. I, I think,

09:27.112 --> 09:31.504
yeah. Um, good question. I think that happened because we rotated some of the

09:31.520 --> 09:34.267
secrets. So yeah, I,

09:35.287 --> 09:39.004
It's something I need to follow up on, but I do believe that if

09:39.504 --> 09:42.869
you try to release a new package and you haven't rotated, for example, your Twive,

09:44.859 --> 09:48.515
you will have to redo that. But what we actually did is we locked everyone

09:48.564 --> 09:54.647
out locally. So if you do mix hex.auth.login—

09:55.001 --> 10:00.250
wait, let me get that one right. Mix local.hex.force

10:00.750 --> 10:05.123
to updating. Okay. And yeah,

10:08.505 --> 10:11.949
so it's mix hex.user_auth, or if you're using

10:11.998 --> 10:16.096
Rebar 3, it's rebar3 hex.user_auth. So that

10:16.596 --> 10:19.839
is something where you locally log in to your Hex or Rebar,

10:20.290 --> 10:24.062
well, to your Hex account with OAuth, and those were

10:25.309 --> 10:28.225
rotated, so revoked, so you need to re-login.

10:30.085 --> 10:33.493
Again. Yeah. And that also, if you release locally, that is the

10:33.655 --> 10:36.836
authentication method you're using to release

10:36.982 --> 10:41.078
the package. Right. Yeah. So bottom

10:41.127 --> 10:44.477
line, change your secrets, change your password,

10:44.980 --> 10:47.879
change your 2FA secret, change your 2FA backup codes.

10:47.976 --> 10:51.664
Basically, you just copy the new one. Right. And re-login with

10:51.712 --> 10:55.110
maxmix@hex.pm/user. Both.

10:55.703 --> 10:59.326
Right. And at the end of the day is that it will force you to

10:59.826 --> 11:02.949
do this, right? Because, uh, you can't publish a package

11:02.997 --> 11:07.277
without those new 2FA codes. Yes. Yeah. So that's

11:07.325 --> 11:10.419
good. At least, um, since the codes have been,

11:10.788 --> 11:14.426
or since the keys have been rotated, the chance of malicious packages

11:14.442 --> 11:18.226
being pushed is low. Yeah. Yeah. We,

11:18.242 --> 11:20.999
we, we feel pretty confident about this.

11:21.993 --> 11:25.572
But again, we take precautions and we try to make this

11:25.604 --> 11:29.408
announcement as widely available as possible. Yeah, it's a big

11:29.440 --> 11:32.714
one. One, sorry, Gus, to interrupt, but one thing

11:32.906 --> 11:36.533
that you should watch out, even if you are not logged into Hex or you

11:37.033 --> 11:40.385
don't have a Hex account, if you run mix deps get

11:40.529 --> 11:44.060
against a mirror of Hex,

11:44.542 --> 11:47.382
so you don't download the packages from hex.pm.

11:47.832 --> 11:51.252
Directly, but for whatever reason you're going through a mirror

11:51.830 --> 11:55.474
or a proxy or cache or whatever that

11:55.974 --> 11:59.536
is not run by the HACS team. So something maybe private, internal, or third

11:59.553 --> 12:03.374
party. Don't trust those for now because,

12:03.807 --> 12:07.500
because, you know, some secrets might have been compromised that would allow a

12:07.565 --> 12:11.193
person to set up man-in-the-middle attacks in this regard to, yeah,

12:11.434 --> 12:15.174
fake HACS signatures. So make sure that you

12:15.190 --> 12:18.736
go directly to hex.pm, but if you just run mix deps get

12:19.236 --> 12:22.811
locally without any custom configurations, it should do so.

12:23.212 --> 12:26.581
It should go directly to hex.pm. Yeah. So check if you have

12:27.081 --> 12:30.672
one of those weird configurations, although I think most people probably would know. You would

12:31.172 --> 12:34.554
probably know about it. Yeah. Because it's a company internal thing or whatever, but just,

12:34.619 --> 12:38.100
you know, keep that in mind. Yeah. Then, so can you dive into

12:38.309 --> 12:42.160
a little bit about how the attack happened, because the

12:42.642 --> 12:45.965
blog post that we've linked, um, actually does discuss,

12:46.639 --> 12:50.443
uh, the vulnerability that was exploited, right? But, um,

12:50.507 --> 12:54.055
let's hear it from, from, from your

12:54.199 --> 12:57.056
perspective on how this was discovered and, and everything.

12:57.249 --> 13:00.620
Yeah. So, so there were 2 ways of this, 2 timelines that we need

13:01.120 --> 13:04.472
to discuss. One of them is the actual timeline of the attack,

13:05.098 --> 13:08.932
and the other one is a more technical Not timeline, but a technical

13:09.045 --> 13:13.020
playbook of how the attack worked. And I think the second part is very important

13:13.052 --> 13:16.466
because we have seen the same form

13:16.803 --> 13:20.602
of this attack, the same form of vulnerability in other

13:20.971 --> 13:24.048
libraries. Hex and Flop, for example,

13:24.112 --> 13:28.296
were 2 that already fixed that. And I also know from

13:28.344 --> 13:32.304
other sources that there were companies who had products

13:32.752 --> 13:36.698
that had this vulnerability. I don't think they were

13:36.939 --> 13:40.517
attacked in any way, but just by knowing about this vulnerability

13:40.854 --> 13:44.608
and also creating a CVE of 10.0 attracts attention

13:44.801 --> 13:48.860
from actors that are, yeah, just outside actors

13:48.972 --> 13:53.128
and potentially malicious actors. So make sure that you take the

13:53.628 --> 13:56.995
learnings and the description of the vulnerability and

13:57.495 --> 14:01.086
just scan your own source code with it and make

14:01.586 --> 14:05.149
sure that you're not vulnerable to this. And The big function you

14:05.165 --> 14:10.531
can search for is the PlugCrypto::non_executable_binary_to_term.

14:12.009 --> 14:15.499
If you run this anywhere in your codebase

14:15.772 --> 14:18.828
with third-party or outside input, even if you

14:18.925 --> 14:21.948
think it's fine and you authenticated a person,

14:23.940 --> 14:27.025
just don't. Just make, like, try to get rid of it.

14:28.822 --> 14:32.072
If you can, if you can't, at least

14:32.572 --> 14:36.277
make sure that, like, if you decode

14:36.389 --> 14:40.545
the input, so you have some client input and you run it through non-executable

14:40.577 --> 14:44.333
binary to term, make sure that you check that the output of

14:44.413 --> 14:48.280
it is not a struct. Because the

14:48.780 --> 14:51.891
vulnerability here, maybe we start with that one first. So let's back up a little

14:52.391 --> 14:55.020
bit because we're getting into solutions. Let's look at the problems.

14:55.827 --> 14:59.484
Yeah. So yeah, I'm going to explain how the vulnerability

14:59.660 --> 15:03.016
worked, because then you can go off and find your code,

15:03.931 --> 15:07.013
scan your codebase. In general,

15:08.009 --> 15:11.685
the crucial part of this vulnerability was

15:11.798 --> 15:16.582
that the PluckCrypto non-executable binary to term allows

15:17.000 --> 15:21.045
an input or decodes an input into a

15:21.545 --> 15:25.493
map. And a map in Elixir can

15:25.525 --> 15:29.347
hold a __struct__ key and fields,

15:29.925 --> 15:34.019
which Elixir interprets the map as being a struct.

15:35.480 --> 15:39.141
And that is the critical point here. So if you can decode

15:39.478 --> 15:42.304
a map with that __struct__ key,

15:42.963 --> 15:46.222
Elixir will think, oh, the decoding value is a struct.

15:46.720 --> 15:50.544
Okay. And at this point, an attacker can create structs in

15:50.640 --> 15:54.160
your application. Now— So, so quick question

15:54.256 --> 15:57.776
to tie this back to Hex. Where does Hex bring

15:57.888 --> 16:02.920
in that external data and call this, uh— The

16:02.952 --> 16:06.684
function? Yeah. Yeah. Hex has a pipeline

16:06.974 --> 16:10.321
where they accept a Beam, an Erlang

16:11.158 --> 16:14.814
Beam binary. And they do

16:14.910 --> 16:18.880
parse it before they authenticate

16:19.380 --> 16:22.868
a user. However, they thought because they use non-executable

16:22.900 --> 16:25.941
binary to term with the safe option enabled,

16:26.523 --> 16:30.048
they would be safe. And yeah, I mean, you can decode stuff,

16:32.400 --> 16:34.684
but in this regard, yeah,

16:35.738 --> 16:39.448
the decoding part was the issue. So the issue here was basically

16:39.464 --> 16:42.288
that they decoded input,

16:43.155 --> 16:46.848
like into a struct. And then, okay, you have a struct

16:47.348 --> 16:50.444
variable and you might think, well, I then have the rest of my pipeline.

16:50.541 --> 16:54.073
So I'm doing authentications. I do like checks

16:54.573 --> 16:57.734
that this value, the input is actually like a map of string

16:58.087 --> 17:02.615
keys that I'm expecting, some, you know, JSON input or something. So then you

17:03.115 --> 17:07.252
would think, oh, well, even if the struct now exists, It won't

17:07.752 --> 17:10.618
reach any downstream code, right?

17:10.682 --> 17:13.776
Because I have a controller that would just send an argument or

17:14.128 --> 17:18.231
undefined function error when the struct is sent

17:18.731 --> 17:21.741
to the function. And that is what happened here as well. And that is what

17:22.241 --> 17:25.540
triggered the Sentry error. Because once the

17:26.040 --> 17:29.258
struct was actually decoded, it just caused a function

17:29.355 --> 17:33.249
error, a function clause error. Mm-hmm. And that's fine if

17:33.297 --> 17:36.199
you think, well, okay, the attack is stopped at this point.

17:36.904 --> 17:40.589
But the second part of the vulnerability was quite interesting, and that is something you

17:41.089 --> 17:43.473
should also keep in mind now that we know about this.

17:44.835 --> 17:48.969
The second part of the vulnerability is that we have protocols

17:49.017 --> 17:52.429
in Elixir that call functions on structs and

17:52.526 --> 17:56.547
other input whenever they're globally executed.

17:56.771 --> 18:00.344
So if you think about the inspect protocol that kind of

18:00.441 --> 18:03.709
stringifies any Elixir Erlang term,

18:04.402 --> 18:08.342
into strings that you can log, that you can send to Sentry.

18:08.534 --> 18:11.740
It's the same thing that works behind the

18:12.240 --> 18:15.379
scenes on the IEX console, io.inspect. You can throw

18:15.523 --> 18:18.617
any data type in there and it will try to put it as a string.

18:19.451 --> 18:23.105
Exactly. So yeah, the inspect protocol is implemented,

18:23.137 --> 18:27.610
for example, for structs, right? So you can just do logger.info

18:27.706 --> 18:32.002
and then you do inspect around your variable and the inspect protocol will convert

18:32.098 --> 18:36.010
the variable, which might be a struct, into a string version that logger can

18:36.510 --> 18:39.584
And then put into your logs. And this is where the second part of the

18:40.084 --> 18:43.367
vulnerability came in, because if you craft the struct in a

18:43.416 --> 18:44.970
very particular way,

18:46.205 --> 18:49.796
um, the struct can call the

18:49.812 --> 18:53.723
inspect implementation, and then the inspect implementation

18:53.819 --> 18:56.945
will take the implementation of that struct type.

18:57.137 --> 19:02.347
Mm-hmm. And in this situation, it was an Acto::Query::DynamicExpression.

19:03.445 --> 19:07.350
So that was the struct type. And inside that dynamic expression

19:07.366 --> 19:10.878
struct, you had a binding field, which would have

19:10.974 --> 19:14.983
a list of bindings. And the inspect

19:14.999 --> 19:18.992
implementation would then iterate through that list

19:19.072 --> 19:22.680
of bindings and try to stringify those as well, so that

19:23.180 --> 19:27.025
the whole nested struct can be converted into a

19:27.525 --> 19:29.735
map or eventually a string that you can log.

19:31.720 --> 19:37.670
Right. And at this point, the issue was that the

19:38.781 --> 19:41.566
dynamic expression had,

19:42.339 --> 19:46.236
yeah, this list, but it never really checked— sorry,

19:46.590 --> 19:50.608
actually in the binding field of the dynamic expression, there was yet another

19:50.689 --> 19:54.175
actor, another struct, which was the

19:54.239 --> 19:57.847
DBConnection.Stream struct. So now

19:58.521 --> 20:02.195
the inspect protocol would call the enumeration on the binding

20:02.227 --> 20:04.778
field, which would be a DbConnection.Stream.

20:05.660 --> 20:09.254
And then for enumerating this stream struct, it would

20:09.446 --> 20:13.265
call again another protocol, which is the enumerable implementation,

20:14.644 --> 20:19.040
right? So it's all like implementation

20:19.056 --> 20:22.185
call, protocol calls on different types of struct.

20:22.590 --> 20:25.749
first inspect and then enumerate, uh,

20:25.958 --> 20:29.908
until it hit this DbConnection.Stream struct. And then inside

20:29.988 --> 20:34.371
there, there, there could be, uh, certain functions

20:34.484 --> 20:38.129
basically defined. So, you know. So to be clear, it's not

20:38.241 --> 20:43.540
that they were able to ship the protocol

20:43.620 --> 20:46.687
implementation in their specially handcrafted,

20:47.313 --> 20:50.671
um, agent crafted message, but rather

20:50.783 --> 20:54.784
that they were able to set the struct. And then this inspect protocol

20:55.443 --> 20:58.914
was already compiled into the app because that's just part of Ecto. Exactly. Part of

20:59.123 --> 21:02.754
how Ecto does debugging with inspect and all that sort of nice

21:03.254 --> 21:06.594
to have features. So it was not like a vulnerability in the

21:07.012 --> 21:10.467
code per se, but it was a vulnerability to craft the struct

21:11.013 --> 21:13.889
in such a way that it looked like an Ecto struct.

21:14.546 --> 21:18.008
Yep. And then that actor struct was inspected and part of that inspect,

21:18.472 --> 21:22.543
also how it was specially crafted, was to eventually

21:22.575 --> 21:26.100
get to a database query. Um, not particularly.

21:26.245 --> 21:29.097
It wasn't a database query. So yes,

21:29.321 --> 21:32.654
you first had the inspect protocol on the, on the actor type,

21:32.670 --> 21:36.004
on the actor struct, but then inside the actor struct, there was

21:36.260 --> 21:40.203
a binding field, which was thought to be a list. And You know,

21:40.443 --> 21:43.876
inspect would just enumerate that list to check, okay, what's inside this

21:44.376 --> 21:48.047
list? But it, uh, it was not a list. It was another struct. In this

21:48.547 --> 21:52.668
case, it was a DBConnection.Stream struct. And then inspect

21:52.860 --> 21:56.758
would call the enumerate protocol on that .Stream

21:56.806 --> 22:00.336
struct. And the stream would just iterate through whatever it had in its

22:00.836 --> 22:03.544
stream. Ah. So inside that,

22:04.410 --> 22:07.923
inside that stream struct, you can now create, you could have function

22:07.955 --> 22:12.334
calls and you always have triples or tuples of

22:12.526 --> 22:15.220
module, function, and the input variables.

22:16.712 --> 22:20.914
So, you know, and that, and then because you enumerated that

22:21.571 --> 22:25.324
and it would call this tuple of module,

22:25.420 --> 22:29.301
function, and input arguments, and this way you could execute

22:29.510 --> 22:33.120
any function that you wanted. Any arbitrary code. So it's, it's quite the

22:33.201 --> 22:36.336
chain of events that happens to make this

22:36.836 --> 22:40.017
possible with systems generally working as they were intended,

22:40.451 --> 22:44.777
but with one data parsing

22:45.197 --> 22:48.184
flaw in that, allowing the struct in, in the first place.

22:49.157 --> 22:52.179
Yeah, it was really interesting. Uh,

22:53.337 --> 22:56.760
yeah, for these 2 reasons, like one of them is that you can create structs

22:56.969 --> 22:59.138
with the non-executable binary to term.

23:00.348 --> 23:03.493
And the second reason was that we don't think about

23:03.993 --> 23:07.328
protocols when we do our security research because it's,

23:07.360 --> 23:10.762
it's a functional language. So you only really think about which function

23:10.810 --> 23:15.191
is called next. You go through the function call stack and then you

23:15.691 --> 23:19.812
can basically say whether an attacker has a theoretical or practical

23:20.502 --> 23:23.711
way of calling certain functions. And if they're not in that function call

23:24.211 --> 23:28.173
stack, you just assume that it's not possible for them to call A downstream

23:28.285 --> 23:31.978
function, but with protocols, it's kind of the OOP

23:32.123 --> 23:35.189
problem where, you know, any function,

23:35.254 --> 23:39.075
like there's a global function somewhere, like a magic function in the cloud that

23:39.268 --> 23:41.901
out of a sudden gets called if you do the, for example,

23:42.495 --> 23:45.835
inspect function. Yeah. I mean, I think this is probably too

23:45.867 --> 23:49.448
early to say, but do you think that there's going to be any reconsideration

23:49.560 --> 23:53.494
to how these protocols work given this, this attack? I don't

23:53.558 --> 23:56.787
think so. No, to be honest, I don't think so. I think that

23:58.217 --> 24:02.298
we need to, I mean, first of all, this is a new class of vulnerabilities

24:02.330 --> 24:06.314
that we've seen. It's very interesting, but it's just something

24:06.346 --> 24:09.527
that yet again now is publicly known,

24:10.185 --> 24:12.772
and we need to make sure that we scan for that kind of stuff and

24:13.272 --> 24:16.643
we check for this kind of stuff. Right. But again, like protocols are

24:17.143 --> 24:19.712
so baked in and they're so useful, I wouldn't want to rip them out anyway.

24:20.362 --> 24:23.277
It, this, this is not the right learning from it. It's more like,

24:24.562 --> 24:28.433
you know, previously you knew that binary_to_term or string_to_atom are

24:28.933 --> 24:32.320
very dangerous functions. Well, now you should put non-executable binary_to_term

24:32.433 --> 24:35.726
on that list of functions as well. Right. Because yeah. And,

24:35.742 --> 24:39.227
and if you do use it somewhere, just don't, just don't use it. Just do

24:39.500 --> 24:43.002
JSON encoding. It's fine. That brings the question

24:43.050 --> 24:46.423
is why was Hex using this specific Uh,

24:46.664 --> 24:49.747
binary, non-executable binary to term. What was the data that

24:49.876 --> 24:53.265
required it to be non-executable binary to term rather than JSON

24:53.765 --> 24:57.152
or something like that? I do believe it is to support older ways

24:57.409 --> 25:01.038
of releasing dependencies that now they

25:01.538 --> 25:04.861
come as JSON, but previously they came as an Erlang, um,

25:05.455 --> 25:08.764
term or like an Erlang binary that then would be like

25:08.972 --> 25:12.136
converted back into a term. That's just an old

25:12.622 --> 25:15.486
artifact of how the previous version of Hex clients worked?

25:16.191 --> 25:19.204
Yes. Yes. So latest versions, they use JSON.

25:20.118 --> 25:23.851
Older versions of the client still use the, uh, Erlang binary type.

25:24.540 --> 25:27.729
Man, it's such a powerful encoding type,

25:28.290 --> 25:32.761
but that encoding type comes with a lot of considerations

25:32.857 --> 25:36.175
that is hard to, to manage from

25:36.675 --> 25:39.574
a security perspective. That's the reason why the industry kind of decided on JSON.

25:40.247 --> 25:44.386
You know, it's, you can, you can, uh, you have a certain set of

25:44.563 --> 25:47.996
types that you can send and it's all strings

25:48.349 --> 25:51.942
until you decode it safely, you know, and then you can

25:52.442 --> 25:55.038
decide on what is safe and what is not. And if you just say,

25:55.166 --> 25:57.925
oh, just create any, any, uh,

25:58.920 --> 26:02.273
language type that you want, you know, that,

26:02.546 --> 26:05.882
that is, that is the unsafe part of this. That's what binary to term does.

26:06.155 --> 26:08.529
What do you mean I can't send functions over JSON?

26:10.388 --> 26:13.801
Well, you could still, right? Um, but you have to decode them yourself.

26:14.554 --> 26:17.855
Exactly. And then you could say, well, there can only be a list of certain

26:18.355 --> 26:20.851
function names with certain arity, that kind of stuff. Right.

26:21.476 --> 26:25.113
So it, it's, this is quite the vulnerability.

26:25.449 --> 26:29.199
It's, um, I'm just incredibly

26:29.231 --> 26:33.365
in awe of, of you and the Hex team getting this response time

26:33.397 --> 26:37.051
down to, I think your blog post said 20 minutes or so. Yeah. It was

26:37.067 --> 26:40.564
like 15 to 20 minutes until the fix was fully released. How much

26:40.596 --> 26:43.837
of that was like kind of luck? What,

26:44.046 --> 26:46.982
what if this happened in the middle of the night? No one was monitoring those

26:47.482 --> 26:50.286
Sentry errors. Yep. This would have,

26:50.623 --> 26:53.784
um, not been fixed within 15 to 20 minutes.

26:54.714 --> 26:58.148
I mean, uh, the, the issue that kicked it all off was

26:58.196 --> 27:01.148
a Sentry error and then not one, but like 60,

27:01.164 --> 27:04.645
70 different errors. Right. Coming in, in a very short amount of

27:04.677 --> 27:08.335
time, and they all looked suspicious. And luckily, Eric was at his computer.

27:09.394 --> 27:12.346
He got the notification, he jumped right on it. And then,

27:13.324 --> 27:16.982
I mean, agents played a huge role in this as well, in the fix

27:17.014 --> 27:20.752
and the investigation, also in the

27:21.185 --> 27:24.891
process afterwards, like the announcement, the blog post, the analysis

27:24.955 --> 27:28.805
of the logs, analysis of all the data that we could gather.

27:29.948 --> 27:33.250
Yeah. Like without that, it would have taken much, much longer to

27:33.298 --> 27:37.085
compile our findings, to understand what was happening, to get

27:37.229 --> 27:40.856
the fix out there. So. And this, this goes

27:40.872 --> 27:44.867
again, I think, to, uh, we talked about this a couple episodes

27:45.367 --> 27:49.056
ago that, um, the hex.pm and the EEF CNA

27:49.681 --> 27:52.810
is just really one of the best, um,

27:53.356 --> 27:57.271
CNAs that are out there in terms of responsiveness and the issues,

27:57.368 --> 28:00.432
the quality of the findings and the quality of the fixes that, You guys have

28:00.932 --> 28:04.760
done huge kudos to you guys. Clearly there is no one better

28:04.824 --> 28:08.526
to be running, uh, the security of our

28:09.026 --> 28:11.572
ecosystem and the BEAM ecosystem at large. So,

28:12.277 --> 28:15.338
um, huge kudos and I commend you all for

28:15.838 --> 28:19.426
that. Yeah, thank you. I mean, I'm, I don't, I do

28:19.926 --> 28:23.449
think there are better teams than us for sure. Um, but what I see

28:23.949 --> 28:28.241
is that the quality of the incident response, the timeliness, the speed,

28:28.795 --> 28:32.271
Uh, the level of transparency we work with and also just the,

28:33.042 --> 28:37.088
the professionalism of the response. Right. Um, all of that are like,

28:37.313 --> 28:40.862
I saw levels of quality here that I would expect

28:40.926 --> 28:44.426
only from high performing, performing, uh,

28:44.442 --> 28:47.846
professional teams like at Microsoft, you know, and we got,

28:47.910 --> 28:51.539
we have that capability and the competence of

28:52.039 --> 28:54.734
these people in-house. And unpaid,

28:55.295 --> 29:00.315
like partially. Should we run the EEF funding

29:00.412 --> 29:03.940
spiel? Sponsorship. Yet again. This is all

29:04.037 --> 29:07.902
unpaid work. Send money to EEF. I mean, not fully unpaid, you know,

29:08.111 --> 29:11.495
like Jonatan, the CISO, gets paid for his work.

29:11.720 --> 29:14.880
I get paid for different work, but, you know, I consider it part of

29:14.944 --> 29:18.793
it, just generally be available work. I'm not sure about

29:19.293 --> 29:22.531
Eric, but generally this was not the work of fully

29:22.803 --> 29:25.980
paid and employed professional teams, you know, highly paid teams.

29:26.333 --> 29:29.799
It's not the security team at Microsoft that has

29:30.168 --> 29:34.597
their full-time salaries to only look at logs and perform

29:35.097 --> 29:38.544
security incident responses. This is a community effort,

29:39.170 --> 29:42.828
first and foremost, um, that happens to have a little bit of funding behind it,

29:42.941 --> 29:46.760
but really needs more. So, yeah. So yeah,

29:46.776 --> 29:48.637
if you haven't yet, you know, you can go to, uh,

29:48.814 --> 29:52.393
sponsor.erlleft. You can become a company sponsor,

29:52.490 --> 29:56.215
but also if you're an individual, it is very much appreciated if you sign

29:56.247 --> 29:59.169
up for the EEF membership of $100 a year.

29:59.860 --> 30:03.665
That also helps, um, you know, just like a little drop

30:04.165 --> 30:07.197
in the bucket, but every drop helps. And it also just gives us more

30:07.697 --> 30:10.682
negotiation power at the table where we can say we have X amount of,

30:10.939 --> 30:13.315
um, paying members of the EEF. Right.

30:14.471 --> 30:18.436
Yeah. So. That's a big one. It is a

30:18.936 --> 30:22.496
big one. Uh, it's still not done yet, so there will be further follow-ups.

30:22.737 --> 30:25.642
Uh, if you want to follow them, ideally, yeah,

30:25.882 --> 30:29.429
there is an Elixir forum post that I made yesterday. So if

30:29.929 --> 30:33.056
you follow that one, I will put all the latest updates there.

30:33.666 --> 30:37.020
We will also release the updates on the hex.pm blog

30:37.662 --> 30:41.048
and generally on all the different channels. But I think the Elixir forum post,

30:41.128 --> 30:44.464
that, that is where the Like, I will at least put all the information that

30:44.496 --> 30:47.750
we're gathering. Um, again, the incident is

30:47.927 --> 30:51.406
mitigated, but we're still now in the cleaning up process

30:51.534 --> 30:54.548
of finding out what exactly was exfiltrated, uh,

30:54.820 --> 30:58.748
and that kind of stuff. Right. Well, everyone keep

30:58.764 --> 31:02.579
an eye on that. The Elixir forum link is in the description.

31:02.852 --> 31:06.186
So I think it's pinned on the Elixir forum as

31:06.283 --> 31:10.247
well, right? It's right at the top. Yeah. Yeah. It's the hex.pm security

31:10.747 --> 31:14.406
incident. Hello. I wanted to quickly jump in here to answer a couple of

31:14.906 --> 31:18.486
the questions for which I didn't have the answers on the spot during the

31:18.986 --> 31:22.340
last section. So the first question was, did we force logout

31:22.356 --> 31:25.713
users both from hex.pm and also locally? And the answer to that

31:26.213 --> 31:30.146
is yes. By rotating the secrets, all website sessions

31:30.290 --> 31:33.406
were revoked and also all OAuth sessions

31:33.502 --> 31:37.229
locally were revoked. So now you need to log in back into the website

31:37.310 --> 31:41.607
and also locally with mix hex.user_auth to

31:41.671 --> 31:43.732
log in again. Next question was,

31:44.573 --> 31:47.452
must people rotate their credentials, so their passwords,

31:47.630 --> 31:50.945
before they can release new versions? And the answer to that

31:51.445 --> 31:54.925
is no, you don't have to rotate your password before you

31:55.425 --> 31:59.520
can release a new version, but you should rotate

32:00.020 --> 32:03.305
your password. But the reason we didn't reset all the passwords,

32:03.417 --> 32:07.104
which would've caused everyone to be forced to reset their password,

32:08.130 --> 32:12.378
was that we thought that only weak passwords can

32:12.878 --> 32:16.386
be attacked right now. So they can be found out by brute force.

32:17.027 --> 32:20.393
And if you have a strong password, then you would be

32:20.650 --> 32:23.984
okay. You know, if you have 40 characters of really random

32:24.096 --> 32:28.106
characters, it's very hard to brute force that password. So we didn't wanna

32:28.606 --> 32:31.509
make that decision that every single password can be attacked right now.

32:32.520 --> 32:35.971
And that's why we didn't reset the passwords, like force reset

32:36.471 --> 32:40.290
them for the users. And that means that you can still release new versions with

32:40.790 --> 32:44.367
the old password, but again, you should rotate your password. Next question

32:44.383 --> 32:48.027
was, what was that big signing key that we haven't rotated yet?

32:48.717 --> 32:52.329
That big signing key signs every single resource

32:52.345 --> 32:56.005
that you download from hex.pm to your local computer. So every time

32:56.102 --> 32:59.214
you run mix deps get, It downloads the resources

32:59.326 --> 33:03.784
and then it has the public key to that signing key in

33:03.896 --> 33:07.921
the code. It's baked into the code and it verifies the signature

33:08.049 --> 33:11.320
of the resource with that public key. And this is

33:11.416 --> 33:15.008
mostly a prevention if somebody is in the

33:15.024 --> 33:18.937
middle, like a man in the middle or a cache or something in

33:18.969 --> 33:22.545
the middle would change the bytes as they come

33:22.641 --> 33:25.657
from hex.pm to your local computer. And by signing them,

33:26.027 --> 33:29.256
you know, you can on your local computer make sure that this

33:29.756 --> 33:33.192
is actually the signed bytes that you, that Hacks sent you.

33:33.899 --> 33:37.064
The issue with that is that the public key is hardcoded into Mix right now.

33:37.659 --> 33:40.663
And if you would rotate that secret, the big signing key,

33:41.049 --> 33:44.583
every single Mix deps_get would fail unless you force it

33:44.728 --> 33:48.343
or you ignore that check basically. So that's why we are

33:48.843 --> 33:52.601
working on a new version of Mix, which will allow multiple

33:53.101 --> 33:56.987
public keys and fall back to the next one if one doesn't

33:57.678 --> 34:01.036
work. And this way we can also rotate keys easier

34:01.534 --> 34:05.053
in the future. So that's about to come in the next few

34:05.553 --> 34:09.038
days. Last question was, why did Hex accept this

34:09.247 --> 34:13.328
MIME type of binary Erlang binary terms where

34:13.828 --> 34:16.445
people could send binary Erlang terms? Why did they accept it?

34:17.602 --> 34:20.937
And the answer to that is that it was necessary to support

34:21.114 --> 34:24.465
older OTP versions like OTP24 that

34:24.498 --> 34:27.913
did not yet have JSON support natively,

34:28.186 --> 34:32.067
so built in. And in OTP24, if you wanted to release

34:32.179 --> 34:35.884
a library with OTP24, if you wanted to build that library and release

34:36.384 --> 34:40.278
it on Hex, the only option you had was to either include a JSON

34:40.294 --> 34:43.421
library to then do the JSON work.

34:43.951 --> 34:46.888
But we didn't, you know, Hacks didn't want to force that on everyone who wanted

34:47.388 --> 34:50.498
to publish an OTP version or like a library in general.

34:51.301 --> 34:55.120
So they also supported the Erlang binary term, which OTP24

34:55.620 --> 34:59.020
understood how to create and decode to, and then

34:59.293 --> 35:02.101
use that to send the library to Hacks.

35:02.823 --> 35:06.531
But that might also change in the near future where

35:07.031 --> 35:10.879
that support is being dropped and then JSON is the only option to,

35:11.328 --> 35:14.790
to send packages, but that is something for the Hex team to decide.

35:15.255 --> 35:18.685
Just a little bit of background on why they accepted this in the first place.

35:19.358 --> 35:22.869
All right. Those are all the questions. And, uh, thanks for sticking around.

35:22.965 --> 35:26.427
And now let's continue with the show. Well, I think this

35:26.927 --> 35:30.402
security incident was a big one and it kind of overshadowed that

35:30.902 --> 35:34.330
we had some more CVEs in OTP itself as the next news item,

35:34.730 --> 35:36.462
right? Yeah. I mean, this has been,

35:38.294 --> 35:41.406
Security Tuesday, Patch Tuesday, basically. Uh,

35:41.631 --> 35:45.871
yeah. Also OTP released new versions because they themselves have

35:46.079 --> 35:49.629
a bunch of CVEs. Um, you know, now this fix,

35:49.982 --> 35:54.479
this version 29.1.3, and also 28

35:54.979 --> 35:58.799
and 27, their versions out, fixed versions, all 3 of them close 9

35:58.895 --> 36:02.830
vulnerabilities that have been reported. 3 of them were

36:03.330 --> 36:06.567
caused by binary_to_term. So, huh, look at that.

36:06.695 --> 36:10.091
So yeah. Um, maybe don't use binary_to_term ever

36:10.139 --> 36:14.305
again in your whole life. Yeah. And there was even an EEF

36:14.369 --> 36:18.727
blog post that we also linked in the description about stop using binary_to_term.

36:18.936 --> 36:22.252
Exactly. So if you didn't get the message

36:22.300 --> 36:25.873
yet, really stop using it. Just stop. I mean, string_to_atom shouldn't be used.

36:25.921 --> 36:28.661
binary_to_term shouldn't be used. And now also new in the list,

36:29.206 --> 36:32.458
non-executable binary_to_term, even with a safe option,

36:32.746 --> 36:35.842
don't use it. Yeah. Right. Just, just don't.

36:36.981 --> 36:40.029
I think, I mean, we're kind of,

36:41.312 --> 36:44.681
if there's any other notes on that one, I think the next

36:45.181 --> 36:48.691
interesting point is that there are new audit tools, right? Exactly. That can help you

36:49.191 --> 36:52.028
catch these things and catch your uses of binary determinism,

36:52.221 --> 36:56.119
non-executable binary determinism, whatever is

36:56.167 --> 36:59.568
next. So the 2 tools I added here, one, I saw them on

36:59.584 --> 37:03.274
Elixir forum and I wanted to point this out because with all these CVEs

37:03.774 --> 37:07.155
coming out, They seem scary at

37:07.219 --> 37:10.795
first, but eventually you might just not be vulnerable

37:10.827 --> 37:14.563
to them, even if they are in a library that you're pulling into your application.

37:15.622 --> 37:20.048
And the key factor here is that if, like, sometimes a CVE

37:20.548 --> 37:23.383
is caused by a certain function that a library offers, for example,

37:23.479 --> 37:27.071
PluckCrypto::NonExecutableBinaryToTerm, right? I'm going

37:27.087 --> 37:30.070
to repeat this until I'm in the grave, 6 feet under.

37:31.594 --> 37:35.011
But yeah, so sometimes a CVE is for a library that you pull in,

37:35.107 --> 37:38.700
but you don't use that particular function that has the vulnerability.

37:39.438 --> 37:42.951
And until now, it is, yeah, you would need to do a regex search for

37:42.967 --> 37:45.999
that particular function to understand whether you're actually using that function.

37:46.737 --> 37:50.459
And there are 2 tools that came out. One of them is called

37:50.523 --> 37:53.988
beam_audit, and the other one is vulncheck,

37:54.196 --> 37:57.421
like vulnerability check, and we'll link to them here in the show notes

37:57.921 --> 38:01.319
too. And they both, first of all, check OSV

38:01.656 --> 38:04.961
and the, the hex CVE records. So they check

38:05.186 --> 38:08.346
your libraries against public CVEs, which also

38:08.846 --> 38:13.191
Mix already does for you. But more interestingly, the 2 libraries,

38:13.368 --> 38:17.138
they compile the AST of your application and

38:17.154 --> 38:20.363
then scan the AST whether you use

38:20.863 --> 38:23.379
the actual function that has the vulnerability or not.

38:24.438 --> 38:27.567
So this makes it a little easier for you to understand whether you are actually

38:28.067 --> 38:31.418
affected by CVE or whether it doesn't affect you and it doesn't need

38:31.918 --> 38:34.402
that much of attention right now.

38:35.381 --> 38:38.558
So just wanted to point out that these 2 tools are coming out

38:38.639 --> 38:41.751
and also the EEF is in

38:41.783 --> 38:45.955
the planning stages of more and better

38:46.020 --> 38:49.726
tools that you can use, for example, as part of Mix,

38:49.871 --> 38:53.719
but also maybe it's a separate library. Um, that would make it

38:54.219 --> 38:57.981
easier for you to check your actual code, whether it calls these kinds

38:58.481 --> 39:02.179
of functions. So there's still, I think this is the next level

39:02.371 --> 39:05.880
of actually like making the, the process of,

39:06.137 --> 39:09.822
um, checking CVEs and fixing CVEs better. But yeah,

39:09.838 --> 39:13.652
these tools are 2 very interesting, uh, stuff. And that is

39:14.325 --> 39:17.561
in addition to the tools that we already know and love,

39:17.689 --> 39:21.298
Credo, Sobelow. I think we add Argus

39:21.798 --> 39:24.250
to that. Did we talk about Argus before? I don't think we have, but we

39:24.750 --> 39:28.406
should. I also used it yesterday to find 2 bugs. Argus is a very interesting

39:28.759 --> 39:33.396
and exciting new tool by Quinn. She created this tool that

39:33.492 --> 39:36.909
scans your codebase in a static way. It's not an LLM

39:36.925 --> 39:41.033
scanning your codebase for vulnerability. It is very much a static analysis and it's super

39:41.533 --> 39:45.814
fast. And it can find certain types of vulnerabilities

39:45.911 --> 39:50.144
like race conditions or Um, memory exhaustions

39:50.240 --> 39:54.007
where, you know, you might just create a million processes that way.

39:54.120 --> 39:57.758
So it's yet another tool that I would just put into my pipeline

39:57.855 --> 40:01.798
to, to scan my code. Yeah. All these are really good things

40:02.298 --> 40:05.565
to add, especially in this day and age. You can really

40:06.065 --> 40:09.236
just create a skill and ask your agent to run them or run them

40:09.736 --> 40:13.500
on pre-commit. Like it's— Exactly. It gives

40:14.000 --> 40:16.466
you that peace of mind to sleep at night, right? Yeah. And it's fast enough.

40:16.546 --> 40:19.511
Like it's not a security scan that takes 15, 20 minutes. It's a,

40:19.813 --> 40:21.915
1 to 2 second scan. It's very fast. Right.

40:24.902 --> 40:28.772
And next, uh, now talking so much about security, we should head

40:29.272 --> 40:32.348
over to our sponsor, Michael Lubbers from Paraxial.io,

40:33.074 --> 40:35.997
with the security question of the week. All right.

40:36.143 --> 40:39.631
Welcome back to this week's security question with Michael, the founder

40:40.131 --> 40:43.490
of Paraxial.io. Michael, this week we want to ask more on the

40:44.582 --> 40:48.984
diagnostic side. If your app gets hacked, what types of logs,

40:49.016 --> 40:52.377
telemetry, and other data do you look for to analyze

40:52.474 --> 40:53.379
what exactly happened?

40:55.810 --> 41:00.015
So that's a good question. And it's very common now that this

41:00.515 --> 41:04.337
gets more of an issue. So let's say you have an Elixir application, it's deployed

41:04.837 --> 41:08.210
on the public internet. Somebody found it, kind of probed it. They tried a

41:08.710 --> 41:12.500
few attacks and one of them eventually worked. And they

41:13.000 --> 41:16.282
got access to your server. And maybe you discover this because, well,

41:16.299 --> 41:19.602
we'll have cases, it'll be like a crypto mining thing. You'll get an email from

41:20.214 --> 41:22.969
AWS or Hetzner. In some cases you don't discover it.

41:25.193 --> 41:28.491
But for, for that type of attack, what you would want are

41:28.991 --> 41:32.387
really like logs from the HTTP requests coming into the server.

41:32.856 --> 41:35.224
And you could do that at the load balancer layer. You could do that within

41:35.310 --> 41:38.887
your Elixir application. For example, like incoming cons

41:39.387 --> 41:43.233
and routes, you know, somebody's sending like an obvious SQL

41:43.733 --> 41:46.453
injection string or like an obvious attack payload.

41:48.293 --> 41:52.529
That's something Praxial can work on as well. I mean, this is a whole category

41:52.625 --> 41:56.546
of security products. For example, you could do runtime

41:57.046 --> 42:00.604
instrumentation, which uses a Beam feature to

42:01.104 --> 42:04.840
monitor for certain functions. And if you see a certain behavior

42:05.340 --> 42:08.314
at runtime, That's a strong signal that you are being attacked.

42:10.552 --> 42:14.674
And then what bad guys typically will do is they'll install cert—

42:15.174 --> 42:18.325
like software on the server, for example, to mine cryptocurrency.

42:19.497 --> 42:23.152
So you could do like file integrity monitoring or

42:23.217 --> 42:26.968
have logging of, let's say, if a new package is installed

42:27.323 --> 42:31.333
in production, or if somebody SSHs in, or the SSH keys

42:31.430 --> 42:35.127
change. Do you have some kind of log that is pushing

42:35.224 --> 42:38.384
that out to your logging system? Do you have an alert that's

42:38.884 --> 42:41.368
set up that goes to a human? You can even send it to an AI

42:41.432 --> 42:44.881
now. Um, I think most people are doing that for triage.

42:45.571 --> 42:48.506
Um, that would say, hi, um,

42:49.356 --> 42:52.469
we were, I was looking at your logs this evening. I saw a pattern of

42:52.969 --> 42:56.431
malicious HTTP requests from this IP that's known to be malicious.

42:56.720 --> 43:00.762
We also detected this runtime behavior. And now your SSH

43:00.907 --> 43:03.987
keys changed. It's kind of like this, okay, 1, 2, 3,

43:04.035 --> 43:07.292
4, and then you get that Slack message. It could be the individual

43:07.324 --> 43:10.806
ones or maybe an AI summary, um, of what

43:10.918 --> 43:14.464
happened. That's far better than just

43:14.964 --> 43:16.758
being completely blind to what's been happening.

43:17.913 --> 43:20.689
Very interesting. So logging instrumentation,

43:20.801 --> 43:24.058
definitely really important and being intentional about where all your data's

43:24.154 --> 43:27.324
logged. All right. And we're back. Thank you, Michael,

43:27.340 --> 43:30.072
for your expertise and wisdom as always.

43:32.395 --> 43:35.194
Next, Gus, what do we have on the list?

43:35.596 --> 43:38.524
Looks like a state of, like a survey to me.

43:39.940 --> 43:43.513
Yes. The State of Elixir survey is open and

43:43.545 --> 43:47.006
it's open for another 5 days as of recording, maybe a little

43:47.506 --> 43:49.350
bit less if you're listening to this later this week.

43:51.228 --> 43:54.466
State of Elixir survey is something that's been run the last couple of years,

43:54.579 --> 43:57.929
kind of similar to the Stack Overflow Developer Survey, but really focused

43:57.945 --> 44:01.200
on our Elixir and BEAM ecosystem. It's run

44:01.232 --> 44:05.688
by Curiosum, the Elixir consultancy

44:05.720 --> 44:08.862
out of Poland, I believe. And they have been a big

44:08.991 --> 44:12.534
contributor to the community for these last couple of years. They publish the

44:13.034 --> 44:16.349
results, I don't know, a couple of weeks after the survey closes.

44:17.014 --> 44:20.518
Uh, they compile them up nicely in a nice report. So if you are an

44:20.550 --> 44:23.934
Elixir developer, which I believe you are, if you're listening to this podcast,

44:24.559 --> 44:28.552
then please go fill it out, make your voice heard. Let us know,

44:28.729 --> 44:32.273
let the community know what is important to you, what things you're

44:32.417 --> 44:36.009
paying attention to. Um, have you filled it out yet, Peter? Not yet.

44:36.202 --> 44:39.072
I'm going to do that right after we finish recording here,

44:39.537 --> 44:43.707
right away. Yeah, same, same here, but It

44:44.207 --> 44:47.705
is, it is an important one to gauge where the community's at. So please

44:47.737 --> 44:51.060
take a look. And the next item is a little one that

44:51.092 --> 44:54.335
I want to highlight. It's called elixir.land, and it is a

44:54.399 --> 44:57.995
pretty interesting registry of companies that use Elixir and

44:58.188 --> 45:01.929
maybe even Erlang. And it is compiled not

45:02.009 --> 45:05.300
on self-reports, because there are many, I gotta

45:05.800 --> 45:09.057
say, there are like 10 different company registers for Elixir and BEAM companies

45:09.153 --> 45:12.426
already out there. I forgot all of them, to be honest, except for

45:12.442 --> 45:16.116
the EEF one. But this one is interesting because

45:16.228 --> 45:19.741
it uses LinkedIn data to also fetch information about the

45:20.241 --> 45:23.880
company size, like the headcount. I think even the

45:24.650 --> 45:28.163
revenue, if they, if it's public. And also

45:28.179 --> 45:31.692
it lists the team size of the Elixir team. It's all estimates

45:32.192 --> 45:36.088
from LinkedIn, obviously, but it gives you a good overview of which companies

45:36.264 --> 45:38.786
have larger teams using Elixir,

45:38.866 --> 45:41.629
smaller teams using Elixir, headcounts, locations,

45:41.966 --> 45:45.356
um, and in which industry they work. So I just thought it was a

45:45.856 --> 45:49.019
nicely compiled list. It's a good follow-up to,

45:49.838 --> 45:53.662
uh, last week's monologue about getting hired in

45:53.710 --> 45:57.662
Elixir. So if you are looking for a job, maybe peruse some of the companies

45:57.710 --> 46:01.421
on that list, see if any of them are hiring. Yeah. And I didn't know,

46:01.502 --> 46:04.618
like, probably half these companies. Have you ever heard

46:05.118 --> 46:08.068
about cabify.com or, yeah,

46:08.742 --> 46:11.904
thescore.com? There's, there's some interesting ones

46:11.936 --> 46:14.937
there. So, um, and, and they are,

46:15.692 --> 46:19.367
uh, ranked in terms of what size of employees

46:19.399 --> 46:22.513
or something? I think Elixir team size. Yes. But you can, you can rank it

46:22.850 --> 46:26.204
in different ways, I think. Right. Very interesting.

46:26.300 --> 46:29.414
So, yeah, I mean, some of these, I don't, a lot of these I don't

46:29.430 --> 46:33.000
know. in general, but some of these I, I recognize,

46:33.065 --> 46:36.509
but I don't know that they have. Exactly. So interesting

46:36.525 --> 46:40.007
little list. Yes. Now, Gus, I'll let you do the marketing

46:40.040 --> 46:43.684
for something I built. I actually

46:43.780 --> 46:47.090
use this already, so I can do this very well.

46:47.636 --> 46:51.476
Um, last week, was it last week? Peter posted that

46:51.508 --> 46:53.824
while he was waiting for his agents to do something,

46:54.978 --> 46:58.134
something unrelated, probably some security work or something,

46:58.329 --> 47:02.319
he decided that his disk space was too full and created

47:02.399 --> 47:05.332
a little library, not an Elixir one, but a Rust one,

47:05.910 --> 47:09.517
uh, to sweep away all the cruft, um, and clean

47:10.017 --> 47:13.268
up some, restore some disk space to his hard drive,

47:13.861 --> 47:17.292
his SSD. I'm guessing it was suffering at like 98%

47:17.388 --> 47:21.139
or something. I have a MacBook with 500 gigabytes and I'm constantly

47:21.639 --> 47:25.036
at 495 gigabytes and I feel that.

47:25.148 --> 47:29.288
Yeah, actually. So, so the library is called Broom. It's a small CLI

47:29.882 --> 47:33.460
written in Rust, not Elixir, but it's very nice. I think you

47:33.493 --> 47:36.879
can just run it on any like folder or parent

47:37.379 --> 47:40.056
folder or all the folders of all the software projects you have.

47:40.794 --> 47:44.308
Uh, and it will find all the typical cache and build folders,

47:44.421 --> 47:46.796
like, you know, _build, deps folders,

47:46.972 --> 47:51.145
rust_target folders, and it even has like JavaScript node_modules.

47:51.241 --> 47:54.304
Hmm. Java, C#,

47:55.073 --> 47:58.376
.NET, that kind of stuff, like Go. So there are many different

47:58.876 --> 48:01.182
folders it finds and it lists them for you nicely in a list that,

48:01.647 --> 48:04.790
uh, where you can select folders to, to remove. Yeah,

48:05.110 --> 48:07.884
that was the nicest part is that you can not only see them, but you

48:07.900 --> 48:10.851
can then scroll down the list with keyboard navigation.

48:11.684 --> 48:15.372
Of course, since it's a tool, you select space or to,

48:15.677 --> 48:19.204
to select the folder, it puts a little checkbox or an X next to the

48:19.704 --> 48:23.531
box. And then, and then at the end you just tap enter, you confirm,

48:24.349 --> 48:26.912
and off to the races you go. Off it goes. Yeah.

48:27.537 --> 48:30.646
And the coolest thing about this, I think at least, is that it doesn't only

48:30.678 --> 48:34.492
find these folders, but it also checks common tools

48:34.669 --> 48:38.018
like asdf, or mise, or whatever the French

48:38.050 --> 48:42.024
name is. Uh, because I, for example, found that I had quite a few outdated

48:42.136 --> 48:45.838
Elixir versions still installed on my system with asdf, and I You

48:46.063 --> 48:50.074
never go to the ASDF cache folder to remove them. So Broom kind

48:50.574 --> 48:54.213
of understands, okay, there are a couple of tools installed and it just scans the

48:54.245 --> 48:57.614
cache and the build folders of those tools as well. And if you

48:58.114 --> 49:01.192
have any particular tools you want to add, there's a very easy configuration you can

49:02.170 --> 49:05.219
just add them to and it will find those as well.

49:06.438 --> 49:09.951
Very nice. Now, I do have to ask is

49:10.451 --> 49:13.979
that you shared a really nice little Um, image of

49:14.479 --> 49:17.398
your output on LinkedIn or not LinkedIn on Bluesky. And,

49:18.377 --> 49:21.603
um, I saw that I had that little

49:22.103 --> 49:25.391
output on my terminal, but how did you make your images? How was

49:25.891 --> 49:29.211
it so nicely formed? Like, I, I love the little shareable aspect

49:29.711 --> 49:33.496
of it that you can say, oh, look, I swept away this many gigabytes of

49:33.641 --> 49:37.444
unused stuff. Exactly. That's how you do guerrilla marketing. Yes,

49:37.557 --> 49:42.052
it's guerrilla marketing, but I need, I need either like a, render this to PNG

49:42.164 --> 49:45.006
so that I can save it in my downloads and then upload it to Bluesky

49:45.506 --> 49:48.555
or something? Or what's the tool you use to make that screenshot? I have no

49:49.055 --> 49:51.960
clue. I have no clue. But I told Claus to do that.

49:52.024 --> 49:55.316
I thought, well, you know, what we need is a nice shareable output

49:55.816 --> 49:59.138
that also has the Pushin link at the bottom, you know, just an aside.

50:00.455 --> 50:03.987
But yeah, so that you can share it with your network. But I think it

50:04.487 --> 50:07.440
uses a certain library. You can look at the code. It's on Pushin. It's open

50:07.940 --> 50:11.535
source. Yeah. Yeah. Well, I need, I need the PNG. There you go.

50:11.680 --> 50:15.309
But yeah, like little trick, if you want people to adopt your language and it's

50:15.809 --> 50:19.966
useful, add a nice little shareable output that they can screenshot

50:20.466 --> 50:24.270
and put on their social media prof— uh, posts and whatnot, the platforms.

50:25.507 --> 50:29.216
Yes. Good. Like, like the Wordle. Like Wordle. Yeah. That's how

50:29.281 --> 50:32.252
they got big, you know? That's how they got big.

50:33.536 --> 50:36.635
All right. Well, Peter. That's it for the news, right? Yep.

50:37.374 --> 50:40.601
Let's move on. So let's hit some blog posts.

50:40.666 --> 50:44.407
We just have a couple this week. Um, it's been

50:44.760 --> 50:48.646
a busy time for news, not so busy for Nerves, for blogs,

50:48.774 --> 50:51.841
but a couple of good ones. First up, Lars Wieckmann.

50:52.788 --> 50:56.690
Uh, everyone knows and loves Lars. He is on Nerves core

50:56.803 --> 51:00.158
team and he posted about how he uses Nerves.

51:00.923 --> 51:06.520
With real-life examples of all the crazy devices that he has

51:06.697 --> 51:10.010
come up with. And I guess more so,

51:10.090 --> 51:12.773
I feel like Lars is kind of at the center of a web of nerves.

51:12.822 --> 51:16.315
He's really good at tying people together through conferences and just,

51:17.188 --> 51:20.501
he's really good at encouraging people to get out there and show their stuff.

51:21.001 --> 51:24.647
And that means that he collects a lot of hardware from various people,

51:24.711 --> 51:28.139
including myself. He posted about the The Nerves

51:28.639 --> 51:32.755
starter kit robot running Beam bots on his blog post. There's like a Nerves

51:32.835 --> 51:36.025
phone that he's been working on based on the work from Marc Linné.

51:36.922 --> 51:40.929
Um, he's got a Nerves watch, also done that

51:41.105 --> 51:43.830
where they've hacked an Android watch to put Nerves on it.

51:44.615 --> 51:47.805
Um, there's a whole bunch of stuff. It's really

51:47.821 --> 51:51.106
cool. If you haven't looked at Nerves in a while, like, I think I mentioned

51:51.606 --> 51:54.360
this a few weeks ago, is that there is an explosion of the number of

51:54.392 --> 51:57.870
devices that Nerves runs on these days. And Lars's post

51:57.918 --> 52:01.684
will give you an idea of some of the cool ones. Yeah. I'm always so

52:02.184 --> 52:05.033
jealous. I, you know, if I wouldn't do security and pushing,

52:06.331 --> 52:08.798
I would, I would try to only do hardware all day long. You know,

52:08.814 --> 52:11.779
I would try to find a job with that because it's so cool to work

52:12.279 --> 52:16.042
with physical hardware that you can make blink and, you know, track sensor

52:16.542 --> 52:19.952
data. And, uh, it's such a cool extra layer to,

52:19.968 --> 52:22.371
to writing code. Well, I gotta say,

52:22.712 --> 52:27.179
This reminds me is that when I was in China, I found

52:27.518 --> 52:31.940
a, um, a, like a retro

52:32.053 --> 52:36.791
gaming console kind of inspired by like the Game Boy or something like that for

52:37.311 --> 52:39.967
the low, low price of like $13.

52:41.919 --> 52:46.033
Um, and it runs a full Rockchip chip inside

52:46.533 --> 52:50.271
of it. So it's like, it's a quad-core chip with a nice pretty screen and

52:50.771 --> 52:54.799
a bunch of buttons. Um, that thing's going to be Nervesified

52:55.299 --> 52:58.235
soon. So I need to join in on some of this fun. All these people

52:58.299 --> 53:02.249
I've been seeing have been putting nerves on crazy places. That's my

53:02.749 --> 53:05.942
goal. So maybe I should do that. Retire and then fly

53:06.442 --> 53:09.731
to China 3, 4 times a year, go around the markets and just pick

53:09.795 --> 53:13.408
out these really cool gadgets that you would not find anywhere else for, you know,

53:13.553 --> 53:16.502
peanuts. And then just put Nurse on all of them.

53:18.056 --> 53:21.533
Yes, that would be— That's my retirement plan. There you go. In the meantime,

53:22.382 --> 53:26.115
until that happens, go check out Lars's blog post because

53:26.628 --> 53:29.864
he's having that fun. Oh man, look at him. He's living the best life.

53:30.136 --> 53:34.222
Yeah. Indeed. All right. The next and last blog post for this week

53:34.722 --> 53:37.698
is, uh, yet again by our serial perpetrator,

53:38.227 --> 53:41.607
Johanna Larsson. Uh, she wrote about something that I already

53:42.107 --> 53:44.988
told you about, but I thought if you hear it from her, maybe you would

53:45.036 --> 53:48.789
be finally convinced because she did that in really nice elaborate ways,

53:49.848 --> 53:53.119
which is that you should not store your SSH keys on

53:53.312 --> 53:57.241
your local disk. And she writes about exactly

53:57.741 --> 54:01.876
the issue where if it's on your disk, even encrypted, it can be exfiltrated

54:02.376 --> 54:06.318
if somebody gets access to your machine, which now agents,

54:06.462 --> 54:10.071
they run locally on your machine sometimes, and they might just do that by accident

54:10.087 --> 54:13.701
even. So yeah, she tells you how to do, how to

54:14.201 --> 54:18.136
move your SSH keys from local disk to Bitwarden, I believe is her password

54:18.636 --> 54:22.314
manager, but also other password managers like 1Password, ProtonPass,

54:22.507 --> 54:25.865
probably all of them by now support SSH keys.

54:26.443 --> 54:30.766
And then they have a little agent running, a little SSH daemon

54:31.424 --> 54:34.365
on your local computer. Is that how you say it? I always thought it was

54:34.558 --> 54:38.027
daemon, but it's daemon, right? I say

54:38.527 --> 54:42.202
daemon. Daemon. I think daemon sounds a little too dark. Is it? I think

54:42.702 --> 54:46.072
because it's an AE, daemon is EA, so it's a

54:46.572 --> 54:49.347
different word than daemon. But I would also say a little daemon runs on your

54:49.847 --> 54:53.008
computer. I think you probably can say it both ways. Okay. I would

54:53.040 --> 54:56.701
say daemon. Yeah. I'm sure there's some like retro computing

54:56.797 --> 55:00.314
history for the— If somebody knows that, I would be very curious why it is

55:00.362 --> 55:03.044
daemon or daemon. Daemon or not daemon.

55:03.478 --> 55:07.285
So a little program, a little process. What was

55:07.785 --> 55:11.494
my point? Yes. So it runs on your computer. There's a little SSH agent

55:12.137 --> 55:14.450
that exposes then the SSH key to,

55:15.285 --> 55:18.578
yeah, Git, for example, when they need it or SSH when they need it.

55:19.542 --> 55:23.783
But the actual key still lives on your, just in your password

55:24.283 --> 55:28.056
manager, not on your computer. All right. And those were

55:28.121 --> 55:32.250
the blogs. Now, Uh, Gus, we have a few conferences and meetups.

55:33.101 --> 55:36.347
Should I— You got your timer ready? I will, I will time you. I never

55:36.847 --> 55:40.315
know what is on macOS, but the stopwatch. I will reset.

55:40.363 --> 55:42.500
3, 2, 1, go.

55:43.946 --> 55:47.545
Alrighty. First up, FOSDEM, the conference in Brussels

55:47.641 --> 55:51.433
in, I believe, February or maybe end of January, has the call for

55:51.933 --> 55:55.353
talks that closes on December 3rd. We have a BEAM room at

55:55.853 --> 55:59.526
FOSDEM. And that, I think, is where these talks will happen. Check out the

56:00.026 --> 56:03.073
link in the description to submit a talk. ElixirConf EU,

56:03.619 --> 56:07.086
which is in Lisbon on April 22nd,

56:07.150 --> 56:11.227
23rd next year, has their call for talks open. That closes

56:11.403 --> 56:14.469
on December 15th, so about 2 and a half weeks from

56:14.969 --> 56:18.048
now. Link in the description to submit your talk. We want to see those.

56:18.337 --> 56:20.070
Everyone should submit a talk.

56:22.032 --> 56:25.464
Additionally, there is the Elixir meetup in Melbourne. If any

56:25.964 --> 56:29.461
of our Aussie listeners are tuning in, and you're in

56:29.477 --> 56:33.026
Melbourne or other area, December 3rd, there's a link

56:33.315 --> 56:36.991
on Elixir Forum to signing up, link in

56:37.088 --> 56:40.523
the description to that. And finally, Nerves meetup EU,

56:41.262 --> 56:43.927
my little pet project.

56:44.971 --> 56:48.855
December 9th is our next meetup. It is remote via Zoom. We were talking about

56:48.983 --> 56:52.399
BeamBots on Nerves with the presenter, James Harton, and our lovely,

56:53.057 --> 56:57.098
uh, social hour discussions afterwards. Come for the presentation and

56:57.598 --> 57:00.706
stay for the social hour. It's a good time. Perfect. 1 minute, 15 seconds.

57:01.251 --> 57:04.779
I think that's your best time ever. Best time ever.

57:04.939 --> 57:08.146
And that was a lot of content. Yeah. Yeah. You're getting better every 2 weeks.

57:09.429 --> 57:13.005
Yeah. Thank you very much. Well, let's see if you can

57:13.037 --> 57:16.580
also improve every 2 weeks, Peter. How's your joke this week?

57:16.708 --> 57:19.352
It never gets better. It only gets worse. So,

57:20.410 --> 57:23.535
uh, well, that's a trend as well. Maybe that's the metric. Maybe. Let's see.

57:23.631 --> 57:27.060
So, you know, last, last week I was walking

57:27.560 --> 57:30.906
down the street and some guy, because I'm in the Netherlands, obviously, right?

57:31.066 --> 57:34.480
I was walking down the street and some guy threw a block of

57:34.576 --> 57:37.364
cheese at me. How dairy.

57:41.597 --> 57:44.623
Oh, Peter, that wasn't very Gouda. No, not very Gouda.

57:45.114 --> 57:48.588
Okay, I have another one. Uh, why do

57:49.088 --> 57:51.588
people with a foot fetish like to lose?

57:53.130 --> 57:54.742
Because they like defeat.

57:57.549 --> 58:01.156
Okay. Okay. That's, that's better. Good.

58:01.465 --> 58:04.893
That's better. And on that high note of enthusiasm,

58:05.449 --> 58:07.306
happiness, euphoria,

58:08.716 --> 58:11.839
I guess we need to call it a day. And,

58:12.000 --> 58:15.613
uh, this has been Macro Mayhem on the 25th of November,

58:15.629 --> 58:19.033
2026. Thank you. To any of our US

58:19.145 --> 58:22.662
listeners, Happy Thanksgiving this week. If you are tuning

58:22.758 --> 58:26.387
in, uh, we appreciate you. And I don't

58:26.887 --> 58:31.091
know if you noticed, Peter, but this is also our 10th episode. So double digits.

58:31.445 --> 58:35.476
Congrats to us. So now we have that sorting issue

58:35.540 --> 58:38.849
where like the next 11 comes before

58:39.349 --> 58:42.977
the first one again, if we don't do proper sem version sorting,

58:44.117 --> 58:46.896
if we just do alphabetical sorting. Yeah. Well,

58:47.346 --> 58:50.526
gotta figure that out. Yeah. I mean, I gotta say after 10 episodes,

58:50.864 --> 58:54.976
the people who work the hardest on this is our listeners, right? They had

58:55.476 --> 58:58.670
to sit through all these minutes and hours day after— And jokes.

58:58.751 --> 59:01.289
And jokes, 2 weeks after 2 weeks, like regularly.

59:02.877 --> 59:06.343
Do nothing except for staring against a white blank wall, listening to

59:06.439 --> 59:09.920
our voices getting into the brain. I gotta

59:10.420 --> 59:13.883
say, yeah, so kudos to you all out there. Thank you very much for tuning

59:13.915 --> 59:18.119
in. And, you know, hopefully, oh, now our next exponential,

59:19.130 --> 59:22.387
like, growth will be the hundreds. So now we're going

59:22.483 --> 59:26.093
from 10 to 100 in the same time that it took us to go

59:26.109 --> 59:30.293
from 1 to 10. And then we have to go from 100 to 1,000.

59:30.504 --> 59:34.257
So if we soon get episodes every 10 seconds.

59:37.732 --> 59:40.903
Oh my, this was not communicated to me, Peter. It's, it's,

59:41.096 --> 59:42.432
I would call it Peter's Law.

59:43.913 --> 59:47.505
Peter's Law. Like Moore's Law is already gone. So let's

59:48.005 --> 59:50.654
just make it Peter's Law. I think that's what Peter's Law is already.

59:50.961 --> 59:54.770
Yeah, probably. There are many, there were many smart Peters out

59:55.270 --> 59:57.116
there before me, so probably.

59:58.932 --> 01:00:02.081
Okay. Well, anyway, thanks listeners. Uh, have a

01:00:02.581 --> 01:00:05.946
great day. Sorry for all the security incidents, but, uh, I hope you are

01:00:06.446 --> 01:00:10.601
getting through it. You know, if not, send us a message and so

01:00:11.101 --> 01:00:14.147
that we can ignore it, but we appreciate you and we

01:00:14.647 --> 01:00:18.323
wish you lots of happiness and a happy Thanksgiving to the people on

01:00:18.419 --> 01:00:21.859
the other side of the pond. And we will come to you again

01:00:22.216 --> 01:00:22.946
in 2 weeks.

01:00:24.743 --> 01:00:26.492
Bye-bye.