r/ProgrammerHumor • • Oct 08 '26

Meme forFutureReference

Post image
9.8k Upvotes

514 comments sorted by

865

u/pippin_go_round Oct 08 '26

And how exactly are you going to do that without it being immediately flagged by IT? Most companies I've ever worked at will have that noticed right away and sue you into oblivion if you don't have a very very good explanation...

Had that happen once to me when I switched teams within a company and copied most of my important stuff to a specially authorised usb stick before wiping my laptop and setting it up with a different OS (switch from Windows to Linux team). Before the copy process even finished I had some guy from security call me.

665

u/Arclite83 Oct 08 '26

It might surprise you to know cybersecurity is pretty laughably implemented in a large percentage of the business world, even today and despite the risks being worse than ever.

"Patching is hard, we couldn't possibly..."

I kept some reference material from my last job. I've moved enough code around here between personal and professional that I'd likely also be able to do the same if I left. Although in this instance, it's much more likely nobody cares than nobody sees.

117

u/Flater420 Oct 08 '26

Case in point: company I worked at took all administrator privileges from developers. They implemented an elevation system that would allow certain apps to run elevated.

Totally unrelated, IDEs have terminals and they run escalated when the IDE itself is escalated. Also, you can do pretty much everything from an escalated terminal.

All we needed was a reason to argue why our IDE needed escalation, and that is not hard to find a BS explanation for.

20

u/Raxion75 Oct 08 '26

If your security department is indeed functioning (even if barely), they definitely knew.

We (security) just mostly let it slide because it can still be argued that the terminal comes in package with the IDE, and we believe you are competent enough to not make a mess of your laptop. I would definitely not let any desk clerk/non IT function get even remotely close.

32

u/TheRealKidkudi Oct 08 '26

Tbh it’s pretty asinine not to give developers admin on their own machine. If there’s something genuinely dangerous they could do with local admin, you should probably secure that flaw instead. 

→ More replies (2)
→ More replies (1)

46

u/BobodyBo Oct 08 '26

Ive seen some people have steam installed on their work laptops at my company lol

12

u/darthjammer224 Oct 08 '26

I almost always have at least rocket League installed on my work computer.

If I'm going to have to travel for work, I wanna have something to do in the hotel room.

Then again, I have full admin rights over my laptop.

→ More replies (5)
→ More replies (5)

38

u/BarnyardBukkake Oct 08 '26

IT Security Engineer. Can confirm. This dude is right. Unless the IT and Security team is well funded and staffed. You can easily get around most DLP measures. Also. Nothing is stopping you from taking pictures of your screen with your laptop and asking an LLM to piece together

15

u/WisestAirBender Oct 08 '26

Also. Nothing is stopping you from taking pictures of your screen with your laptop and asking an LLM to piece together

You'll take pics of the whole codebase?

20

u/StrikingSun8563 Oct 08 '26

Claude, enhance.

→ More replies (2)

11

u/darklordpotty Oct 08 '26

Plus some of the people writing the source code are also the ones helping with security controls. Like oh no, my hand slipped.

4

u/Sparkswont Oct 08 '26

Yeahh but companies care wayy more about DLP than they do patching

→ More replies (4)

66

u/Nomapos Oct 08 '26

Pen and notebook. Maybe two.

38

u/pippin_go_round Oct 08 '26

I mean, I've got 3 months mandatory notice period (very common where I live), so I'd have time...

32

u/notanotherusernameD8 Oct 08 '26

When I was told I was being made redundant (different company to the one above), they told me to log off and do not access any emails or anything. They shut down my access there and then (I was WFH) and to enjoy getting paid to do nothing for three months.

→ More replies (14)

7

u/happyjello Oct 08 '26

Why would you need two pens?

30

u/skcortex Oct 08 '26

Because he has two hands,are you stupid? /s

→ More replies (2)

9

u/DukeOfSlough Oct 08 '26

two hands equals two pens you silly!

→ More replies (1)

143

u/DeeYouBitch Oct 08 '26

Notice what?

All the code is pulled down on my local anyway

11

u/LtDarthWookie Oct 08 '26

Group policy and it controls can be pretty impressive. They can be notified when a user even just plugs in a thumb drive. Organization dependent of course.

24

u/JayTurnr Oct 08 '26

Pull local, go offline, do your thing

→ More replies (4)
→ More replies (1)

91

u/notanotherusernameD8 Oct 08 '26

Here's one example: When Atlassian decided to merge their professional git with the "personal" bitbucket, I realised that I could access my bitbucket account on my work PC and add it as a remote for any internal repo my work credentials gave me access to.

50

u/chacko_ Oct 08 '26

> And how exactly are you going to do that without it being immediately flagged by IT?

You could convert files to a streaming QR code and write a client on you phone to scan, receive, error correct and then assemble it.
I am not saying I know someone who did exactly that.

3

u/m_redditUser Oct 08 '26

what was the limiting factor on the max workable FPS? how big was the QR code? did it contain pure byte stream or per file? if byte stream how much overhead were the headers?

5

u/TheHardew Oct 08 '26 edited Oct 08 '26

Just use ffmpeg to convert to a video 144p, 1 bit color space, 30 FPS. 10x nearest neighbor and play the video.

