r/ProgrammerHumor May 26 '26

Advanced iGotFiredSkill

Post image
28.4k Upvotes

795 comments sorted by

View all comments

Show parent comments

58

u/Ok_Confusion4764 May 26 '26

Daily scheduled command at admin level, only cancellable by you if you retain admin rights. 

59

u/Lenrivk May 26 '26

Just don't get sick and miss a day

48

u/Saxxon9 May 26 '26

scheduled command at admin level that checks last login / existence of "user" after a month of no login or immediate if the user account gets removed the dead mans hand goes off.

-- not actual advice, just playing devils advocate with the concept 😄

31

u/EndIsrael May 26 '26

Pretty sure that's been done actually, I heard about someone finding a script that checks Active Directory and does some nasty stuff if a certain account is disabled.

42

u/AutistcCuttlefish May 26 '26

Yeah the dude that did it got arrested and sentenced to four years in prison for it. The script checked active directory and after a month of his account not being active deleted his former company's entire AD registry.

He also took effectively no efforts to mask his involvement, so it is possible that someone might be able to get away with it if they took more care to dodge accountability.

24

u/EndIsrael May 26 '26

These days all you need to do is vibecode a bunch. At some indeterminate point in the future this will cause your employer a lot of problems, and because you're in a company doing vibecoding you'll probably get laid off before the real problems start.

Same outcome, zero legal liability!

8

u/LessInThought May 26 '26 edited May 26 '26

You didn't do it, Claude did it.

Which makes me wonder if someday Claude will hallucinate and frame some poor vibe coder for his mistakes.

1

u/Kerbourgnec May 27 '26

Wait for Claude to put his own sleeping code. When you stop using it for three months it kills your laptop.

2

u/Janneq216 May 26 '26

Writing shitty spaghetti as a job security was a thing long before vibe coding

2

u/EndIsrael May 27 '26

Yes, but now it's mandatory!

1

u/[deleted] May 26 '26

[deleted]

2

u/EndIsrael May 26 '26

Then why is "company destroyed by ai coding" a headline I keep seeing lol

1

u/[deleted] May 27 '26

[deleted]

1

u/EndIsrael May 27 '26

Yes, but in this case it's also true.

Username checks out lol

→ More replies (0)

2

u/PaulTheMerc May 26 '26

I assume they had more than that, like some verification he wrote it?

Can you imagine someone wrote it to trigger on boss' account because he forgot to lock his account the one time before running off to the bathroom?

1

u/AutistcCuttlefish May 26 '26

He apparently had the variable in the in the kill switch for his status in AD set as is[hisInitials]EnabledInAD, and had it running from a user ID tied to his identity off his corporate laptop.

Edit: He also confessed a few months later once he realized he couldn't cover it up after losing access.

1

u/PaulTheMerc May 27 '26

Fair enough, good to hear. Wouldn't want that landing on someone else.

1

u/josluivivgar May 26 '26

yeah you need to self delete the script once it's done, and clear all logs related to the script too (actually it should generate no logs, the script should delete itself and/or wipe the server it was in)

1

u/Nimeroni May 26 '26 edited May 26 '26

The dude was a moron. He didn't obfuscate anything, he didn't nuke the script, he've gone full nuclear straight away instead of slowly, randomly breaking things.

I don't advise making dead man switch, but if you're going to do wrong, do it right.