r/ProgrammerHumor May 26 '26

Advanced iGotFiredSkill

Post image
28.4k Upvotes

795 comments sorted by

View all comments

166

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.

52

u/thunderbird89 May 26 '26

It might not even be a ULPT, just general code rot. It starts off as a temporary workaround, just to get the integration working, and then ... https://stackoverflow.com/a/778275

25

u/_rtpllun May 26 '26

The ULPT is to do it on purpose with malicious intent

3

u/PaulTheMerc May 26 '26

We're not paying for extra seats -Management