You can store files on YouTube that way.

For this application, record your screen with a phone at 60 FPS or better, convert back to a file.

That simple scheme can get ~341 kb/s (42 kB/s).

If you play around you could probably get more, like 60 FPS display, 240 FPS camera, 4k display (the TV?), higher color space…

For ECC if 10x nearest neighbor is overkill, either some simple hamming codes with python or maybe there's ready made software for that, maybe in ffmpeg?

Archive the files in a tar.xz/zip/7z lzma2 to reduce the size and not have to fiddle with many small files.

41

u/Kroosn Oct 08 '26

Unless they completely lock down browsers and strictly white list sites it would be so easy. Even something like OneDrive I am yet to see an IT team block OneDrive unfortunately.

4

u/BlueKnight44 Oct 08 '26

Any company I work for has activity loggers on all the systems. They are not usually actively monitored (outside or automated stuff), but security can 100% track all of this if they want.

6

u/Topikk Oct 08 '26

Many companies, mine included, install software that attempts to flag someone doing something like this.

I think my best bet would be to clone the repos from gh on a personal machine, but I’m not about to test it and find out they’re monitoring that as well. I would consider leaving that codebase behind to be a perk of resigning.

9

u/immune2iocaine Oct 08 '26

I work for an enterprise cybersecurity vendor. Last week my threat research team reached out to me to let me know that one of the customers I'm responsible for had someone clone a large number of repos in a short period of time from an IP they didn't usually use, and they wanted me to make sure the customer was aware and investigating.

Note: we're not an MSP. Officially or contractually or whatever, our responsibility ends at "supply software & support you're paying us for". We just have an amazing TR crew and they look out for our customers.

All that is to say that, yes, if a 3rd party tool vendor can tell, any given organization could ABSOLUTELY tell if you decided to clone all the repos to your personal machine one day. "Could". Are they actually monitoring though? Who knows! Not you or me! But they could be, and data theft damages quickly get into the "millions of dollars" range if you get sued over it, so probably best not to

4

u/EHP42 Oct 08 '26

You wouldn't even need to install software. If you're sitting on site, almost every company will have some sort of network monitoring, which would likely flag suspicious network traffic like multiple large zip file uploads to Dropbox or onedrive. And if you're remote, you either probably need to use a VPN to connect to work resources, or like you said they're software installed to monitor stuff like that.

28

u/cusco Oct 08 '26

Create a private GitHub repository, create a second remote origin, point it to that repo, push, remove second remote origin

Done

11

u/Kind_Palpitation_847 Oct 08 '26

Encode each file into a picture of a cat using a stenography script. Post cat pictures on a message board or something work related but publicly accessible site.
Get home download and extract data?

11

u/Detrimental_Figment Oct 08 '26

Maybe you’ve only worked at large and/or well-run businesses. Most businesses are not large or well-run. Half the companies I’ve worked at had no monitoring of this, ask me how I know 😈. It’s nice having actual evidence of my work.

2

u/pippin_go_round Oct 08 '26

I've worked at big multinationals and down to about 300 employees. No truly small shops (yet) though, that's true.

→ More replies (1)

21

u/flingerdu Oct 08 '26

There’s exactly two ways to properly (try to) prevent data exfiltration: a) if possible don‘t store the data at all, b) restrict access to the data.

If a person has access to the data, accept that it might get exfiltrated. Of course that doesn‘t mean that you shouldn’t do basic anti-measures, but it should definitely be reflected in the risk analysis.

25

u/vulkur Oct 08 '26

I have the source code of the last 3 companies I worked for. Startup, fortune 500, doesn't matter. It's mine bitch.

3

u/woeful_cabbage Oct 08 '26

But why?

12

u/vulkur Oct 08 '26

For reference. Especially the architecture

→ More replies (6)

2

u/NPPraxis Oct 08 '26

I think it’s definitely worth periodically at least having an AI write up an explanation and diagrams of what you worked on periodically so you have that if you don’t have the code. It’s so nice to be able to walk a future job interview through what you’ve worked on.

→ More replies (1)

7

u/crizzy_mcawesome Oct 08 '26

Ehh who needs source code these days anyway

7

u/TitleAdministrative Oct 08 '26

The old fashioned way. Pen and notebook of course

7

u/flinxsl Oct 08 '26

gzip it and save it as log.json

18

u/ilikedmatrixiv Oct 08 '26

And how exactly are you going to do that without it being immediately flagged by IT?

The way I've done it on every project I've ever worked on: without getting flagged by IT.

I've never tried to 'steal' code that I didn't work on, but anything I directly worked on, I have in a private GitHub somewhere for future reference, although I've rarely had to use it thus far.

Never even had an inkling that anyone knew that I did this. The only time I didn't try was when I worked at a big bank. Partly because I felt there was a risk there and partly because there was barely anything there worth keeping for future reference.

Most companies I've worked (also big international ones) had laughable protections for this kind of thing.

6

u/NightlyWave Oct 08 '26

I work in the military industrial complex, and we’re operating on an OS with several root privilege vulnerabilities unpatched.

Even on Windows, someone could easily install WSL and copy stuff undetected.

6

u/Tueffy Oct 08 '26

