News for hackers. Stuff that matters.
Re:Claude's API now supports CORS requests, enabling client-... by simonw on Friday August 23, 2024 @03:23AM (#41326833)
Don’t try to support your arguments by pasting paragraphs of text from ChatGPT.

That said, there is a little nugget of useful information in there: “To do this, they install a corporate root certificate on all employee devices.”

This is true: if you are using a device which has had a root certificate installed on it you are vulnerable to MITM attacks. I would argue that your employer stealing your Anthropic API key is a pretty low risk compared to everything else that is wrong with that scenario!

Your original message above also mentioned coffee shop WiFi: that’s not a threat here. Your coffee shop has not installed a root certificate in your device.

Re:Claude's API now supports CORS requests, enabling client-... by ellellem on Friday August 23, 2024 @04:17AM (#41327132)
Here's a more accurate breakdown:

1. TLS and Its Vulnerabilities: TLS/SSL stripping: This is a technique used by attackers to downgrade an HTTPS connection to HTTP, thereby removing the encryption. If an attacker can perform a successful TLS stripping attack, simply "using HTTPS" won't protect your data, as the connection would no longer be encrypted.

Fake Certificates: An attacker might present a fake certificate that your browser mistakenly trusts (e.g., through a compromised Certificate Authority or if you ignore a browser warning), allowing the attacker to intercept and decrypt what you think is an HTTPS connection.

2. Why "Always Use HTTPS" Alone Isn't Enough: In a Compromised Environment: If the attacker has managed to manipulate your connection, "using HTTPS" might give a false sense of security. If the attack involves SSL stripping or the use of a rogue certificate, your data could still be intercepted and read in plain text.

3. Better Protections Against MITM in Public WiFi: Use a VPN: A Virtual Private Network (VPN) creates a secure, encrypted tunnel between your device and the VPN server. Even if the attacker intercepts the traffic on the local network, it remains encrypted and unreadable due to the VPN. Verify Certificates: Be vigilant about certificate warnings. If your browser warns you about an untrusted certificate, don’t ignore it, especially on public WiFi. This could be a sign of a MITM attack.

HTTPS Everywhere: Browser extensions like HTTPS Everywhere force the use of HTTPS on sites that support it, but it’s not foolproof if the attacker is actively stripping SSL.

Check for HSTS (HTTP Strict Transport Security): Sites that use HSTS protect against some forms of SSL stripping because they enforce the use of HTTPS even on initial connections.

Disable Trust for Public Networks: Be cautious on public WiFi. Turn off automatic connection features, and avoid performing sensitive transactions unless you have additional protections like a VPN.

4. Advanced Security Measures: DNSSEC: Ensures that the DNS responses you receive are authentic and haven’t been tampered with. This can help prevent DNS spoofing. Multi-Factor Authentication (MFA): Protects your accounts even if your credentials are intercepted.

To sum it up, while "Always Use HTTPS" is generally good advice, it doesn't cover situations where TLS is compromised or bypassed. In scenarios involving potential MITM attacks, stronger measures like using a VPN, being cautious with certificates, and employing additional security practices are crucial.

Re:Claude's API now supports CORS requests, enabling client-... by jaggs on Friday August 23, 2024 @04:30AM (#41327201)
"Don’t try to support your arguments by pasting paragraphs of text from ChatGPT."

Agreed. Please don't do this.

Re:Claude's API now supports CORS requests, enabling client-... by kreetx on Friday August 23, 2024 @06:40AM (#41327838)
Yup, for development purposes I've used a self-generated root and signed certificates for it (and I also understand the risks).

Though, on topic, Claude enabling access for browsers adds nothing specific to this risk - it's a generic risk for any TLS connection.