Closed source can be a trade secret; published or uncontrolled code usually cannot.
Source, build scripts, proprietary algorithms and non-public APIs often satisfy the value and secrecy limbs if they are not shipped in readable form and are not on a public repo. Corresponding measures mean repository permissions, no personal clones, NDAs, and exit removal of laptops. You may also hold software copyright in the same code — that is a parallel right with different proof. Open-source components inside the stack are not your secret. Criminal thresholds for ‘especially serious’ trade-secret theft can be relevant for large code dumps.
4 questions before you choose the route.
This page identifies the right question and evidence. It does not determine the legal outcome on a reader’s facts.
Is the code actually closed?
Public repos, leaked packages and client-side JS are not secrets.
SecrecyWho had clone rights?
Contractors, vendors and former staff with still-active tokens.
AccessCopyright, patent, or secret — or all three?
Do not pick one theory if the facts support a stack.
RightsWhat was taken — a dump or a reimplementation?
Literal copy vs clean-room rewrite changes the case.
CopyingWorking rule: Map the regulated role before marketing or launch in China.
The signal ledger.
These facts move the question beyond a label and into a product, money-flow and control analysis.
Bring a compact evidence docket—not a pitch deck.
Give a compliance team or counsel the operating facts that reveal the perimeter.
Questions people ask before they build.
Short answers for orientation. The right result can change with the service model and current rules.
Does software copyright registration make it a trade secret?
No. Registration is copyright evidence and may even disclose deposit material. Trade-secret status still needs secrecy and measures.
Can we still sue if we used a lot of open source?
Yes as to the proprietary layer. Identify what is yours; do not claim Linux as your secret.
Primary authorities
Reviewed sources support orientation, not a fact-specific assessment.