I think you might overestimate the amount of companies that implement these measures. Sure it's possible, but I have worked and seen multiple places where there was zero endpoint management. No active directory or similar. Windows machines with just the local user, mac the same. You could walk of with everything you had access to and no one would notice.

→ More replies (1)

1

u/dollymeshvibes Oct 08 '26

you do have a point

5

u/DeathNick Oct 09 '26

Not one company I worked for had that kind of security.

13

u/burger-breath Oct 08 '26

Zip it, encrypt it, scp it to some other box in your house or in AWS, upload it to a bucket, bake it into a docker image and push that somewhere, compile it into a artifact that can bundle source (jar), FTP server, host a http server with the content from your work machine, there are literally a million ways that vanilla spyware probably isn’t watching

9

u/Ran4 Oct 08 '26

Outside of huge enterprises, that absolutely does not happen.

4

u/fistular Oct 08 '26

So many companies use public cloud hosts for their code. You can clone from literally anywhere.

4

u/IHaveNoNumbersInName Oct 09 '26

immediately flagged by IT

they are IT

16

u/Mormoran Oct 08 '26

Clone repo to local to work, as normal, unhook WiFi, copy folder to usb? Like, can they even track that?

19

u/InfectedShadow Oct 08 '26

Yes. My last company didn't allow USB storage devices to be connected and also logged anything like that.

18

u/danielleiellle Oct 08 '26

USB event is logged and eventually reported. Next time you’re online or when you return your device. For this I’m writing some python script that handles the transfer out via network as that would require a lot more forensics to id and log.

17

u/Key-Demand-2569 Oct 08 '26

I enjoy reading this sub sometimes as someone at a smaller/medium sized company, because boy of boy do I not have these levels of oversight or security competence in my career lol.

→ More replies (2)

5

u/qpqpdbdbqpqp Oct 08 '26

Disconnect wifi, do your shit, wipe laptop?

→ More replies (1)
→ More replies (3)

6

u/kickthatpoo Oct 08 '26

The usb thing has only been adopted in the last like 5 years. The first time I got blocked from using a thumb drive I went straight to the IT engineer I'm good with and he showed me how to disable it lol

8

u/Docccc Oct 08 '26

Bull… shit

i have been a freelance dev for 30 years.

I have codebase of several big players on my laptop. Nobody gave a fuck

3

u/jayerp Oct 08 '26

You can have a good explanation for offloading company property when resignation notice is given?

Every company I’ve worked for owns the rights to 100% of the code I write, whether it’s directly involved with my tasks or not. It’s just something you can either agree to or not.

There is no way most companies have a legit reason to let you keep anything.

→ More replies (1)

2

u/No_Record6284 Oct 08 '26

well, how about i plug a usb drive and copy all the code from my local repo to it?

2

u/j-random Oct 08 '26

It's already on my laptop, I just log in to Chrome using my personal credentials, then copy everything to my drive. No USB stick, no unusual software, no problem.

2

u/stupled Oct 08 '26

Copy paste from your company computer to a USB. If using GIT clone repositories in another computer

2

u/CarIcy6146 Oct 09 '26

Flagged by IT? lol assuming there is an IT dept and they are setup for monitoring something that is pretty hard to monitor

→ More replies (2)

2

u/Potential_Exercise Oct 10 '26

For me as a dev, I had to have access to source code and frequently download and upload it for changes. Nothing would be unusual for me to have it.

6

u/varinator Oct 08 '26

Zip it up and send it attached via Gmail? Or WeTransfer?

36

u/Untura64 Oct 08 '26 • Heartwarming

Zip it up and make an app that generates qr codes with each chunk of data at 20fps, then make a recording with your phone and extract the info at home whenever you want.

23

u/pippin_go_round Oct 08 '26

Funnily enough, that might actually work without it being flagged. Especially if it was just some random python or shell script doing the zipping and video generation - I run these all the time for various reasons, nobody's going to check

9

u/tiajuanat Oct 08 '26

That's almost like the VCR loophole in DMCA

→ More replies (1)

6

u/SufferingWithSomeFun Oct 08 '26

Step 1. Get code
step 2. Data sonification. Screen capture and covert binary to C. Code is now a tune you apply lyrics too.
Step 3. Save song via recorder
Step 4. Decrypt song

→ More replies (4)
→ More replies (4)

13

u/Play4u Oct 08 '26

Send the zip via any sort of email

Lol, lmao even

→ More replies (34)

5

u/King_Tamino Oct 08 '26

Just ask your local fbi agent to provide you a copy, don’t forget to tip him a coffee

→ More replies (12)
→ More replies (15)

1.9k

u/carmardoll Oct 08 '26

I quit my job at a restaurant around a decade a go, they still have me in the google group thingy they used to share their recipes, every once in a while I check up to see if they added something new, gather the ingredients and prep it for lunch following the instructions. I love it.

456

u/willow-kitty Oct 08 '26 edited Oct 08 '26

I worked on a suuuuuuuuuuuuuper secret project (not, like, actually classified or anything, just it was for an idea-person who was Big Afraid of the idea being stolen and had the most ridiculously sweeping NDA I have ever seen), and despite their apparent fears, they never removed me from the GDrive with all their market research and stuff on it. I've even asked to be taken off - nope. Still there.

