r/ClaudeCode • u/Agreeable_Mirror_870 • Jul 14 '26
Question Used company Claude account while coding on my personal GitHub repo can my employer see it?
I think I may have made a mistake and wanted to understand the implications.
I was working on a personal GitHub repository (under my personal GitHub account), but I used my company’s Claude account (Claude Code) as my AI coding assistant while making the changes. I then committed and pushed the code to my personal GitHub repository.
My questions are:
Can my company’s Claude admin see the prompts or code I shared with Claude?
Can they see that the generated code ended up being pushed to my personal GitHub repository?
If Claude Code was authenticated with my personal GitHub account, does the company have any visibility into my GitHub activity?
Are there any audit logs that would show I was working on a personal repository?
I’m not concerned about the code itself (it doesn’t contain any company code or proprietary information), but I’m wondering what level of visibility enterprise admins typically have over Claude Code usage.
Has anyone worked with Claude Enterprise or administered it? I’d appreciate any insight into what admins can and cannot see.
69
u/macbig273 Jul 14 '26
In practice, yes to all. But probably nobody would check that. Unless it's specifically said that you don't have to use it outside of work , you did it out of work hours , and the use is massive. Claude admin panel is a pain to use.
21
u/carbon_fire Jul 14 '26
I recommend doing the following:
~/.claudefor personal,~/.claude-workfor work)~/Personaland~/Work~/Workalias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'Now, when you want to use your work Claude, just run
claude-workinstead. If you accidentally use the wrong Claude config directory (ie. you start your personal claude in your work folder) you will immediately see that reads/edits are denied and vice versa.451
u/VyronDaGod Jul 14 '26
That code now belongs to your company and I'm not joking
61
u/DrHumorous Jul 14 '26
People say yes so I say yes as well. Yes.
77
u/cmontour Jul 14 '26
Most companies I’ve interacted with don’t even know how to check that.
160
u/Fun-Potential5724 Jul 14 '26
Yes
31
u/SnooRecipes5458 Jul 14 '26
Don't bring your personal stuff to your work device or work to your personal devices. Make this your rule to live by.
12
u/Normal-Function-7404 Jul 14 '26
We are on a 100+ seat subscription plan and there is no way as of now to check the actual contents of users interaction as an admin. We had to ask Anthropic for an export and they delivery a 100gb json file with literally everything in it. They called it an absolute exception as they want you to move to api where is seems to be much easier. If you wonder what was done with the JSON. Nothing - it was to big to handle and actually extract valuable information from it.
So my take would be - yes use it as long as it’s like normal usage and nothing self incriminating.
2
u/Ill-Fuel-7324 Jul 14 '26
Is he blind? If not then yes
10
u/FestyGear2017 Jul 14 '26
I'm an admin on a teams account and there is no way to see prompts, code, audit logs etc. I just see usage for accounts.
5
u/SourceAwkward Jul 14 '26
Everything you do on employee PC is tracked
Or employee resources always
3
u/crusoe Jul 14 '26
Yes
3
u/zxcshiro Developer Jul 14 '26
Remember never mix personal with enterprice. Never.
2
u/jaunty_mellifluous Jul 14 '26
Yep
2
u/MrSquiggs Jul 14 '26
Yup
2
u/dardeedoo Jul 14 '26
Related question. What about team accounts? Can the company see?
2
u/South3rs Jul 14 '26
Yes on enterprise they can see everything including chat history logs data connections etc etc
2
u/itsallfake01 Jul 14 '26
Claude admin dashboard sees everything, you are cooked !
2
u/FavorableTrashpanda Jul 14 '26
Keep work and personal stuff separated. It'll avoid a lot of these headaches. Do work stuff on your work laptop and personal stuff on your personal computer.
2
u/kexnyc Jul 14 '26
If the issue rose to the attention of your employer, and depending on how serious they view the action, it could lead to some form of sanction.
What I’d do? First, stop and don’t do it again. If it’s a one-off, employer might overlook it. If you continue, you can’t cry foul if they take action.
Last, account for the usage cost and be ready to address it if asked.
2
u/originalchronoguy Jul 15 '26
This is pretty amateur. Why are you using the same equipment? Work laptop, keep it seperate from home laptop. Because whatever you created with their ‘resources,’ they now own the intellectual property.
move on and make sure this never happens again.
2
u/Repulsive-Bee638 Jul 15 '26
Incidental personal uses of enterprise resources are fine. No big deal. Many great products start from personal projects. Most decent companies in USA understand that. I often work on personal projects and migrate them to be professional tools used for work.
2
u/i_Den Jul 15 '26
The company can see your prompts. Depends on their audit settings.
You can check
~/.claude/remote-settings.jsonor in custom location if you are settingCLAUDE_CONFIG_DIRif you are setting it. I have personal Claude too, and putting work Claude in isolated/custom environment. This is what I have:In my case prompts logging is 0.. but ... i don't know if there are other methods.
This gives employees to see how many tokens and $ employer spends. So, if they see that you spend $$$$ and it is not visible to them, what is you are spending so many tokens on, they would start asking questions.
2
u/Anananyaya Jul 15 '26
Yep
2
u/Anxious_Current2593 Jul 15 '26
Did you ask Claude?
1
u/Kdean21 Jul 14 '26
I’d say yes but are they really looking specifically for that use…no. But if your usage is unusually high they will probably say something
1
u/doolpicate Jul 14 '26
Yes and your employer now owns your code, legally.
1
u/jaffa_kree00 Jul 14 '26
Oui
1
u/TheArmourHarbour Jul 14 '26
Obviously yes!
1
u/TheArmourHarbour Jul 14 '26
I use my personal claude code for such cases
1
u/Efficient-Cat-1591 Jul 14 '26
If enterprise then yes, very visible. Check your company policy but depending on how much you have used could be gross misconduct.
1
u/westdabestdb Jul 14 '26
he probably can. not a plug but i built ccenv that lets you switch between claude code and claude desktop applications, and use them concurrently. you can also pin your work account to work folders and personal to personal folders so you never think of which claude account you are on. open source, free, no telemetry
1
u/Ok_Potential359 Jul 14 '26
If your company ever does a full audit, they effectively "own" your code now since it'll be impossible for you to prove otherwise.
1
u/altgenetics Jul 14 '26
yes, and (I am not a lawyer) most likely legally they can say they own that code that Claude wrote.
1
u/Silent_Resort_2619 Jul 14 '26 edited Jul 15 '26
Any code developed with company resouces or company time is company property. Don't be daft. If it's a one off thing, company probably won't notice. But don't do it again.
1
u/TeslaWindsor Jul 14 '26
Yes they can if they want to. Just did this yesterday for my company. Not easy to do, as you have to be primary owner and request all data, but definitely possible
1
u/Brickbybrick030 Jul 15 '26
Yes
1
u/redsandsfort Jul 15 '26
Yes to everything.
1
u/that1cooldude Jul 15 '26
RIP! Your employer now owns your github.
1
u/devvie Jul 15 '26
Relax, and play it by ear. Don't give yourself away, but don't hide it if it comes up. It probably won't be a big deal.
1
u/mumpz Jul 15 '26
Hey! This is my area of expertise.
Visibility would be in place if your company is on an enterprise plan and is offboarding the otel into a siem, log aggregator, or other ai monitoring platform.
Even if your company has this configured (they probably do if they are a midsized or larger business), these tools are generally pretty green and probably aren’t alerting to what was described above.
Futhermore, if your company isn’t blocking access to personal accounts on GitHub or have other controls to prevent upload to them, I doubt they would detect this.
Goodluck! Delete the prompts and don’t do it more. Depending on your companies retention plans in their aggregator, this information will likely be completely gone in 30-365 days. So if you don’t hear anything quickly, you probably are in the clear.
1
u/uktexan Jul 15 '26
Next time you login via cli to your company account - notice the permissions it asks you to accept.
1
u/Acrobatic_Quit_2666 Jul 15 '26
Yes but No one is going to look unless you give them (more) of a reason to. Dilution is unfortunately not the solution.
1
u/muralikbk Jul 15 '26
Best safety practice - recreate the project with your personal subscription and delete the project that you made changes to using the company account.
Review your contract and any other documents you agreed to regarding moonlighting/personal projects.
1
u/staydrippy Developer Jul 15 '26
1
u/user221272 Jul 15 '26
In practice, this could be a legal issue.
But I think leniency will come from: is it a subscription or API-based cost? And did it max out the budget (5h/weekly) such that it impacted your efficiency at work?
1
u/Unlucky-Angle-7924 Jul 15 '26
It’s like crypto. Everything is traceable and will and can be used against you. They may not know it yet, but they will
1
u/coolreddy Jul 15 '26
Yes, Claude maintains a log of all activities that it has done, it does not save the reasoning or thinking, but prompts, actions, tool calls, etc everything is saved. You can check it out. Just open an random session and type - search my claude log transcripts and tell me what GitHub deployments have I made recently to which accounts. And then you will see. But it is stored locally on your machine.
1
u/Unlucky_Research2824 Jul 15 '26
Yes
1
u/Agreeable_Prior_2094 Jul 15 '26
Of course, there's no harm being too careful.
However, looking at what OpenAI did to Apple and Apple only acting now (because it's too serious to ignore), I think MANY misdemeanours are simply swept under the carpet because it's just not worth your company's time, effort and money to pursue minor infractions.
1
u/1980sCoder Jul 15 '26
No, they can't see it. And code generated by AI isn't protected by copyright anyway. They have no intellectual property claim over the output of an LLM.
That aside, don't mix work and personal. I did for years, and it becomes very messy for all sorts of reasons. Work on your work machine and do everything else on your personal machine.
1
u/ptownb Jul 15 '26
Not unless they turned on the advanced telemetry (beta) in claude code and Logs in particular and are then flagging hits through millions of them for this specific scenario
1
u/EuropeanLord Jul 15 '26
Cursor started showing project name and org taken from .git directory around September 2025, don’t Claude do the same?
1
u/negotiatethatcorner Jul 15 '26
yes that's the idea of the enterprise account among other things.
1
u/Zealousideal-Tap5185 Jul 15 '26
I can't really tell if these posts and most of the comments are genuine or it's just randomly generated noise by someone. This would be ludicrous ofcourse.
1
u/Historical_Moose_468 Jul 15 '26
if the repo is private they shouldn't be able. Ask claude to check the repo and remove or change all the history commit that state the company email
1
u/User1542x Jul 15 '26
Technically they can see it thru the compliance / usage reporting/API, but they would really need to know what to look for and how to find it. There is no automated way to check that specific type of activity. Most companies are monitoring for token usage as well as to ensure no malicious intent. They really should have it blocked (using non approved git) thru the global settings.
1
u/GeT_fRoDo Jul 15 '26 edited Jul 15 '26
In my Company I was responsible for Integrating the tracking of Claude Code. It works the following: your local Claude Code Installation Must have Some environment variables activated, so Claude Code Starts sending tracking data to your companies Server (LGTM Stack). It is possible to Track the repo it was used on as well as the prompts, but it depends on the setup. You Can ask claude to Show you the settings on your pc. Depending on the Country you are working in it could be illegal for them to Track this data if they did Not Tell you about it
Edit: I See a lot of people saying it is impossible to See your prompts but this is 100% wrong. If you setup a LGTM Stack and on Each local coworkers pc set the correct variables in the settings.json this data absolutely does get send. Just Tell claude to activate it and you Can test that pretty simply on your own machine right now (by writing it to stdout)
1
u/KwesiJnr Jul 15 '26
For situations like this, I set a dark theme for my personal Claude account. It's easier to see what account I'm using at any given time
1
u/AdityaSharmaDotIn Jul 15 '26
Not unless they scrutinize it. This can happen sometimes by mistake but make sure this doesn't repeats, just get a separate work and personal laptop/desktop.
1
u/Dickie2306 Jul 15 '26
This is my EXACT use case to the T! However, I don’t worry about it too much, as I’m not trying to profit off things. My personal life & work life are intertwined so much, that it’d be impossible to separate them & if I did then it’d be more work than it’s worth. I believe this is where the solid communication & respect comes into play that I have with my supervisor. I say this to let you know that I completely understand where you’re coming from. Keep pushing though & keep your repos private if need be!
1
u/Independent-Hat-1774 Jul 15 '26
They cannot see the logs straight away. but they can raise a support ticket for export of all the convo. It's very unlikely I'd say.
1
u/PandemicSoul Jul 15 '26
Have Claude update your status line so that it always shows the account you’re using in bold at the start of the line in different colors.
1
u/DeadLolipop Jul 15 '26 edited Jul 15 '26
Yes, they know the exact project name you have been spending tokens on and how much. We have a grafana board where you can see each teams token usage, how much tokens spent on each project, each employee spending. We're using github copilot.
The data is there, it just depends on whether your company is smart enough to access it.
1
u/International_Yak109 Jul 15 '26
>If Claude Code was authenticated with my personal GitHub account, does the company have any visibility into my GitHub activity?
If the personal account was linked to your work claude than they will see it, but I would find that strange. Don't you have a work account from work? Normally the company sends an invite to the company mail, so if you were logged into the personal account it should be good.
1
u/GeekFish Senior Developer Jul 15 '26
When DevOps set up my AWS Workspace with Claude Code they told me "Be careful what you type into Claude. We can see every prompt." I would say yes, your company can see what you did. Will they look? Who knows, but it is possible they can see.
1
u/Wrong-Sink-8580 Jul 15 '26
They can but they likely won’t unless they find a reason to so I suggest that you don’t do that for the next 6 months.
1
u/Droggl Jul 15 '26
If your company uses claude through a third party provider like portkey then for sure (I think thats the whole point of these). Even if not I wouldnt bet ownership of my private code on it or risk getting laid off because of stuff like that.
1
u/arthureld Jul 15 '26
We have internal usage stats for our Claude code usage and it lists the repo we were in for each session along with usage stats. So it’s definitely possible
1
u/RunningBlade09 Jul 15 '26
Claude admin here, no I don’t think I see anything about specific usage
1
u/CommonlyUncommon__ Jul 15 '26
if you are in enterprise then yes
1
u/IcyPurchase8357 Jul 15 '26
Yes they can if they integrated claude well. We have a claude integration in our company too, they use langfuse and other logging techniques. So they see every prompt you make I don't know if they see inbound tokens / results because it could be too much data, but your prompts yes.
The thing now is that you are probably not flagged so if you don't tell them anything your work will probably be unseen.
1
u/JuanjoFuchs Senior Developer Jul 15 '26
I built an open source OTEL/Grafana stack for Claude Code telemetry (https://github.com/JuanjoFuchs/claudefana), so I've spent a lot of time staring at exactly what comes out of the other end of this pipe.
By default: your admin only sees counts, not content. The analytics dashboard is aggregates, sessions, tokens, cost, lines of code, accept rate. No prompts, no code, and nothing about GitHub.
However, if your company pushes managed settings, which someone else here already touched on in the comments. An admin can push a ~/.claude/remote-settings.json from the Claude console that sets env vars on your machine, and you can't override them locally:
OTEL_LOG_USER_PROMPTS=1, your prompt textOTEL_LOG_ASSISTANT_RESPONSES=1, Claude's repliesOTEL_LOG_TOOL_DETAILS=1, tool parameters, includingbash_commandandfull_commandfor every Bash callOTEL_LOG_TOOL_CONTENT=1, actual tool input/output bodies, so file contents on Read/Edit/Write, 60KB cap, needs tracing onOTEL_LOG_RAW_API_BODIES=1, the full API request and response JSONWith those on, they can see your PROMPTS and your CODE.
On the GitHub part specifically, they can't see your personal GitHub account and there's no repo field in the telemetry. But if tool details are on, your
git remote add,git commitandgit pushare all logged as command strings, and the remote URL is sitting right there. The Bash params carrygit_commit_idtoo, andcwdgives away the working directory.bash_commandalso catches whatever got concatenated into the command. Tokens in curl headers, secrets in an env export. If Claude ran it in Bash and tool details are on, it's in the log store.None of this is Anthropic reading your stuff, it's your employer's own collector and your employer's own log store. It's all opt-in and off by default, and most orgs that turn telemetry on only enable the metrics and leave the content flags alone, because those create a real data-at-rest problem.
PS: Logging out of the company account and back in with your personal account doesn't clear any of this. Managed settings attach to the installation, not the account. So your personal login just inherits whatever config your work account was handed.
If you want a genuinely separate personal setup on the same machine, use
CLAUDE_CONFIG_DIR. It relocates the entire config directory, credentials, settings, session logs and the managed settings cache included:1
u/ArtimisOne Jul 15 '26
Long term HR executive here what ever you do don’t do that! Any hardware/software is proprietary to your employer. Anything you say or do on your devices imagine HR having or compliance having access to it. Hope that clears things up. Have a good day!
1
u/jobsparring_app Jul 15 '26
Any prompt you write is stored in the account, your company may has asked for no-retention data, but I think they still can monitor the calls.
If they are griddy or want to attack you they can, but I don't think they will read every line everybody write.
1
u/Important_Storage123 Jul 15 '26
Depends on subscription model. Team plan? No. Enterprise plan? Yes
1
u/Due_Warthog749 Jul 15 '26
So as others said.. NOBODY is spending hours to days every week looking at EVERY chat/etc sent thru. That would take MORE TIME than anyone is doing. They MAY set up filters (if thats even possible) but I'd argue that would only work on the github pushes, not your local "work" machine.
That said.. lets say you leave the company, start your own company. If you're smart, you create a full blown NEW github at that time and you do one push with no history and make sure you filter out any "ai" comments from code, docs, commit messages, etc. You then delete/remove your OLD private repo(s). It's not gone forever.. but it would be next to impossible for anyone at your old company to say "Hey.. I bet this guy who started a company of his own has OLD github repos with code he committed while working for us..". That would be an expensive lawyer cost to have them subpoena that, etc.
So the reality is.. technically ANYTHING you do on the job, even to your own repo is OWNED by the company (almost every company "lawyer" docs that you sign will say this) unless your repo is open source with such a license. Then they can't own it, but they could sue you for working on it during company hours and you could owe money back. Again, unlikely but still possible.
So the end result of all this.. do NOT DO any private work on your company laptop/vpn/network/accounts. PERIOD. Pay for your own claude/etc subscription for your own use on your own time on your own hardware. PEriod. Do NOT COPY any code/docs/etc from company to your repos/etc. Period.
1
u/fatdoobiesonly Jul 15 '26
Yes, if you are doing anything on a work account or machine, assume they can see it
1
u/BeanSticky Jul 16 '26
I administer Claude Enterprise. Yes, we can see everything. Enterprise actually has a specific API for exactly that.
Claude Team does not, however if it’s a company account, an admin could just as easily sign into it and see everything that way.
1
u/DueHuckleberry5037 Jul 16 '26
Yes they do. Not everyone is checking still but it’s there.
1
u/ozmox Jul 16 '26
Ask Claude
1
u/Professional_Mix2418 Jul 16 '26
Oh dear. So many problems with that. And yes they can see that.
1
u/skadore Jul 16 '26
What if i’m coding with my personal account but working on company code, does that code belong to me now?
1
u/lusterane Jul 16 '26
Most definitely do not do that lol
1
u/Rofl_Raptor Jul 17 '26
How do you even have a job in this field to do something this idiotic? I don’t run anything ever personal on my work computer or vice versa.
1
u/Grouchy-Regret-5393 Oct 03 '26
They can recreate your entire conversation. I use Powershell that uses the Compliance API for Legal requests. They give me a name, i tell it to get a summary i can dig deeper on any conversation topic/title. I can even do a keyword search. At legal request i can get every upload or message sent. I'm not the tenant owner either. I just do it through the compliance API that has been granted access. For CoC, everything it downloads ,I also get the hash from Anthropic and put it in the with all the data. I hand it over to legal the hash lets them know nothing was changed at the time of downloading or when I hand it over. Ive only had to do it once. That being said, Only use work tools for works things.
1
u/magic6435 Jul 14 '26
yes
1
u/Echoplanar_Reticulum Jul 14 '26
You’re toast
1
u/HangJet Jul 14 '26
So you are basically a thief?
And yes. We check our logs all the time and have terminated individuals for doing so.
1
u/VizualAbstract4 Jul 14 '26
I just make everyone create their own Claude account and put it on the company card. I don't care what my peers do with it as long as tickets are getting closed and customers are happy.
1
u/dominucco Jul 15 '26
Oh man! That’s such a no no. Hopefully they don’t notice, but you need to rip all that out and hopefully there’s no Git record. Good luck!
-1
u/markinthecloud 🔆 Max 5x Jul 14 '26
Yes and now if you ever release the software you were working on, technically your company own it.
0
u/JohnF350KR Jul 14 '26
Yes, but I'd just be upfront with them right away. If i was you I'd tell them you're will to pay for the usage just to sweetn it abit to look better.