Better HN
topnewbestaskshowjobs
Log inSign up

piccirello

796 karma · joined Feb 17, 2010 (16y ago) · 105 submissions

https://pic.dev

Security at PostHog (W20);

Former Co-Founder & CTO at Doppler (W19)

Submissions

1.

Andromeda October 2026 Security Incident(andromeda.ai ↗)

1 points · by piccirello · 1mo ago · discuss

2.

Postgres – Don't Do This(wiki.postgresql.org ↗)

2 points · by piccirello · 1mo ago · discuss

3.

AWS Lambda introduces MicroVMs: isolated sandboxes with full lifecycle control(aws.amazon.com ↗)

10 points · by piccirello · 5mo ago · 1 comment

4.

Plopcop – To Protect and Scrub(plopcop.com ↗)

1 points · by piccirello · 5mo ago · discuss

comment 7mo ago · link · parent

This excerpt from the article describes the risk well.

> In Firefox Private Browsing mode, the identifier can also persist after all private windows are closed, as long as the Firefox process remains running. In Tor Browser, the stable identifier persists even through the "New Identity" feature, which is designed to be a full reset that clears cookies and browser history and uses new Tor circuits.

comment 8mo ago · link · parent

I've been using SSH for ~15 years and never knew about these escape sequences. I'm eagerly awaiting my next hung session so that I can test `~.`. It's much nicer than my current approach of having to close that terminal window.

7.

SSH Secret Menu(twitter.com ↗)

353 points · by piccirello · 8mo ago · 176 comments

comment 9mo ago · link · parent

`setHTML` is meant as a replacement for `innerHTML`. In the use case you describe, you would have never wanted `innerHTML` anyway. You'd want `innerText` or `textContent`.

comment 10mo ago · link · parent

In Apple's case, starting with macOS Tahoe, Filevault saves your recovery key to your iCloud Keychain [0]. iCloud Keychain is end-to-end encrypted, and so Apple doesn't have access to the key.

As a US company, it's certainly true that given a court order Apple would have to provide these keys to law enforcement. That's why getting the architecture right is so important. Also check out iCloud Advanced Data Protection for similar protections over the rest of your iCloud data.

[0] https://sixcolors.com/post/2025/09/filevault-on-macos-tahoe-...

comment 10mo ago · link · parent

> We’re gradually transitioning the AWS European Sovereign Cloud to be operated exclusively by EU citizens located in the EU. During this transition period, we will continue to work with a blended team of EU residents and EU citizens located in the EU.

I find it fascinating that the goal is to staff this exclusively with EU citizens, thereby excluding non-citizen residents of the EU.

comment 10mo ago · link · parent

The docs explicitly describe this cloud's independence from the US.

> The AWS European Sovereign Cloud will be capable of operation without dependency on global AWS systems so that the AWS European Sovereign Cloud will remain viable for operating workloads indefinitely even in the face of exceptional circumstances that could isolate the AWS European Sovereign Cloud from AWS resources located outside the EU, such as catastrophic disruption of transatlantic communications infrastructure or a military or geopolitical crisis threatening the sovereignty of EU member states.

comment 11mo ago · link · parent

Here's the PR[0] that resolved the SSRF issue. This fix was shipped within 24 hours of receiving the initial report.

It's worth noting that at the time of this report, this only affected PostHog's single tenant hobby deployment (i.e. our self hosted version). Our Cloud deployment used our Rust service for sending webhooks, which has had SSRF protection since May 2024[1].

Since this report we've evolved our Cloud architecture significantly, and we have similar IP-based filtering throughout our backend services.

[0] https://github.com/PostHog/posthog/pull/25398

[1] https://github.com/PostHog/posthog/commit/281af615b4874da1b8...

comment 11mo ago · link · parent

I work on security at PostHog. We resolved these SSRF findings back in October 2024 when this report was responsibly disclosed to us. I'm currently gathering the relevant PRs so that we can share them here. We're also working on some architectural improvements around egress, namely using smokescreen, to better protect against this class of issue.

14.

Eight Sleep: Making the Pod outage-proof(eightsleep.com ↗)

6 points · by piccirello · 1y ago · 5 comments

15.

There's another leak on the ISS, but NASA is not saying much about it(arstechnica.com ↗)

10 points · by piccirello · 1y ago · 1 comment

comment 1y ago · link · parent

This is bullshit. What real harm can the defendant(s) claim over these features being delayed? Someone is trying to make a quick buck.