Edit: actually, I just hadn't checked recently. It looks like it was eventually removed. But it was still in my "Shared With Me" for years after I left that project.

186

u/Emotional-Account324 Oct 08 '26

Any recipes you'd recommend / share?

208

u/carmardoll Oct 08 '26

I really like their chicken pesto recipe, is quite simple really, is basically shred the chicken thigh that was cooked in butter/olive oil, I cook it in the airfrier for around 20 min until is done and juicy in the center, you then pour the pasta but don't waste the pasta water, you mix the pasta with the pesto while slightly rinsing with the pasta water, this is to make the pesto react with the starch in the water and not make it too oily, once that's that you those in the shredded chicken and mix add Parmesan cheese to like.

They got a whole process for the pesto which is the "hard" part, did it once but I had to clean a lot after, look am making lunch for me, I just get it from the store it taste the same in the end.

→ More replies (1)

152

u/Piotrek9t Oct 08 '26

Just this week I learned of a company that poached most of the senior devs of a failing start up to leverage their knowledge in "building" a "compatible solution".

38

u/Griff2470 Oct 08 '26

Excuse me, Nortel wasn't a failing startup it was a failing established company /s

737

u/Nutrimiky Oct 08 '26 edited Oct 08 '26

I work in a big company, one dev we had for just a few months left with all the source code from some massive project and other ecosystem ones, some patented or confidential stuff, he's got a lawsuit with army of local and corporate american lawyers, millions $ in damage and so on. Wouldn't recommend that to anyone who works in any company with some basic cybersecurity teams.

Edit:fixed sentence "army of local and corporate american lawyers"

382

u/Zeusslayer Oct 08 '26

When I was leaving my old company I had some of my personal bank statements in the files. And in my last days I uploaded them into my personal drive and deleted them from the computer.

Later on security team messaged me and said that I triggered a leaving employee something flag and sent me a screenshot of files I uploaded and where I uploaded them into and asked me to clarify this.

When I clarified it was all good but yeah no chance that they don’t monitor these stuff in bigger companies.

140

u/godots_true_form Oct 08 '26

I’m one of the people who configure the monitors. Every org is different, but in our case we absolutely can see everything moved/uploaded/emailed. It’s a standard part of Microsoft in some licensing. And yet, people continue to try and steal shit.

25

u/methos3 Oct 08 '26

I got laid off a while ago. On the day of, I had this ridiculous idea of concatenating all my code into a giant file and then changing the filename extension to BMP and then claim it was some abstract art piece that was near and dear to my heart. But I knew it'd never fly.

11

u/Phteven_j Oct 10 '26

In school, we wrote a program to encode messages in image files by changing the last digit of every pixel’s hex color value to 0 or 1. It’s subtle enough not to make it obvious the image was edited and very easy to read off after.

→ More replies (1)

29

u/Beldarak Oct 08 '26

Kinda crazy and probably wouldn't fly in Europe, under GDPR.

I'm genuinely curious what they can do with that info though. I guess they can ask you to delete the fils but how can they ever be sure you'll have done it? This may be useful if you ever release a similar software I guess?

105

u/EHP42 Oct 08 '26

Kinda crazy and probably wouldn't fly in Europe, under GDPR.

Are you saying GDPR doesn't allow companies to monitor the work computers of their employees at all? I'm pretty sure monitoring network traffic of departing employees to make sure they're not stealing proprietary data is considered a legitimate interest.

→ More replies (7)

8

u/HK-65 Oct 08 '26

European here, it would definitely fly.

Our handbook says that your laptop you get is company property. We aren't allowed to monitor employees (as it should be), but certain actions that are clarified in the handbook trigger warnings in our systems, and data connected to strictly those actions can be collected as legitimate interest under GDPR.

I can also remotely wipe the laptop without warning. I warn people repeatedly that they are not to put any personal files on it, as it is company property.

→ More replies (1)

12

u/godots_true_form Oct 08 '26

It’s evidence for the legal case that comes later.

11

u/Zeusslayer Oct 08 '26

I think they can just sue you for it haha

Or if I would actually steal some confidential data and told them ah it’s just my personal banking, then they would have proof that I lied about the files that I moved. Might be good for their future case.

Can I ask what part is not GDPR compliant on above? It was a US firm but had offices in EU and I was also working in EU

→ More replies (9)
→ More replies (1)
→ More replies (7)

34

u/BlueKnight44 Oct 08 '26

Freaking for real. I would hope anyone that calls themselves a developer knows that copying code from an employer is stealing and easy to prosecute if the company has any security AT ALL.

2

u/psioniclizard Oct 13 '26

Honestly i am surprised I had to dig down this far to find these comments.

This is a great idea if you want to be sued and never work in software again.

Evem helper functions, utility scripts etc are not yours.

36

u/vadeka Oct 08 '26

This is the reason why byod is forbidden, even for externals, in all places I had a say as cybersecurity.

Usb devices? Disabled.

So you had to send the files to yourself somehow and yes., we track that.

Every flipping quarter I have to fire someone because they do this.

Only once in 4 years did I have the feeling jt was truly malicious. Mostly it’s people who send a repo to their home pc, work on it there and then send back the files. Because they hate the corporate windows machines. But alas, doing that is a fireable offense

