Live data from Hacker News

Microsoft open-sources LiteBox, a security-focused library OS

github.com

21–30 of 239 posts

Re: Microsoft open-sources LiteBox, a security-focused library OS

#21
post #11
post #7

The cargo.lock file is 2200+ lines long. Did they spend a reasonable amount of time auditing these dependencies?

What would be a reasonable amount of time to audit the dependencies?

I would let them decide based on their security policy.

If Microsoft states that they don't have any for a project like this, I would be wary of taking it too seriously.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#22
post #19
post #16

Earlier quoted context omitted.

grep 'name = ' ms-litebox-Cargo.lock | wc -l 238 edit: grep 'name = ' ms-litebox-Cargo.lock | sort -u | wc -l 221

I've always done 'sort | uniq'. Never bothered to check for the the unique flag to sort. Although 'uniq -c' is quite nice to have. -c, --count prefix lines by the number of occurrences

Yeah, to see the packages with multiple versions:

  grep 'name = ' ms-litebox-Cargo.lock | sort | uniq -c | grep -v '1 name' | sort -n
Package windows-sys has the highest number of versions included, 3: 0.59.0, 0.60.2, and 0.61.2.

Edit: Also, beware of the unsorted uniq count:

  cat  a
  > a
  > b
  > a
  > a
  > EOF
   2 a
   1 b
   2 a

Re: Microsoft open-sources LiteBox, a security-focused library OS

#23

With how buggy their flagship OS has become, why would I trust anything else they release to be better? Or even if it does work well now, why should I expect it to stay that way? Microsoft has burned through all possible goodwill at this point, at least for me.

UI of Windows is buggy and inconsistent. Kernel and low level stuff are actually very stable and good.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#24
post #7

The cargo.lock file is 2200+ lines long. Did they spend a reasonable amount of time auditing these dependencies?

That's 238 dependencies (counting multiple versions of the same crate).

* Many of them are part of families of crates maintained by the same people (e.g. rust-crypto, windows, rand or regex).

* Most of them are popular crates I'm familiar with.

* Several are only needed to support old compiler versions and can be removed once the MSRV is raised

So it's not as bad as it looks at first glance.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#25
post #23

With how buggy their flagship OS has become, why would I trust anything else they release to be better? Or even if it does work well now, why should I expect it to stay that way? Microsoft has burned through all possible goodwill at this point, at least for me.

UI of Windows is buggy and inconsistent. Kernel and low level stuff are actually very stable and good.

>Kernel and low level stuff are actually very stable and good.

This. A while ago a build of Win 11 was shared/leaked that was tailored for the Chinese government called "Windows G" and it had all the ads, games, telemetry, anti-malware and other bullshit removed and it flew on 4GB RAM. So Microsoft CAN DO IT, if they actually want to, they just don't want to for users.

You can get something similar yourself at home running all the debloat tools out there but since they're not officially supported, either you'll break future windows updates, or the future windows updates will break your setup, so it's not worth it.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#27
The lack of integrated sandboxing in windows compared to android/iphone is still frankly unacceptable. I've become increasingly paranoid about running any application on Windows (not that your average linux distro is even remotely better) and yet Apple and Google seem to be far, far ahead in user permissions (especially with GrapheneOS, god bless that team) and isolation of processes.

Consumers and businesses deserve better. It's crazy to me that in 2026 Notepad++ being compromised means as much potential damage as it does, still.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#29
post #22
post #19

Earlier quoted context omitted.

I've always done 'sort | uniq'. Never bothered to check for the the unique flag to sort. Although 'uniq -c' is quite nice to have. -c, --count prefix lines by the number of occurrences

Yeah, to see the packages with multiple versions: grep 'name = ' ms-litebox-Cargo.lock | sort | uniq -c | grep -v '1 name' | sort -n Package windows-sys has the highest number of versions included, 3: 0.59.0, 0.60.2, and 0.61.2. Edit: Also, beware of the unsorted uniq count: cat a > a > b > a > a > EOF 2 a 1 b 2 a

grep -v '1 name' excludes 11, 21, etc., but I take your point.

Re: Microsoft open-sources LiteBox, a security-focused library OS

#30
post #23

Earlier quoted context omitted.

UI of Windows is buggy and inconsistent. Kernel and low level stuff are actually very stable and good.

>Kernel and low level stuff are actually very stable and good. This. A while ago a build of Win 11 was shared/leaked that was tailored for the Chinese government called "Windows G" and it had all the ads, games, telemetry, anti-malware and other bullshit removed and it flew on 4GB RAM. So Microsoft CAN DO IT, if they actually want to, they just don't want to for users. You can get something similar yourself at home r…

Is this not just Windows LTSB/LTSC? Which has been a thing forever.
Post reply on HN