17.

Confidential Computing at 1Password(blog.1password.com ↗)

6 points · by piccirello · 1y ago · discuss

comment 1y ago · link · parent

I utilized SSE when building automatic restart functionality[0] into Doppler's CLI. Our api server would send down an event whenever an application's secrets changed. The CLI would then fetch the latest secrets to inject into the application process. (I opted not to directly send the changed secrets via SSE as that would necessitate rechecking the access token that was used to establish the connection, lest we send changed secrets to a recently deauthorized client). I chose SSE over websockets because the latter required pulling in additional dependencies into our Golang application, and we truly only needed server->client communication. One issue we ran into that hasn't been discussed is HTTP timeouts. Some load balancers close an HTTP connection after a certain timeout (e.g. 1 hour) to prevent connection exhaustion. You can usually extend this timeout, but it has to be explicitly configured. We also found that our server had to send intermittent "ping" events to prevent either Cloudflare or Google Cloud Load Balancing from closing the connection, though I don't remember how frequently these were sent. Otherwise, SSE worked great for our use case.

[0] https://docs.doppler.com/docs/automatic-restart

19.

Upgrading the Supermicro X12SDV-4C-SP6F CPU Cooler(pic.dev ↗)

2 points · by piccirello · 2y ago · discuss

comment 2y ago · link · parent

> The Secure Enclave randomizes the data volume’s encryption keys on every reboot and does not persist these random keys, ensuring that data written to the data volume cannot be retained across reboot. In other words, there is an enforceable guarantee that the data volume is cryptographically erased every time the PCC node’s Secure Enclave Processor reboots.

21.

Apple WWDC 2024 Features I'm Most Excited About(pic.dev ↗)

1 points · by piccirello · 2y ago · discuss

22.

F1 cars in 2026 will be smaller, safer, more nimble, more sustainable(arstechnica.com ↗)

1 points · by piccirello · 2y ago · discuss

23.

Dangerzone: Convert PDFs, documents, or images to a safe PDF(github.com ↗)

49 points · by piccirello · 2y ago · 6 comments

comment 2y ago · link · parent

I wonder what impact this will have on Mozilla's OpenSSH configuration guide[0], which currently specifies `chacha20-poly1305@openssh.com` as its primary cipher. Should that be dropped to rely solely on AES ciphers?

[0] https://infosec.mozilla.org/guidelines/openssh

25.

Advancing iMessage Security: iMessage Contact Key Verification(security.apple.com ↗)

1 points · by tompic823 · 3y ago · discuss

comment 3y ago · link · parent

I'm the CTO of a popular Secrets Management platform. It's fair to say that I personally have a lot of experience with secrets and requirements around them, based on conversations with customers.

The primary missing feature here seems to be multiline support. That's super common for keys, certificates, and other JSON configuration. Based on the Node PR, they appear open to adding that later (big +1 on shipping incrementally).

The other missing feature that folks tend to heavily rely on is variable expansion. For that to truly work well, I recommend using a holistic platform like Doppler. That allows for expansion/referencing across environments and projects, like when you have multiple independent services that need access to the same set of secrets (e.g. database creds, error reporting tool, stripe key, etc). You can then update the secret once and have the change propagate to all the places it's used.

Lastly, I'd be remiss if I didn't mention the Doppler CLI and our own fairly unique support for .env files. We've traditionally taken a dim view of .env files because they represent a static, long-lived collection of sensitive information that lives offline. Often, these get checked into a git repo. This is probably fine for personal projects, but a major issue for companies and the security aware. However, .env files are a pseudo standard and folks want a way of continuing to consume their secrets via them. Our CLI's approach is to mount a named pipe that we can write secrets to when a reader attaches. That allows us to limit the amount of times the "file" can be read (e.g. once), it guarantees that the file's contents are unavailable once the application process dies, and it uses the same open/read interface as a standard file.

In all, this is an exciting development for Node. I'm glad to see more standard features make it into core and hope that multiline support is a fast follow.

27.

Reliably Testing Race Conditions(doppler.com ↗)

1 points · by tompic823 · 3y ago · discuss

28.

Reliably Testing Race Conditions(doppler.com ↗)

1 points · by tompic823 · 3y ago · discuss

comment 3y ago · link · parent

When this deal was originally announced, Adobe's stock took a ~10% hit. Now that the deal is getting blocked, their stock is again taking a hit? I certainly can't claim to understand the public markets.
1234