HNHacker News
TopNewBestAskShowJobs

lima

8,865 karma · joined May 17, 2016

submissionscomments
lima··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
Linux desktop is more viable than ever.

Zigbee/Matter/... are widely adopted open standards without vendor lock in.

Things like Home Assistant are getting serious attention and funding.

Could be much worse.

lima··on 0-days exploited by commercial surveillance vendor in Egypt
Not only is it not generous (relatively speaking), but actually getting paid can be extremely annoying.

Used to be even worse.

lima··on Simple Drawings with Mathematica
> which act like imperative commands setting the current state of the color or whatnot

No further insights on the design rationale, but yeah, that's exactly what's going on.

lima··on Chrome: Heap buffer overflow in WebP
> Also pretty comical that Google's Project Zero policy is to release details when a public exploit is known to exist, yet the details are kept under wraps when their own software is vulnerable.

Project Zero treats Google like any other vendor (much to the annoyance of other internal teams).

lima··on Google no longer offers new domain registrations
That's fine, though. AWS Route53 uses a number of third-party registrars like Gandi.
lima··on Sucking carbon dioxide out of the sky is moving from science fiction to reality
500000 km^2 is a little less than the entire area of France, for anyone wondering.
lima··on FreeBSD on Firecracker
> Google is moving away from gvisor as well.

I've been wondering about this - are they really?

lima··on FreeBSD on Firecracker
Lots of enterprise grade cloud vendors trust the Linux kernel boundary WAY too much...
lima··on The ReMarkable Streaming Tool v2: Elevating Remote Work Efficiency
I'm using rmView for its red-dot-on-hover feature: https://github.com/bordaigorl/rmview
lima··on HashiCorp adopts Business Source License
This is incorrect, this can happen with any permissive license (BSD, Apache 2...) regardless of copyright assignments.
lima··on Google’s nightmare “Web Integrity API” wants a DRM gatekeeper for the web
I'm a tech-savvy person and I consider Manifest v3 an improvement (improves security + performance), and Firefox implements it as well as things like declarativeNetRequest[1].

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

lima··on ChromiumOS Developer Guide, Programming languages and style
It's a Google-specific legacy mistake. IIRC, they even do (used to do?) two-space indentation for Python.
lima··on Twitter is threatening to sue Meta over Threads [pdf]
The product is (deceptively) simple but the sheer scale makes it a very complex system.
lima··on How I changed my D-Link camera to a locally managed IP camera
Yep. Zigbee is the way to go - it is a whole ecosystem of "local by design" devices.
lima··on Google has a secret browser hidden inside the settings
As a security researcher, I have to disagree - there's many things to criticize Google for, but "cavalier attitude to security" isn't one of them.

Their security teams are industry-leading and they have done a lot of important work over the past decade (Project Zero, a very well-done bug bounty program, Advanced Protection, FIDO/hardware security keys, large-scale fuzzing and AFL, tons of behind the scenes sandboxing work, Linux kernel hardening...). They have a fine track record keeping their users safe (...from anyone but themselves and the US government).

> Given the embedded browser is not secure

It's a standard web view, which uses the same engine and is sandboxed the same way the standalone Chrome browser is. There's a few extra APIs injected into it, but chances are that they require authentication or simply check the origin. What makes you think they didn't take this into account when triaging the report?

There's hundreds of these web views with plenty of opportunities to "escape".

> Now, Google only fixes security bugs only after they've combined into a severe remote exploit

[citation needed]

Things like Chrome entirely rely on multiple layers of protection and, like any sensible vendor, they will absolutely fix a bug in, say, the renderer process even if there's no full-chain exploit.

> In some contexts (especially as high-stakes test settings, but also some military/prison/finance/medical/legal/etc. settings) this IS a direct security risk

In a kiosk or proctoring environment, you wouldn't be able to browse Google account settings in the first place. It's a non-issue.

lima··on Alphabet selling Google Domains assets to Squarespace
> Germany has retired the official bluetooth contact tracing app earlier this year. I wouldn't be surprised if Google retires theirs this year or the next.

Google does not have their own app. Exposure Notifications is the cross-vendor low-level API which apps like Germany's is (...was) using.

lima··on Why did Nix adopt Flakes?
My biggest issue with Nix flakes right now is the way it integrates with Git.