25

u/yarntank Oct 08 '26

So only once it was malicious, but every quarter you are firing people.

23

u/vadeka Oct 08 '26

I cannot prove that it wasn’t malicious. The reason aside, the person in question leaked source code to the outside.

This is a fireable offense and we cannot play favorites, they are warned a million times not to do this and they know people got fired over this. If you still choose to do so… my sympathy is non existent .

Remember, I have to now report to higher ups we had a leak and explain it. If I did not fire that person, the board would demand it. You try explaining why you wish to keep someone that deliberately shared confidential data to the outside, no reason can justify that and I share as hell am not risking my or my teams jobs over that.

→ More replies (2)
→ More replies (1)
→ More replies (5)
→ More replies (1)

200

u/Unsigned_enby Oct 08 '26

OP just put in their two weeks.

36

u/falingsumo Oct 08 '26

OP about to loose way more than 2 weeks pay in a law suit

→ More replies (1)

191

u/VariousTailor7623 Oct 08 '26

Shit, last thing I’d want is my company’s code anywhere near my home computer

45

u/revolutionPanda Oct 08 '26

This sounds like a huge risk for very little upside at all.

→ More replies (8)

287

u/bajuh Oct 08 '26

My biggest regret was not doing that after the startup we did failed and we were laid off. Years of effort went into making the source code a work of art, then at the next company the green field project required the same architecture as the previous one. I banged my head in the table for a good minute.

46

u/rodrigocfd Oct 08 '26

Years of effort went into making the source code a work of art

Ah, the pre-AI days.

89

u/Scyyyy Oct 08 '26 edited Oct 08 '26

This is why we had, what i call "the [company name] salute"

You usually get logged out of teams, the repo, your windows installation - also in Home-Office.

When you then ask a colleague (by private means of communication - we were all friends there) if they had similar issues, and they replied "no" (often the connection was just flaky) it was a strong indicator that your contract has been terminated.

Once you made your way through to either support or HR you would be officially told. Some didn't do that, then they received the formal information the next day via mail (like physical post mail)

They had to schedule the return of their laptops and had up to 3 months of payed leave (+compensation). The company deemed that better than letting an ex employee back to their source code.

