News for hackers. Stuff that matters.
Re:I found 10k GitHub repositories distributing Trojan malware by danso on Thursday June 18, 2026 @12:26PM (#48587817)
Being reminded of this anecdote from NYMag's recent cover story (which had previously been reported in a WSJ story[0]) about a Disney engineer who downloaded an AI-gen tool from Github and "checked the code himself, it had looked legitimate":

https://archive.is/yAUNy

> He had no idea why the hackers had targeted him or what their plan was, whether they would drain his family’s finances or stalk his home. Eventually, after running another anti-virus program, he found a piece of malware hidden in a plug-in he had downloaded from GitHub, the open-source coding site, one day in February when he was messing around with an AI image generator. He had checked the code himself, it had looked legitimate, and others had reviewed it positively. But it seems it contained a Trojan-horse virus that gave the hackers free rein of his PC. Once inside, they just had to wait for Van Andel to log in to 1Password. From there, they were able to steal all his credentials, plus many of his multifactor-authentication codes, so every time Van Andel logged in to an app, a website, or an account, they could follow behind him. They’d had access for months.

[0] https://www.wsj.com/tech/cybersecurity/disney-employee-ai-to...

Re:I found 10k GitHub repositories distributing Trojan malware by tedd4u on Thursday June 18, 2026 @12:36PM (#48587964)
Strong support for the strategy of not putting your TOTP/MFA in your password manager, which has been argued on HN in the past.
Re:I found 10k GitHub repositories distributing Trojan malware by criddell on Thursday June 18, 2026 @03:56PM (#48590661)
On Linux, would something like Snap or Flatpak have protected them? It seems nuts that a random executable should have access to the password service.
Re:I found 10k GitHub repositories distributing Trojan malware by embedding-shape on Thursday June 18, 2026 @04:26PM (#48591052)
Ultimately it depends on the exact mechanism here, maybe the tool/README said "Run sudo ./setup-deps" and they followed it, or something similar, not sure any sort of software isolation would have helped at that point.
Re:I found 10k GitHub repositories distributing Trojan malware by Gigachad on Thursday June 18, 2026 @06:47PM (#48592665)
Yes if the flatpak sandboxing is enabled. A flatpak can just request access to anything, the software store thing shows a bunch of scary warnings when they do this but many users probably ignore them.
Re:I found 10k GitHub repositories distributing Trojan malware by frereubu on Thursday June 18, 2026 @03:59PM (#48590703)
I think this is true in technical terms, but I have not seen a compelling description of what that looks like without it sounding like a real pain to manage.

Does anyone have a description of something manageable?

Re:I found 10k GitHub repositories distributing Trojan malware by Sleaker on Thursday June 18, 2026 @04:11PM (#48590867)
Keepass, use different db stores for passwords than for the MFA/TOTP. never store the keepass db passwords anywhere except your head. Use a different device for the totp db than the passwords.
Re:I found 10k GitHub repositories distributing Trojan malware by frereubu on Tuesday June 23, 2026 @02:46PM (#48649535)
Thanks, will look into this.
Re:I found 10k GitHub repositories distributing Trojan malware by 8cvor6j844qw_d6 on Thursday June 18, 2026 @01:57PM (#48589017)
> Strong support for the strategy of not putting your TOTP/MFA in your password manager

Agreed, but I think using the same device to access your password manager and for dev is asking for trouble in the first place.

Password managers assumes a non-compromised device. I don't think there exist a password manager that is explicitly designed for a compromised/hostile device.

A password manager + built-in TOTP on a dedicated device is fine for most general usage. Important TOTPs can go to Yubikeys.

Re:I found 10k GitHub repositories distributing Trojan malware by deepsun on Thursday June 18, 2026 @03:12PM (#48590068)
But it's a hassle to have at least 2 yubikeys in case you lose one. And since you regularly sign up for new websites with OTPs, gotta keep them in sync. So always carry both with you. And if you carry both, then it's easy to lose both at the same time.

UPDATE: also gotta keep track separatelt of non-resident passkeys tied to Yubikey, because Yubikey doesn't know where it was used for non-resident. If you lose one yubikey, need to sync all passkeys to a new replacement one.

Re:I found 10k GitHub repositories distributing Trojan malware by zygentoma on Thursday June 18, 2026 @03:56PM (#48590659)
Would be nice if you could get an exact clone of a yubikey, so you always have a spare in case you lose one.

Though I think there is also the option that sites can store some sort of identifier on the key, then this would not work:/

Re:I found 10k GitHub repositories distributing Trojan malware by cuu508 on Thursday June 18, 2026 @05:08PM (#48591646)
I add a note in the password manager's notes field for sites where I've added Yubikeys as the second factor. I can get the list of the sites using search, and from time to time I go through them to check if a backup key needs to be registered. I create new accounts infrequently.
Re:I found 10k GitHub repositories distributing Trojan malware by 14u2c on Thursday June 18, 2026 @03:22PM (#48590229)
>Agreed, but I think using the same device to access your password manager and for dev is asking for trouble in the first place.

That seems somewhat unrealistic? There are many passwords you need to use as part of dev work.

Re:I found 10k GitHub repositories distributing Trojan malware by tedd4u on Thursday June 18, 2026 @09:06PM (#48593733)
One could perhaps put those in a different vault. Sounds like a pain to me. But nothing compared to an email and/or banking compromise.
Re:I found 10k GitHub repositories distributing Trojan malware by bartread on Thursday June 18, 2026 @09:24PM (#48593833)
It becomes tricky when all your passwords are randomly generated, 24 characters long, full of symbols, special characters, casing variations, etc. All of mine are an absolute nightmare to type manually.

I suppose that becomes a pretty strong argument for passphrases + MFA, because passphrases are much easier to type in manually. But the problem there is lots of services still have stupid/arbitrary maximum password length restrictions that make it difficult or impossible to use a sufficiently complex passphrase.

It’s very frustrating.

Re:I found 10k GitHub repositories distributing Trojan malware by bigiain on Thursday June 18, 2026 @10:44PM (#48594293)
You can generate "pronounceable" passwords in some tools.

1PW just generated this for me: mimp-rort-jan-mon-kain-sqin

Not as much entropy as 24 random letters/digit/punctuations/capitalisation. But (for me at least) much easier to read end type in situations where copy/paste isn't available (like from my phone to my dev docker containers)

Re:I found 10k GitHub repositories distributing Trojan malware by dbmnt on Thursday June 18, 2026 @11:14PM (#48594446)
Yes but parent was saying use passphrases, which is the same, just more like "correct horse battery staple". Parent then correctly pointed out there are a large number of sites that enforce special characters, numerical digits, etc., also being part of the password. So that idea falls apart very quickly in practice.
Re:I found 10k GitHub repositories distributing Trojan malware by ponector on Friday June 19, 2026 @02:34AM (#48595505)
>> mimp-rort-jan-mon-kain-sqin And then you see they are not accepting such a weak password. Add special characters, numbers, etc.
Re:I found 10k GitHub repositories distributing Trojan malware by embedding-shape on Thursday June 18, 2026 @04:29PM (#48591092)
> Agreed, but I think using the same device to access your password manager and for dev

Almost all development I do, and most others, are on our projects or projects we're at least interested in, and most likely dove into, that's why we're developing in them in the first place.

In this case, it seems like the developer wasn't actually developing anything, but playing around with image generation on his time off, for fun, and ended up pulling down a random 3rd party thing and got compromised that way. Very different from "for dev" I'd say.

Besides, didn't most developer start isolating projects from each other when the first npm worms started to appear? I know I stopped running `npm install` in the same environment I do my banking, and drastically reduced the amount of random 3rd party stuff I have, still use all the same device though. Even have a Windows install on the same computer, booo!

Re:I found 10k GitHub repositories distributing Trojan malware by captn3m0 on Thursday June 18, 2026 @04:52PM (#48591411)
> I don't think there exist a password manager that is explicitly designed for a compromised/hostile device.

The crypto people tried this with hardware only password managers but they were too annoying. I have a halfway solution of using pass with Yubikey/GPG where each password decryption requires a touch. It does protect against the entire vault being decrypted at once and exfiltrated.

Re:I found 10k GitHub repositories distributing Trojan malware by embedding-shape on Thursday June 18, 2026 @05:10PM (#48591662)
> tried this with hardware only password managers but they were too annoying

And besides that, ultimately if the computer you're using been compromised, whatever you do on that computer can be mucked about with, so while the password sits safely on the hardware, once you're logged in in the browser, the cookie is just sitting there. I guess you'd get furthest isolation with Qubes et al, but with a regular Linux installation you'd still be exposed with a hardware password manager, if the installation been compromised.

Re:I found 10k GitHub repositories distributing Trojan malware by schrodinger on Thursday June 18, 2026 @07:23PM (#48592935)
That’s a good point.

Maybe a good compromise is to use 1pw for most TOTP but keep your gmail / iCloud and a few others in an iPhone only app?

Gmail is what scares me the most. It’s basically keys to the kingdom.

Re:I found 10k GitHub repositories distributing Trojan malware by everybodyknows on Thursday June 18, 2026 @10:46PM (#48594307)
> Gmail

We might all do well to remind F&F to print out account recovery codes, and then put some thought into where they'll be safe.

Re:I found 10k GitHub repositories distributing Trojan malware by frantathefranta on Thursday June 18, 2026 @11:02PM (#48594383)
I settled on that after trying to be extra careful with TOTP. Now my split is 95% of passwords, TOTP codes and passkeys in 1Password, 5% (really important stuff like email) in an offline KeePass DB + passkeys on Yubikeys.
Re:I found 10k GitHub repositories distributing Trojan malware by bigiain on Thursday June 18, 2026 @10:35PM (#48594226)
> Important TOTPs can go to Yubikeys.

Once you have a Yubikey (preferably two, so you have a backup if you damage/lose one) - you may as well make _that_ your primary MFA method, and only use TOTP for services you can't enrol your Yubikeys on.

Re:I found 10k GitHub repositories distributing Trojan malware by cdmckay on Thursday June 18, 2026 @03:17PM (#48590152)
You can make it so you need a YubiKey to login to 1Password the first time on a new device

So just waiting for the password won’t be enough

Re:I found 10k GitHub repositories distributing Trojan malware by auxinl on Thursday June 18, 2026 @03:26PM (#48590299)
The hackers will literally have access to _your_ device though. If your device is already trusted, I doubt that setting will do you any good.
Re:I found 10k GitHub repositories distributing Trojan malware by Terr_ on Thursday June 18, 2026 @12:55PM (#48588219)
> putting your TOTP/MFA in your password manager

I suppose the inverse would be starting with a device that offers TOTP/MFA, and then making your password-manager/vault somehow available on that same device. In either case, bringing them together makes it easier for an attacker to compromise both at the same time.

On reflection, I've never actually put my (personal) password vault on my phone, but that may be less of a conscious security stance than fulfilling a millennial stereotype, where certain tasks (like big purchases) are reserved for "a real computer."

Closest I've gotten is having my USB backup keychain in the same pocket, so I could get to it in an emergency, but it's inconveniently air-gapped.

Re:I found 10k GitHub repositories distributing Trojan malware by rectang on Thursday June 18, 2026 @01:07PM (#48588377)
As much as I like the Apple Passwords app, one of its downsides is that if I have my TOTP app on my iPhone, both passwords and TOTP live on the same device. So for many services I use Bitwarden for passwords.
Re:I found 10k GitHub repositories distributing Trojan malware by mcfly_c-137 on Thursday June 18, 2026 @03:53PM (#48590628)
For TOTP i use ente auth[0], which i can higly recommend.

i also force most apps on iOS to ask for face id (long press on app icon to set this).

[0] https://ente.com/auth/

Re:I found 10k GitHub repositories distributing Trojan malware by rolph on Thursday June 18, 2026 @01:54PM (#48588979)
i would also offer, do not use the same device for everything, make sure any local connectivity has firewalled [dot]finances, and [dot]tech lab from each other and else. you should probably split your network to further isolate.

use intentional spelling mistakes in your password vault, edit the password by hand. you also need to have some way of authenticating login components to be sure your running your version of login, and not a trojan login.

Re:I found 10k GitHub repositories distributing Trojan malware by toomuchtodo on Thursday June 18, 2026 @12:56PM (#48588240)
Or using a hardware authenticator.
Re:I found 10k GitHub repositories distributing Trojan malware by uncivilized on Thursday June 18, 2026 @02:40PM (#48589618)
Story states he wasn't using 2FA for his 1password account at all.
Re:I found 10k GitHub repositories distributing Trojan malware by mixdup on Thursday June 18, 2026 @02:51PM (#48589782)
why was he even bothering then
Re:I found 10k GitHub repositories distributing Trojan malware by schrodinger on Thursday June 18, 2026 @07:26PM (#48592965)
Wonder if you could run your password manager in an isolated sandbox that couldn’t provide the secret behind the TOTP, only the current value.
Re:I found 10k GitHub repositories distributing Trojan malware by Standards1 on Thursday June 18, 2026 @08:40PM (#48593562)
Separate and additional auth service based on physical ownership is always nice!
Re:I found 10k GitHub repositories distributing Trojan malware by hibikir on Friday June 19, 2026 @09:37AM (#48598438)
At the very least, a different account for your password manager at work, hopefully paid by the company, which you don't install outside of company-controlled devices.
Re:I found 10k GitHub repositories distributing Trojan malware by giancarlostoro on Thursday June 18, 2026 @01:30PM (#48588690)
If I go through the effort to view the code for something, I then compile it myself.
Re:I found 10k GitHub repositories distributing Trojan malware by hnlmorg on Thursday June 18, 2026 @01:45PM (#48588841)
What makes you think he downloaded a pre-compiled binary? The link article doesn’t explicitly say that’s what happened. It just says he downloaded software from GitHub. Which might well have been the source code that he then compiled.
Re:I found 10k GitHub repositories distributing Trojan malware by giancarlostoro on Thursday June 18, 2026 @02:49PM (#48589747)
Looks like it was some comfyui plugin, so probably didn't even need to be compiled.
Re:I found 10k GitHub repositories distributing Trojan malware by WalterBright on Friday June 19, 2026 @01:02AM (#48594939)
A password manager is a single point of failure and should be avoided. I've heard other sad stories about someone who's pw manager was compromised and they lost everything.
Re:I found 10k GitHub repositories distributing Trojan malware by pksebben on Friday June 19, 2026 @01:17AM (#48595017)
out of curiosity - what scheme do you suggest? I've always been of the mind that 'one thing to remember and secure, but secure it well' was the best option - 2factor and a 15+character passphrase meaning that nearly everything else gets it's own discretized blast radius.

Always open to better security, though.

Re:I found 10k GitHub repositories distributing Trojan malware by WalterBright on Friday June 19, 2026 @03:10AM (#48595699)
Have a different password for every account, and don't store them on your computer.
Re:I found 10k GitHub repositories distributing Trojan malware by rurban on Friday June 19, 2026 @02:03AM (#48595320)
True for KeyPass or 1Password, but not for GNU pass.
Re:I found 10k GitHub repositories distributing Trojan malware by hnlmorg on Friday June 19, 2026 @05:31AM (#48596644)
While you’re not wrong in principle. It’s still the least worst in the vast majority of cases.

I think the bigger problem is using your pw manager for 2FA too.

Re:I found 10k GitHub repositories distributing Trojan malware by lachlanj on Saturday June 20, 2026 @09:32AM (#48609122)
What do you suggest as an alternative?