It insists on copying the entire repository into the Nix store (which makes all of its content world-readable!). Even if your flake.nix is in a subdirectory of a monorepo, the entire monorepo will be copied into the store every time!

lima··on Desktop Linux Hardening (2022)
Still hoping for something other than Firejail to come along: The way profiles are designed is brittle and an order-dependent override hell, and it's common to use denylists vs. allowlists.

Firejail is a setuid binary with tons of attack surface and has had a number of privescs itself[1], unlike something like the lower-level Bubblewrap tool.

I'm glad it exists, though - it's the only mature solution other than Flatpak that has proper dbus filtering, among other things.

[1]: https://www.cvedetails.com/vulnerability-list/vendor_id-1619...

lima··on Desktop Linux Hardening (2022)
A modern desktop has all kinds of sandboxes and other privilege boundaries including the browser, system services restricted using seccomp, various application level sandboxes like Flatpak/Firejail/...
lima··on WFH – Watched from Home: Office 365 and workplace surveillance creep (2022)
Very annoyingly so - it's a nightmare for anyone with flexible hours.
lima··on EBPFGuard: a Rust Library Mitigation of Threats Using LSM Hooks
What I really want in Linux is good defaults that treat users as infants playing with scisssors

Sounds like you want Chromium OS :-) Fully open source, Linux-based, and it's hardened to the point where neither the user, nor an attacker, can execute any abitrary code outside a sandbox without a Chrome and/or Linux 0day. You even get VMs with seamless Wayland-based desktop integration with a normal Linux distro inside, and you can create multiple VMs if you have different security levels.

If you enable crash reporting, Google will find and triage crashes for you and would quite possibly catch buggy exploits, and maybe tell you about it.

But, this is very far from what most people want in a Linux distro.

lima··on How the CIA used Crypto AG encryption devices to spy on countries for decades (2020)
There have been a number of third party audits and lots of academic research: https://community.signalusers.org/t/overview-of-third-party-...
lima··on How the CIA used Crypto AG encryption devices to spy on countries for decades (2020)
Clients and server are open source: https://github.com/signalapp

The protocol does not trust the server. Android has reproducible builds, iOS doesn't.

lima··on How the CIA used Crypto AG encryption devices to spy on countries for decades (2020)
The whole point of Signal is not having to trust them because the protocol is open source and peer-reviewed.
lima··on More malicious extensions in Chrome Web Store
Check out chrome://sync-internals, it shows you every little detail.
lima··on GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
Yes. They don't want you to be able to poke around but the real security boundary is the VM, not the database server.
lima··on GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
Last time I checked, their hosted databases run in dedicated VMs, which is where the real security boundary is.

Getting access to the host OS won't give you much other than some internal binaries and config.

lima··on How to start a Go project in 2023
But then it's trivial to sneak a backdoor past code review.
lima··on How to start a Go project in 2023
How to start a new Go project:

  go mod init mymodule
Go's default toolchain is fine, everything else is optional. Some questionable advice in the article:

- Vendoring dependencies using "go mod vendor" is not a good default workflow - it bloats the repo, the checked in code is impossible to review, and is generally a pain to keep up to date. Don't, unless you really have to.

- There's no point in stripping a binary or even using UPX on it unless you're targeting extremely low memory environments (in which case Go is the wrong tool anyways), all it'll do it make it harder to debug.

lima··on OS in Go? Why Not
There's two major production-ready Go-based operating system(-ish) projects:

- Google's gVisor[1] (a re-implementation of a significant subset of the Linux syscall ABI for isolation, also mentioned in the article).

- USBArmory's Tamago[2] (a single-threaded bare-metal Go runtime for SOCs).

Both of these are security-focused with a clear trade off: sacrifice some performance for memory safety and excellent readability (and auditability). I feel like that's the sweet spot for low-level Go - projects that need memory safety but would rather trade some performance for simplicity.

gVisor is a very fun project - they're really pushing the boundaries of what's possible in Go. Typical overhead is <10% thanks to a number of new features (systrap[3], directfs, in-process overlay...), all while maintaining a well-documented and super clean code base.

[1]: https://github.com/google/gvisor

[2]: https://github.com/usbarmory/tamago

[3]: https://gvisor.dev/blog/2023/04/28/systrap-release

← PreviousPage 8 of 34Next →