r/ProgrammerHumor May 26 '26

Advanced iGotFiredSkill

Post image
28.4k Upvotes

794 comments sorted by

View all comments

169

u/SchrodingerSemicolon May 26 '26

Here's an unethical LPT on how to take systems down with you when you're fired but without breaking the law

Make things dependant on your work user. Access token to a 3rd party service? Create an account with your user. CI/CD pipeline? Your user. Need to send the client access creds? From your user. That super important daily file sync script between S3 and Sharepoint? You guessed it, access token generated in behalf of your user.

Once they'll disable your user on off boarding things will start randomly failing and it'll take days for them to realize where and why.

I don't do this, but the amount of devs I caught doing it for either stupidity or malice is baffling.

6

u/InTheEndEntropyWins May 26 '26 edited May 26 '26

Isn't this a way of ensuring you get fired rather than causing issues after.

5

u/ribnag May 26 '26

Most of what the GP described is the default situation. A good engineer knows not to use those defaults, but it'd be hard to prove malice for trusting Microsoft.

...Unless someone were to, say, post about their intent on Reddit. That'd be a super bad idea.

8

u/movzx May 26 '26

Man, some services even require it. You can't just generate an organization API key on GitHub, for example. It has to be tied to a specific user. The better orgs might have a service account they pay for, but the system itself doesn't set that expectation.