News for hackers. Stuff that matters.
Re:Claude Sonnet Will Ship in Xcode by breadwinner on Thursday August 28, 2025 @10:55PM (#45059612)
It seems every IDE now has AI built-in. That's a problem if you're working on highly confidential code. You never know when the AI is going to upload code snippets to the server for analysis.
Re:Claude Sonnet Will Ship in Xcode by bsimpson on Friday August 29, 2025 @12:16AM (#45060121)
Sublime Text doesn't by default.
Re:Claude Sonnet Will Ship in Xcode by nh43215rgb on Thursday August 28, 2025 @11:01PM (#45059661)
> "add their existing paid Claude account to Xcode and start using Claude Sonnet 4"

Wont work by default if I'm reading this correctly

Re:Claude Sonnet Will Ship in Xcode by tcoff91 on Thursday August 28, 2025 @10:57PM (#45059634)
Neovim and Emacs don’t have it built in. Use open source tools.
Re:Claude Sonnet Will Ship in Xcode by simonh on Friday August 29, 2025 @12:08AM (#45060072)
They both support it via plugins. Xcode doesn’t enable it by default, you need to enable it and sign into an account. It’s not really all that different.
[dead]
Re:Claude Sonnet Will Ship in Xcode by TheDong on Friday August 29, 2025 @01:03AM (#45060401)
What commonly gets installed in those cases is actual malware, a RAT (Remote Admin Tool) that lets the attacker later run commands on your laptop (kinda like an OpenSSH server, but also punching a hole through nat and with a server that they can broadcast commands broadly to the entire fleet).

If the attacker wants to use AI to assist in looking for valuables on your machine, they won't install AI on your machine, they'll use the remote shell software to pop a shell session, and ask AI they're running on one of their machines to look around in the shell for anything sensitive.

If an attacker has access to your unlocked computer, it is already game over, and LLM tools is quite far down the list of dangerous software they could install.

Maybe we should ban common RAT software first, like `ssh` and `TeamViewer`.

Re:Claude Sonnet Will Ship in Xcode by jumploops on Friday August 29, 2025 @01:24AM (#45060523)
> They won’t install AI on your machine

Actually they’ll just the AI you already have on your machine[0]

In this attack, the malware would use Claude Code (with your credentials) to scan your own machine.

Much easier than running the inference themselves!

[0]https://semgrep.dev/blog/2025/security-alert-nx-compromised-...

Re:Claude Sonnet Will Ship in Xcode by renewiltord on Friday August 29, 2025 @01:15AM (#45060474)
So called "Secure" shell is how many attackers got in my Bitcoin. They call it secure but then attackers were able to guess my password and now all my apes gone.

Edit: okay I paid the price by being rate-limited so I have to edit to reply.

The real thing is that top level comment was being utterly retarded so I decided to post something equivalently stupid. But in the end, it turns out the rest of you are kinder to idiots. That's probably better for all of you so I shall try to learn that lesson.

Re:Claude Sonnet Will Ship in Xcode by TheDong on Friday August 29, 2025 @01:22AM (#45060509)
You know, I should have realized this was a troll account with the previous comment.

I guess that's on me for being oblivious enough that it took this obvious of a comment for me to be sure you're intentionally trolling. Nice work.

Re:Claude Sonnet Will Ship in Xcode by OsrsNeedsf2P on Friday August 29, 2025 @12:29AM (#45060206)
If you're worried about someone accessing your unlocked computer to install LLMs, you might need to rethink your security model.
Re:Claude Sonnet Will Ship in Xcode by renewiltord on Friday August 29, 2025 @12:37AM (#45060255)
They could install anything. Including Claude Code and then run it in background as agent to exfiltrate data. I'm a security professional. This is unacceptable
Re:Claude Sonnet Will Ship in Xcode by BalinKing on Friday August 29, 2025 @12:45AM (#45060306)
I think the parent commenter was pointing out that, instead of installing Claude Code, they could just install actual malware. It's like that phrase Raymond Chen always uses: "you're already on the other side of the airtight hatchway."
Re:Claude Sonnet Will Ship in Xcode by renewiltord on Friday August 29, 2025 @01:14AM (#45060468)
Yes but Claude Code could install malware when I'm not paying attention. And when I remove with MalwareBytes it will return because LLMs are not AGI.
Re:Claude Sonnet Will Ship in Xcode by BalinKing on Friday August 29, 2025 @10:21AM (#45064514)
Isn't the general advice that if malware has been installed specifically due to physical access, then the entire machine should be considered permanently compromised? That is to say, if someone has access to your unlocked machine, I've heard that it's way too late for MalwareBytes to be reliable....
Re:Claude Sonnet Will Ship in Xcode by whatevermom on Friday August 29, 2025 @01:03AM (#45060399)
Yes. I am so worried as well. This is why I installed an AI to double-check if the password I entered is correct when logging in. Fight fire with fire
Re:Claude Sonnet Will Ship in Xcode by eddyg on Friday August 29, 2025 @12:43AM (#45060293)
You should install LuLu if you’re that concerned. There are far more nefarious ways of “getting your data”.

https://objective-see.org/products/lulu.html

Re:Claude Sonnet Will Ship in Xcode by tcoff91 on Friday August 29, 2025 @08:01PM (#45070755)
That seems perfectly fine and noncontroversial then. Good on Apple for doing it that way.
Re:Claude Sonnet Will Ship in Xcode by sneak on Friday August 29, 2025 @12:14AM (#45060101)
No. It’s always something you have to turn on or log into.

Also, there are plenty of editors and IDEs that don’t.

Let’s stop pretending like you’re being forced into this. You aren’t.

Re:Claude Sonnet Will Ship in Xcode by jama211 on Thursday August 28, 2025 @10:56PM (#45059623)
Well that depends on whether you give it access or not, apple’s track record with privacy gives me some hope
Re:Claude Sonnet Will Ship in Xcode by baby on Thursday August 28, 2025 @11:48PM (#45059943)
Not trying to be mean but I would expect comments on HN on these kind of stories to be from people who have used AI in IDEs at this point. There is no AI integration that runs automatically on a codebase.
Re:Claude Sonnet Will Ship in Xcode by paradite on Thursday August 28, 2025 @11:52PM (#45059964)
There is automatic code indexing from Cursor.

Autocomple is also automatically triggered when you place your cursor inside the code.

Re:Claude Sonnet Will Ship in Xcode by rafram on Thursday August 28, 2025 @11:58PM (#45060015)
Yes, Cursor, “The AI Code Editor.”
Re:Claude Sonnet Will Ship in Xcode by LostMyLogin on Friday August 29, 2025 @12:12AM (#45060095)
Cursor is an AI IDE and not what they are describing.
Re:Claude Sonnet Will Ship in Xcode by ygritte on Friday August 29, 2025 @01:24AM (#45060520)
This could change on a daily basis, and it's a valid concern anyway.
Re:Claude Sonnet Will Ship in Xcode by lalo2302 on Friday August 29, 2025 @03:45AM (#45061318)
Gitkraken does
Re:Claude Sonnet Will Ship in Xcode by factorialboy on Friday August 29, 2025 @04:02AM (#45061438)
> There is no AI integration that runs automatically on a codebase.

Don't be naive.

Re:Claude Sonnet Will Ship in Xcode by TiredOfLife on Friday August 29, 2025 @05:26AM (#45061966)
This is HN. 10 years ago that would be true, but now I expect 99% of commenters to have newer used the thing they are talking about or used it once 20 years ago for 10 minutes, or even nkt read the article.
Re:Claude Sonnet Will Ship in Xcode by UltraSane on Friday August 29, 2025 @12:07AM (#45060064)
People working on highly confidential code will NOT have access to the public internet.
Re:Claude Sonnet Will Ship in Xcode by abenga on Friday August 29, 2025 @12:51AM (#45060337)
There is a gulf and many shades between "this code should never be on an internet-connected device" and "it doesn't matter if this code is copied everywhere by absolutely anyone".
Re:Claude Sonnet Will Ship in Xcode by UltraSane on Friday August 29, 2025 @01:12AM (#45060451)
To me "highly confidential" would mean "isolated from the internet" or else it isn't going to be "highly confidential" for very long.
Re:Claude Sonnet Will Ship in Xcode by troupo on Friday August 29, 2025 @02:06AM (#45060743)
Have you seen a lot of code from Klarna, Storytel, Spotify (companies I've worked at)?

None of these companies are isolated from the internet.

Re:Claude Sonnet Will Ship in Xcode by UltraSane on Friday August 29, 2025 @08:44AM (#45063374)
I bet their devs are.
Re:Claude Sonnet Will Ship in Xcode by fny on Friday August 29, 2025 @12:05AM (#45060054)
You do know: when it's enabled.
Re:Claude Sonnet Will Ship in Xcode by XorNot on Thursday August 28, 2025 @11:39PM (#45059894)
If it's that confidential you should be on an airgapped network.

There's simply no way to properly secure network connected developer systems.

Re:Claude Sonnet Will Ship in Xcode by viraptor on Friday August 29, 2025 @01:22AM (#45060510)
This is not a realistic concern. If you're working on highly confidential code (in a serious meaning of that phrase), your while environment is already either offline or connecting only through a tightly controlled corporate proxy. There's no accidental leaks to AI from those environments.
Re:Claude Sonnet Will Ship in Xcode by dijit on Friday August 29, 2025 @01:30AM (#45060556)
thanks for giving the security department more reasons to think that way.

I spent the last 6 months trying to convince them not to block all outbound traffic by default.

Re:Claude Sonnet Will Ship in Xcode by postalcoder on Friday August 29, 2025 @02:12AM (#45060765)
The right middle ground is running Little Snitch in alert mode. The initial phase of training the filters and manually approving requests is painful, but it's a lot better than an air gap.
Re:Claude Sonnet Will Ship in Xcode by dijit on Friday August 29, 2025 @02:59AM (#45061052)
that’s what I do, but since it’s in my control the security teams don’t like it. ;)
Re:Claude Sonnet Will Ship in Xcode by troupo on Friday August 29, 2025 @02:04AM (#45060732)
There are ranges of security concerns and high confidentiality.

For most corporate code (that is highly confidential) you still have proper internet access, but you sure as hell can't just send your code to all AI providers just because you want to, just because it's built into your IDE.

Re:Claude Sonnet Will Ship in Xcode by doctorpangloss on Friday August 29, 2025 @01:50AM (#45060668)
many enterprises store their code on GitHub, owned by Microsoft, operator of Copilot

you can use Claude via bedrock and benefit from AWS trust

Gemini? Google owns your e-mail. Maybe you're even one of those weirdos who doesn't use Google for e-mail - I bet your recipient does.

so... they have your code, your secrets, etc.

Re:Claude Sonnet Will Ship in Xcode by c_ehlen on Friday August 29, 2025 @03:07AM (#45061092)
Most of the big corporations will have a special contract with the AI labs with 0 retention policies.

I do not think this will be an issue for big companies.

Re:Claude Sonnet Will Ship in Xcode by Mashimo on Friday August 29, 2025 @04:42AM (#45061687)
On IDEA the organisation who controls the license can disable the build in (remote) AI. (Not the local auto complete one)

But I guess the user could still get a 3rd party plugin.