Not the worst (I mean it's German standard) but a gut punch for the colleague nonetheless. I precieved that as morally dubious and it was one of the reasons I moved on from them.

But in hindsight I understand their concerns...

Edit: You're so mean I was in a meeting 😭 corrected some spelling mistakes.

31

u/sastuvel Oct 08 '26

Oof, that's harsh. I would definitely prefer a human telling me, instead of just having the door shut and the locks changed. That feels so impersonal.

20

u/havocsupremecy Oct 08 '26

Do you mean colleague?

9

u/Invested_Glory Oct 08 '26

no, clearly meant collage, silly.

2

u/Scyyyy Oct 08 '26

Sorry, corrected.

→ More replies (1)

9

u/stellarsojourner Oct 08 '26

3 months of paid leave after getting fired and you still thought it was morally dubious? Must be European.

Cries in American.

4

u/featherknife Oct 08 '26

3 months of paid* leave 

4

u/willow-kitty Oct 08 '26

Oof. That happened to a friend not that long ago - he was on a remote desktop session helping a junior work through an issue when he got logged out, couldn't log back in, tried to reach out on Teams and that was logged out too, then got a phone call from HR saying there had been a layoff and he was in it. Just boom.

I get that they don't want to risk any kind of retaliation or anything, but it does feel harsh.

4

u/Ihatenukingkids Oct 08 '26

What about Kündigungsschutz?

10

u/Scyyyy Oct 08 '26

Valid question, you can't lay off an employee if you can't justify it. But if they really try, they will find something.

I know of one who didn't speak well about the company in a public LinkedIn post. But "not speaking well off" covers a wide range. From what I know, they even wanted to instantly dismiss them (fristlose Kündigung) which then got rebuked by the court (luckily, I knew that poor fellow, he has 2 kids...)

5

u/SomewhereAtWork Oct 08 '26

The company honors it by paying the employee until the end of the contract.

Everything else should be worked out before the company salute. If they fire someone like that, they have a valid reason.

→ More replies (3)

2

u/senseven Oct 08 '26

I work in a corpo that is hollowed out, rarely any expert is working there. Lots of specialised jobs are in external subsidiaries working with the core teams. If there is nothing to do, then they will end the contract. They are not required to find you a job in any subsidiary but you can look it up and apply internally. That gets you a new contract, where the six month probationary period starts again. We have a room close to the security entry area where rarely people sit there scrolling on the phone, playing Switch all day. They are still employed and on company grounds, but if they can't touch anything until whatever (legal) process is finished.

45

u/mothzilla Oct 08 '26

I've never seen a company's source code that I'd want in my own home.

17

u/TheRealKidkudi Oct 08 '26

Same. I’m surprised how many comments here are arguing about how you can do it, but I’ve never once wanted to do it. 

Very few companies are doing anything novel and especially not through some remarkable source code. Almost every codebase I’ve worked on, I could recreate from scratch and end up with a much cleaner repo simply because it wouldn’t have the baggage of years of technical debt, contractors, and half-assed patches around changing requirements.

2

u/_87- Oct 13 '26

Given the high percentage of the code I wrote in my last job, I am inclined to agree.

22

u/Neutraled Oct 08 '26

I did that a couple of times over 10 years ago, then I realized I never even looked at it anymore after leaving the companies. Code becomes outdated and useless in a couple of years for mobile apps and now AI made saving old code completely useless for the other platforms.

20

u/joe-ducreux Oct 08 '26

how am I supposed to copypasta my own work without a copy?

18

u/Mrletejhon Oct 08 '26

I'd paid good money to forget the horrible things I saw in the codebase that I had to maintain in the past year.

31

u/DOOManiac Oct 08 '26

Why would I want to steal the garbage on the way out the door?

42

u/mr2dax Oct 08 '26

Don't do it, you might get in trouble.

14

u/Beldarak Oct 08 '26

I always tought I'd do that if I ever leave. Not to steal it or re-sell the software, that would be theft, but because I wrote this code and may need it for future reference.

19

u/mr2dax Oct 08 '26

Every company I worked for made me sign papers to cover their arses. No matter what your intentions are, if you get caught doing it, you better be prepared to face the consequences as well.

Not saying it's fair, and that you should be lawful all the time, but I think getting sued over dumb shyt like this is the sw engineer's Darwin effect.

20

u/coronakillme Oct 08 '26

I found a workaround. Every time I write code or fix bugs, I also read the code and memorize the effective patterns. I slowly used the best design patterns and updated myself based on what worked and what did not for work of others in my team as well. When I left the job, I had everything needed stored in my brain.

→ More replies (6)

26

u/Fit_Philosophy_3392 Oct 08 '26

Everything you wrote is owned by the company. Taking it 'for future reference' is stealing it.

14

u/arostrat Oct 08 '26

It was copy pasted from stackoverflow anyway.

→ More replies (3)

7

u/sal-si-puedes Oct 08 '26

So if I take the code and use it for future reference, it’s stealing.

What if I take the code, use it to train an LLM on it and use the LLM to write code ?

→ More replies (4)
→ More replies (12)

6

u/willow-kitty Oct 08 '26

Yeah, don't.

It's one thing to take lessons learned with you - I implemented the same thing 4 times at 3 companies, a little better each time, because the same requirement kept popping up, and I was getting better and better at solving it - but it was new code as a work-for-hire each time. And it was different each time because it was incorporating new lessons learned.

What you probably can do (though not legal advice, ofc) - and I'm shamelessly taking this idea from a past coworker who did it all the time - is make libraries outside of working hours, in accordance with your works for hire/noncompete/etc agreeements, open source it with a permissive license, and then import that library at work. That way the code is actually your property, but your employer (and really anyone, including future employers) can still use it.

→ More replies (7)

7

u/GenericFatGuy Oct 08 '26

I'm an auditor. I'm here to make sure the company properly goes about suing people when their code gets stolen.

12

u/EkoChamberKryptonite Oct 08 '26

Do you also make sure companies get sued when they steal other people's code and make it proprietary?

→ More replies (3)
→ More replies (1)

11

u/bankrobba Oct 08 '26

My company would beg me to take their code, it's VB.net 4.0 framework.

19

u/TheDoughyRider Oct 08 '26

Why would you want that trash source code?

18

u/empT3 Oct 09 '26

I can tell you, I've been a software developer for over a decade and I've moved around as much as any other developer. 

Why the fuck would I want to keep the source code of the company I'm leaving? I've worked professionally on open source projects whose source I could clone off of GitHub right now from my phone. I haven't looked at that code since I left and I'm not even a little bit curious.

8

u/joahw Oct 09 '26

I think it must be like a hoarder thing? "I might need this someday"

4

u/shauntmw2 Oct 12 '26

I still hoard my shitty php app I created during my uni days alongside the xampp dev env for it.

They're about 20 years old now.

They're useless to me now. But I still keep them. I don't know why.

→ More replies (1)

3

u/mrMeterParker Oct 09 '26

Personally I like to keep code I created in some form for me to reference back to at some point. Even though I hardly ever go back to reference anything when coding

2

u/sexytokeburgerz Oct 11 '26

Helper functions.

I have my own little library of them and dont always get them all.

→ More replies (2)

8

u/ajayak007 Oct 08 '26

In our last org we did a framework which extracts legacy etl package raw code and generate a usable document. I learned a lot and took a copy of some logic. The same logic where used in my new org and everyone really liked my approach.

3

u/MindlessTime Oct 08 '26

To the extent I’ve seen developers do this, it’s pieces like this that work well and they want to remember how.

Honestly, you could probably write down a good explanation of the toolset, architecture, and general approach used in a codebase and AI could recreate it reasonably well. I’m not even sure that’s IP. It would just be general knowledge. So it’s probably better to just make notes on the parts of the code you like and why.

7

u/Wise-Profile4256 Oct 08 '26

omg. why would i take those dreaded monoliths? my job is to rewrite them. it would be overall faster to do new ones but it would take a bit of time and then the boss can't featurecreep every other day.

→ More replies (5)

6

u/stupled Oct 08 '26

Yep. I keep all company's code on my external harddrive. It could be useful, you never know.

5

u/Thriven Oct 09 '26

The code I have written? Sure. I took a bunch of repos from my last job.

The code they wrote should be studied so that history doesn't repeat itself.

11

u/Sometimesiworry Oct 08 '26

I even got invited to the GitHub organisation on my private GitHub account. So technically I could clone them to my personal pc right now.

6

u/Interesting_Cod_8853 Oct 08 '26

Github logs that for enterprises i think

5

u/timsredditusername Oct 08 '26

It does. I've read the logs as a GitHub Enterprise owner.

11

u/saanity Oct 08 '26 • Bravo

All code and assets created in the company for the company belong to the company. It's in the employment contract. This is asset theft and can land you in prison. 

4

u/theChaosBeast Oct 08 '26

So sad I had to scroll this far to find someone posting it...

53

u/Snakestream Oct 08 '26

If a company is this sloppy with their security, they're not going be around too long. If the company you're going to uses stolen code from an incoming employee, that's not a good sign about the environment either.

35

u/Wicam Oct 08 '26

eh, it worked for intel. they are still around.

22

u/Lightningtow123 Oct 08 '26

Yeah my dad's worked cybersecurity for thirty years now and every company he's ever worked at, as soon as you put in your two weeks, your access is removed and you're off the job. You still get paid for those two weeks of course but you can't really steal anything after that point. Cause if someone quits a good cybersecurity job it's most likely to be to go work for a competitor. Of course it's a little bit dumb cause if they wanted to steal data they just wouldn't put in their two weeks, but it's standard practice, or so I thought. I'm surprised to learn that's not the case at all tech companies lol

3

u/varinator Oct 08 '26

The secret here is to copy the code few days before giving notice. Points-to-head-meme

4

u/Appropriate-Emu-2595 Oct 08 '26

Isn't that what non compete clauses in contracts are for?

14

u/flingerdu Oct 08 '26

In most jurisdictions you can‘t legally prevent a person from working for a competitor. You can only keep paying them for not doing so, however they‘re free to cancel that agreement if they want to.

→ More replies (2)

13

u/tiajuanat Oct 08 '26

Those are largely unenforceable. Also it's very easy to be creative with "no these aren't the same roles, and were not really competitors"

5

u/Ran4 Oct 08 '26

That sounds extremely American-like.

In first world countries you're typically working for 2-3 months before quitting (this goes in both directions btw), so obviously you won't lose your access unless there's some sort of conflict involved.

2

u/mxzf Oct 08 '26

It's a weird policy because, as you said, it's dumb. You're preventing them from doing something they could have done the day before giving their notice while stopping them from working to make a smooth handover to their successor.

Like, sure, remove their production DB access and whatnot, but static data that the person could have used before their notice is weird to cut off access to.

5

u/Hmm_would_bang Oct 08 '26

It’s very rare for any company to actually be good at DLP. You just have to know where their specific blind spots are.

5

u/debugging_scribe Oct 08 '26

The company i currently work for had been around for 20+ years and they have no security around this kinda stuff...

13

u/luker_5874 Oct 08 '26

Why would you want to take code with you?

28

u/arvigeus Oct 08 '26

To rewrite it in Rust, of course...

2

u/fbpw131 Oct 08 '26

made me chuckle in a public space.

2

u/vadeka Oct 08 '26

At this point I want to do something in rust just to see what’s it about but I have never worked at a company big or small that actually used it

→ More replies (4)

9

u/phroxenphyre Oct 08 '26

I think mostly just as a reference for how you solved particular problems. I have a shit memory and am constantly pulling up older code to remind myself what I did last time so I don't have to go through the mental effort of reinventing the wheel.

Nowadays, I just have personal projects that I maintain and whenever I do something cool at work, I find a way to work that pattern into my personal project. Also gives me a chance to play around with it a bit more and see if there's any other cool stuff I can do with it.

→ More replies (2)

2

u/Piyh Oct 08 '26

In the before times, reference libraries of code that you had written helped you deliver faster in the next job.

→ More replies (3)

8

u/DigitalArbitrage Oct 08 '26

You don't need to do this anymore. The whole point of AI is it trains on everyone's source code and invalidates all of the intellectual property protections.

8

u/justforkinks0131 Oct 08 '26

who cares, it's all Claude anyway..

you can generate it in like a weekend

2

u/critsalot Oct 08 '26

this^ and even back a decade ago it was all common frakeworks and shit you literally could make it your own. the only time i ever thought it would have been useful was the one time i worked for a game comapny and they have long since killed the game. bringing that game back as a retro thing would have been cool. but oh well didnt do. the assets are gone forever.

12

u/cusco Oct 08 '26

Create a private GitHub repository, create a second remote origin, point it to that repo, push, remove second remote origin

Done

19

u/Icy_Neighborhood2100 Oct 08 '26

You might want to encrypt and compress the whole repo to an opaque binary blob THEN push it to a private repo.

Security can basically see what network packets contain and I've almost gotten in trouble doing what my boss told me to do. (Testing stuff on personal Linux box because locked down w10/11 and various corporate spying tools that slow the OS down to a crawl)

(I haven't done this, not worth it and the codebase at my job is an actual liability if anyone stole it lmao)

24

u/im_thatoneguy Oct 08 '26

Yeah this is the unfair criticism windows got. My BIL was like “I wish I had a Mac, windows sucks, it takes 25 minutes to login.” And I’m like… uhhh that’s not a standard windows feature, your company is running a shit ton of endpoint scanning out something.

5

u/fish312 Oct 08 '26

How would they be doing that unless they're MITMing everything and serving their own SSL certs with a custom CA already installed on your box?

11

u/Meins447 Oct 08 '26

Jup, that is basically industry standard nowadays. It as a developer, it is causing no end of "joy" as you have to ensure the stupid MitM CA is injected and accepted by every stupid program, package manager, library and transient dependency you may need to do your work.

→ More replies (3)
→ More replies (2)
→ More replies (1)

6

u/DaveMcLee Oct 08 '26

Get that project that transmits a file using a series of QR-Codes. Slap the zip file in it and record the flashing QR codes with your phone. At home, reconstruct the file using said video.

2

u/WHALE_PHYSICIST Oct 08 '26

I recommend testing that program out yourself before having confidence in it

2

u/SuperFLEB Oct 08 '26

Might be easier to use audio. Rig up a little acoustic coupler.

3

u/Procrasturbating Oct 08 '26

Yeah, in the real world.. getting caught doing this gets you sued or a stint in a cage to remind you not to be a fucking moron. Fast track to hiring blacklists too.

3

u/ImpossibleCreme Oct 08 '26

Man every time I quit a job was to get away from a codebase. I’m not taking that trash with me

3

u/ultraSsak Oct 09 '26

maybe a decade ago...
Currently company software is useless piece of crap.

5

u/lutherdriggers Oct 08 '26

Source code is just dirty laundry and not a significant part of a company's moat.

5

u/Enough-Scientist1904 Oct 08 '26

I dont think this ever happens

→ More replies (3)

8

u/somewhatprodeveloper Oct 08 '26

So at this company I read employed at that made financial payment software, the one guy that was there for a number is years, went across the road(literally) to another dev house. A few months later we had a question and sent it to him, and he was able to respond with the exact line of code to look at. I said to the senior engineer, who did not pick up on it, he's walked out with your IP incase you did not realize it. A number of months later when I resigned another senior guy asked me as I was leaving: you don't have a copy of our code so you? My reply : I've seen enough shit code here, why would I want a copy? That was the honest truth

6

u/RobotechRicky Oct 08 '26

Just try and stop me. Nothing yet after 30 years has blocked my attempt to get what I created.

2

u/qpqpdbdbqpqp Oct 08 '26

I usually take the whole computer lol

2

u/krazyjakee Oct 08 '26

yeh... we're going to need something other than GDP to grade the economy.

2

u/RDTmodsBackEpstein Oct 08 '26

Sounds like an AI might have scanned the source code and can now output it at random. Out of my control IT, all the current laws favor the AI after all.

2

u/Dragonfire555 Oct 08 '26

Absolutely not.

2

u/gm_family Oct 08 '26

*Risk, security & audit team enter the chat*

2

u/ReplacementLow6704 Oct 09 '26

"All that tech debt is mine now!"

1

u/PowerPleb2000 Oct 08 '26

Good luck taking a trillion lines of code spread out over 5000 repos

1

u/Dundell Oct 08 '26

Shoot this one guy FN under some program, got his green card eventually, took all the research and sent it to his gmail, got hired from some private company, they found out he didn't have the critical certifications needed for the job (He lied about having), they fired him within 6 months, and the same silly chief at the original facility rehired him back in the same position with no repercusions.

1

u/redditmarks_markII Oct 09 '26

Patently false, except some idiots probably think this is valuable.  

Well, maybe really early days, when the Internet barely existed, and open source was hard.

If this was happening, and if it was actually useful, then my only conclusion is all multi billion dollar company's board, management, and employees are all woefully incompetent.  Otherwise the sheer number of exchange of engineering talent across them should have homogenized the tech in a GOOD way.  That things should be slicker, communication smoother, (due to better contacts and isolation, not better communication skills per second).  

Then again, I have no idea what it takes to get ahead in this field.  Seems like it's all corpo hand shaking and hand wringing.  So maybe the perception of valuable code is all it takes.  But no, these people take overt espionage pretty seriously.  Talent is all they allow to exchange.

1

u/LeMadChefsBack Oct 09 '26

Even if they paid me to take it I wouldn't.

1

u/chad_dev_7226 Oct 11 '26

I always take all of my code with me just to keep for reference. I haven’t work anywhere big enough to care though

1

u/Streether0 Oct 08 '26

So id i just zip the source code and upload it to the cloud. And just download it from other pc. How could they ever find this out?

4

u/LetUsSpeakFreely Oct 08 '26

Are you serious or being sarcastic? It's difficult to tell these days.

2

u/JAXxXTheRipper Oct 09 '26

Most of the people in this sub are one of three things: idiots, larpers, students. Sometimes all three.

→ More replies (26)

3

u/Lauren_Conrad_ Oct 08 '26

> the source code

Don’t forget the mainframe too.

1

u/Streether0 Oct 08 '26

So cant we just upload source code to the cloud and download it from your personal pc? How can they become aware of that?

8

u/Hello_Pal Oct 08 '26 • Bravo

Cloud logs

→ More replies (4)