C
Before you act, ask one question: would the vendor, platform or company report it to the police? Once you are being pursued, get a criminal lawyer right away
Value for cost High
In plain termsBefore you act, ask one question: would the vendor, platform or company report it to the police? Server logs, payment records and group chat records can all be pulled when a case is investigated. If you really are placed in criminal detention, whether to arrest you is decided within at most 37 days. You can hire a lawyer from the first questioning onward, and these 37 days are when a criminal lawyer is most useful.
- Cost
- Costs nothing. Before you act, swap “can this be done technically?” for a different question: would the vendor, platform or company report it to the police? The hard part is resisting the thought “nobody bothers with something this small,” because server logs, payment records and group chat records are pulled by default when a case is investigated
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Any organization or individual who discovers the facts of a crime has the right to report it. If the case-handling authority considers that there are facts of a crime, it shall open a case. After criminal detention, the police must request approval of arrest (apply to the procuratorate for a formal arrest) within 3 days. In special circumstances this can be extended by 1 to 4 days. In situations such as roving crime (committing crimes repeatedly across different places), it can be extended to 30 days. The procuratorate then takes 7 days to decide. Altogether, whether to arrest is decided within at most 37 days. From your first interrogation, or from when compulsory measures are taken against you (detention, arrest and the like), you can retain a lawyer. While the case is still being investigated by the police, you can retain only a lawyer. When the lawyer asks to meet you, the detention center must arrange it within 48 hours at the latest. If you may be sentenced to public surveillance (管制), short-term detention (拘役) or similar penalties lighter than prison, or only to a supplementary penalty with no principal penalty, you can get release on bail pending trial (取保候审): pay a bail deposit or find a guarantor, and go home to wait while the case is handled. Bail lasts at most 12 months (nationwide)
- Evidence grade
- C
- Notes
- These 37 days run from detention to the procuratorate's decision on whether to approve arrest; they are not the upper limit on custody. After arrest is approved, the custody period for the investigation stage follows and keeps counting. These 37 days are also when a lawyer who knows the field is most useful: meeting you, submitting an opinion to the procuratorate that arrest “should not be approved,” and applying for release on bail pending trial. Waiting until after you are indicted to find a lawyer is too late. The remaining items in this section are all about the same thing: whether the other side has a reason to report you.
A
Don't make or sell game cheats and assist tools, including AI assists that “only read the screen and never touch memory,” and don't sell modded versions that add features to software like WeChat
Value for cost High
In plain termsSelling a cheat 20 times (人次), or earning 5000 yuan, is enough for a sentence of up to 3 years; especially serious cases get 3 to 7 years. One person made wall-hack and aimbot cheats, sold over 80,000 yuan's worth in 3 months, and got 1 year suspended for 1 year and a 5000 yuan fine. Someone used a server-side program to run a private server and took in over 20 million yuan in top-ups; the heaviest sentence was 4 years, and the largest fine 10 million yuan.
- Cost
- Costs nothing. The price is giving up the income from commissions of this kind and from “little tools.” The hard part is that this money comes fast, and you can't see who would ever come after you
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Providing programs or tools specially used for intruding into or illegally controlling computer information systems, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone. “Concurrent” means a fine on top of the sentence; “alone” means only a fine. Where the circumstances are especially serious, 3 to 7 years plus a fine. The threshold for “serious circumstances” is providing tools 20 times (人次) or more, or illegal gains of 5000 yuan or more. Illegal gains means the money you made from it. Intentionally circumventing or breaking technical protection measures set by the rights holder may also constitute the crime of copyright infringement, with up to 3 years, or 3 to 10 years in serious cases. Official cases: Wang and others made and sold cheats that achieved wall-hacks and aimbots by reading and modifying game memory. In 3 months they sold over 80,000 yuan's worth, with a profit of over 30,000 yuan. Sentence: 1 year suspended for 1 year, and a 5000 yuan fine. “Suspended for 1 year” means sentenced to 1 year but not locked up for now; if you commit no further offense during that year, you don't go to prison. Xiang and others sold the “TZ” series of cheats, with sales of over 200,000 yuan; Xiang got 3 years suspended for 3 years and a 20,000 yuan fine. Liu and others obtained a game's server-side program, changed its parameters and ran a private server, collecting over 20 million yuan in top-ups. Sentences ranged from 4 years to 2 years 6 months, and fines from 10 million to 1.3 million yuan. It's not just games. A Shanghai company made a firmware flashing package (刷机包) that gave WeChat on the phone dozens of extra features such as auto-forwarding, liking and mass messaging, and sold 2381 units as “marketing phones.” In 2019 the Xuhui court in Shanghai, for the crime of copyright infringement, fined the company 500,000 yuan and sentenced the person in charge to 1 year 6 months suspended for 1 year 6 months (nationwide)
- Evidence grade
- A
- Notes
- The cheat cases published so far all involve reading and writing game memory and bypassing anti-cheat. No official case has been seen yet for assist tools that “only take screenshots and only simulate keypresses.” But the ticket-grabbing case in Item 3 shows that without touching memory, just by sending requests, you can still be convicted of illegally obtaining data. Whether it counts as a crime in the end, and as which crime, is decided by the case-handling authority based on the materials the vendor hands in when reporting it; it is not the author's call. Selling 20 times (人次) is enough for “serious circumstances,” and that is a very small number.
A
Don't write or sell scripts for ticket grabbing, flash-sale sniping, fake orders or promotion farming, even if they only “automate button clicks”
Value for cost Very high
In plain termsEven if a script doesn't modify memory or crack anything and just sends requests faster than a person, you will still be convicted; earning 5000 yuan or causing the other side a loss of 10,000 yuan is enough. One person used bought 12306 accounts to grab over 200 tickets for others, made over 20,000 yuan, and got 1 year 6 months suspended for 1 year 6 months and a 5000 yuan fine. Someone who sold ticket-grabbing software in an online shop paid 20,000 yuan in damages for unfair competition.
- Cost
- Costs nothing, and takes no time
No money
Done in passing
No willpower
Benefit size large
- Benefit
- Intruding into a computer information system, or using other technical means to obtain the data in it, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone; especially serious cases carry 3 to 7 years. The threshold for “serious circumstances” is illegal gains of 5000 yuan or more, or causing losses of 10,000 yuan or more. Official cases: one person used a cheat tool to import purchased 12306 accounts in bulk and submitted ticket purchase requests intensively over multiple threads. He grabbed over 200 train tickets for others and made a profit of over 20,000 yuan. The court convicted him of illegally obtaining computer information system data and sentenced him to 1 year 6 months suspended for 1 year 6 months and a 5000 yuan fine. Zheng sold ticket-grabbing software targeting a ticketing app in an online shop, was found to have engaged in unfair competition, and paid 20,000 yuan in damages (nationwide)
- Evidence grade
- A
- Notes
- The script in the ticket-grabbing case didn't modify memory or crack anything; it was just “faster than a person,” and it was still convicted under Article 285 of the Criminal Law (刑法). Grabbing tickets for others for money and selling scripts both count as seeking profit. No official case was found for using one yourself, once.
A
Let crawlers crawl only public pages that need no login; don't get around anti-scraping measures, don't touch personal information, and don't sell the data you scrape
Value for cost High
In plain termsData you can only get with a login, a token or a cracked signature counts as bypassing protection: up to 3 years, or 3 to 7 years in serious cases. Scraping personal information is more trouble still. 50 records of whereabouts, communications, credit or property information already count as serious circumstances. So do 500 records of lodging, health or transaction information, 5000 records of other kinds, or earning 5000 yuan.
- Cost
- Costs nothing. A crawler is a program that automatically goes through web pages and grabs the data on them. Before crawling, take a look at the robots file and the API authorization terms; robots is the file a website puts in its root directory stating which pages may not be crawled. Don't crawl data you can only get by logging in, by using a token (a string that serves as a temporary access credential) or by cracking a signature. The hard part is that technically this data is yours in one grab, and holding back depends entirely on self-discipline
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Bypassing protection to take data from a system is sentenced the same as in Item 3 (ticket-grabbing, flash-sale and fake-order scripts): up to 3 years, or 3 to 7 years. Illegally obtaining, selling or providing citizens' personal information counts as “serious circumstances” if it meets any one of the following: 50 or more records of whereabouts, communication content, credit or property information; 500 or more records of lodging, communication logs, health or transaction information; 5000 or more records of other personal information; illegal gains of 5000 yuan or more. Serious circumstances carry up to 3 years, with a concurrent fine or a fine alone; especially serious ones carry 3 to 7 years. Official cases: Li, a software developer, disguised a function that stole phone photo albums as a “looks rating” app, obtained 1751 face photos, and also resold data from a social-engineering database; sentenced to 3 years suspended for 3 years. A social-engineering database is a database that pools personal information leaked from many places. An internet technology company used a crawler to take store and order data from a food-delivery platform, causing losses of over 40,000 yuan, and was prosecuted for illegally obtaining computer information system data (nationwide)
- Evidence grade
- A
- Notes
- That 2017 judicial interpretation provides that “giving lawfully collected information to others without the person's consent” also counts as “providing.” Exporting a user table at your company to an outside partner falls under this sentence too. 5000 records is just the size of a small table.
A
Don't take development jobs for gambling, fraud or porn apps, and don't set up payment channels or unblock accounts for “clients”
Value for cost High
In plain termsTake one of these high-paying, vaguely specified jobs and you count as an accomplice of the gambling ring. Under the crime of operating a casino that means up to 5 years, or 5 to 10 years in serious cases, heavier than the maximum of 3 years for merely helping. For one esports betting app, 28 people who wrote the code were sentenced to 1 year to 3 years 6 months. Someone who unblocked QQ accounts for a fraud ring got 1 year 6 months and a 20,000 yuan fine.
- Cost
- Costs nothing. The price is giving up outsourcing work of this kind, which pays well but whose requirements are unclear. The hard part is that the other side often pays a big step above normal jobs
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Knowingly providing technical support, payment settlement or similar help to someone who is using the internet to commit crimes, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone. If the conduct also constitutes another crime, it is sentenced under whichever crime is heavier. Operating a casino carries up to 5 years plus a fine, or 5 to 10 years where the circumstances are serious. Official cases: the Zhang Sheng group developed gambling games and then “sold turnkey sites” (包网外销), charging site-building fees and reporting fees. The amount involved was nearly 7 billion yuan. Zhang Sheng got 9 years 9 months and a 50 million yuan fine. Wang Qiang and others, 79 people in all, who handled the outsourced development, got sentences ranging from 6 months to 9 years 9 months. Chen Dong and others developed and operated an esports betting app, with the technical team writing the code in Hainan; 28 people were sentenced for operating a casino to between 3 years 6 months and 1 year, plus fines. Zhang set up a studio that unblocked banned QQ accounts for a fraud ring; sentenced to 1 year 6 months and a 20,000 yuan fine (nationwide)
- Evidence grade
- A
- Notes
- “Knowingly” does not require the other side to say out loud what it is for. A price clearly above the market rate, features consisting of top-ups, withdrawals and odds, a client who won't say what it's for: investigators will use all of these to infer that you knew. Technical staff who develop gambling apps are handled as accomplices in operating a casino, not in the tier of the assistance crime (帮信罪) capped at 3 years. The assistance crime (帮信罪) is short for “the crime of assisting criminal activities on information networks” (帮助信息网络犯罪活动罪).
A
When you leave a job, hand over all accounts and access; don't wipe databases, leave backdoors, or change passwords to lock the system, even if the company owes you money
Value for cost High
In plain termsThe company gave you the account and password; that doesn't mean you can still use them after you leave. Logging in counts as illegal control: up to 3 years. Deleting data so that the system can't run carries up to 5 years, or 5 years or more if the consequences are especially serious. One senior engineer who had been dismissed logged in to the company server with the old administrator account and deleted data and logs, causing a loss of over 120,000 yuan; sentenced to 3 years suspended for 5 years and a 30,000 yuan fine.
- Cost
- Costs nothing. If the company owes you wages, get them back through labor arbitration; don't take matters into your own hands (for labor arbitration, see Section 7). The hard part is keeping your hands off the system while you're angry
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Illegally controlling a computer information system, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone; especially serious cases carry 3 to 7 years. Deleting or modifying system functions or data so that the system cannot run normally carries up to 5 years where the consequences are serious, and 5 years or more where they are especially serious. Official cases: after being dismissed, IT senior engineer Lü logged in to the company's shared server with the old administrator account. Lü changed the password and deleted data and logs, causing losses of over 120,000 yuan. Sentenced to 3 years suspended for 5 years and a 30,000 yuan fine. Bai, an employee of a software company, deliberately inserted faulty code while writing an upgrade program, so that a client's system could not be logged in to, causing losses of over 40,000 yuan; prosecuted for sabotaging a computer information system (nationwide)
- Evidence grade
- A
- Notes
- The company gave you the account and password; that doesn't mean you can still use them after you leave. Logging in with your old account counts as “illegal control.” Losses are calculated from the cost of data recovery, and a few tens of thousands of yuan is enough to open a case.
A
When you leave, don't take source code, client lists or technical documents with you, don't upload them to a personal cloud drive, and don't reuse them at your next employer
Value for cost High
In plain termsThe copyright in code you wrote yourself also belongs to the company, and client lists count as trade secrets too; taking them is taking the company's property. One former employee took the source code of a security-screening system to a new company; the employee got 5 years and a 500,000 yuan fine, and the new company was fined 4 million yuan. Someone exploited a system vulnerability to download over 33,000 design files and got 1 year 10 months. The company can also separately claim damages from you.
- Cost
- Costs nothing. Before you leave, delete all company material from your personal computer and cloud drive. The hard part is that you wrote some of these files yourself, line by line, and it's hard to let go of them
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- Breaching a confidentiality obligation by disclosing a trade secret or using it yourself, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone; especially serious cases carry 3 to 10 years plus a fine. The Anti-Unfair Competition Law (反不正当竞争法) also lists two acts as infringement: obtaining trade secrets by “electronic intrusion” (intruding into a system by technical means); and inciting or helping others to breach a confidentiality obligation. Official cases: Sun X-ming and other former employees took the source code and core algorithms of a security-screening system and used them in the new company's products; Sun X-ming got 5 years and a 500,000 yuan fine, and the new company was fined 4 million yuan. Tian exploited a system vulnerability to download over 33,000 design files; sentenced to 1 year 10 months and a 100,000 yuan fine. Engineer Yang saved an app module's source code to a personal computer and to the cloud, then after changing jobs built a similar app; prosecuted for infringing trade secrets (nationwide)
- Evidence grade
- A
- Notes
- The copyright in “code you wrote yourself” also belongs to the company; on this point, see Item 13 (code written with company resources belongs to the company). Taking it is taking the company's property. Client lists are business information and are trade secrets just the same. Besides the criminal sentence, the company will also bring a separate civil claim for damages.
A
Don't run your own programs on other people's computers, servers or cameras, and don't use company machines for mining
Value for cost Very high
In plain termsControlling other people's computers, servers or cameras without permission: at 20 machines it carries up to 3 years, and especially serious cases carry 3 to 7 years. Even if it doesn't amount to a crime, you still face detention of up to 5 days, and possibly a fine of 50,000 to 500,000 yuan. Anyone who has received a criminal penalty is barred for life from key positions in network security management and network operations.
- Cost
- Costs nothing, and takes no time
No money
Done in passing
No willpower
Benefit size large
- Benefit
- Illegally controlling a computer information system, where the circumstances are serious, carries up to 3 years, with a concurrent fine or a fine alone; especially serious cases carry 3 to 7 years. Illegally controlling 20 or more machines counts as “serious circumstances.” If it doesn't yet amount to a crime, the police confiscate the illegal gains and impose detention of up to 5 days, and may impose a fine of 50,000 to 500,000 yuan. In more serious cases, detention of 5 to 15 days, and a possible fine of 100,000 to 1 million yuan. People who have received a public security administrative penalty (治安处罚) are barred for 5 years, and people who have received a criminal penalty are barred for life, from key positions in network security management and network operations. Official cases: Li bought the IP addresses of network cameras and used software to control 105 cameras to spy on people's privacy; sentenced to 3 years suspended for 5 years and a 20,000 yuan fine. Wu and others planted trojans in phone motherboards and controlled over 3.3 million phones to send back verification codes; sentenced to between 2 years and 4 years 6 months (nationwide)
- Evidence grade
- A
- Notes
- No case published by the Supreme People's Procuratorate or the Supreme People's Court was found for mining on company servers; this item is written from the statute on “controlling someone else's system without permission.” “Barred for life from key positions” is an additional consequence that the Cybersecurity Law (网络安全法) attaches on top of fines and sentences, and for tech workers it weighs more than a fine.
A
Don't test other people's systems without written authorization; “good intentions” and “reporting it afterward” are not grounds for clearing you of a crime
Value for cost High
In plain termsWhether you're convicted depends on whether you had authorization and how much you obtained, not on what you intended. Obtaining 500 sets of ordinary account names and passwords, or earning 5000 yuan, or causing the other side a loss of 10,000 yuan, is enough for up to 3 years. Exporting a user table along the way to prove a vulnerability often goes past 500 sets in one go. Even if you hold an account and password, using them outside the scope of authorization also counts as intrusion.
- Cost
- Costs nothing. Before joining a vendor's SRC program or a crowdsourced test, first get a document that states the scope of authorization, the list of targets and the time windows in which testing is allowed. An SRC is a security response center run by the vendor itself, dedicated to receiving vulnerabilities reported from outside. Stop as soon as you've verified that the vulnerability really exists. The hard part is giving up that one “just try it while I'm here”
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- The systems of ordinary companies and individuals are computer information systems outside the fields of state affairs, national defense construction and cutting-edge science and technology. Intruding into such a system, or using other technical means to obtain data stored, processed or transmitted in it, where the circumstances are serious, carries up to 3 years of fixed-term imprisonment or short-term detention (拘役), with a concurrent fine or a fine alone. Especially serious cases carry 3 to 7 years plus a fine. “Serious circumstances” has several criteria: obtaining 10 or more sets of identity authentication information (account names, passwords and the like) for online financial services such as payment settlement, securities trading or futures trading; obtaining 500 or more sets of other identity authentication information; illegally controlling 20 or more computer information systems; illegal gains of 5000 yuan or more, or economic losses of 10,000 yuan or more. 5 times these figures or more is “especially serious circumstances.” Official case: Procuratorate Guiding Case No. 36 (检例第 36 号) established one sentence: “Using an account and password to log in to a computer information system beyond the scope of authorization is an act of intruding into a computer information system.” That is, even if you already hold an account and password, using them outside the scope of authorization is itself intrusion. In that case three people used the accounts, passwords and tokens they had access to through work to log in to the company's internal system from another location, downloaded data outside the scope of their work and sold it online, with illegal gains of 37000 yuan. The three were sentenced to 4 years, 3 years 9 months and 4 years respectively, and each fined 40,000 yuan (nationwide)
- Evidence grade
- A
- Notes
- Guiding Case No. 36 (检例第 36 号) itself is a case of selling data for profit. It is cited only for the one sentence that “logging in beyond the scope of authorization also counts as intrusion,” not to say that good-faith testing would be sentenced as heavily. What you intended and whether you reported it afterward cannot cancel out the offense; they can only affect how heavy the sentence is and whether you are prosecuted. A vendor thanking you first and reporting you to the police later are not contradictory; thanks is not authorization. In 2016, a white-hat hacker submitted a vulnerability in the Jiayuan (世纪佳缘) website to a third-party vulnerability platform; later Jiayuan called the police and he was taken into custody. Jiayuan told reporters that it called the police because data had been taken, and at the time it didn't know that the person who took the data was the person who submitted the vulnerability. This case has media reports only: no judgment and no official notice, and there is no official account of how it was finally handled. No good-faith-testing case that could be checked word for word was found on the websites of the Supreme People's Court or the Supreme People's Procuratorate either, so this item is graded only on the statutes and the penalty standards. If you do it, go through a vendor's public SRC or an assessment commissioned in writing, and put the scope, targets and time window into the document. Prove the vulnerability exists with the least evidence possible, and don't pull data in bulk. Even the tier that falls short of a crime brings a public security administrative penalty, plus a ban from working in the field; the fine amounts and the number of years are the same as in Item 8 (don't run your own programs on other people's machines). For what to do after finding a vulnerability, see Item 10 (report vulnerabilities as the rules require).
A
Report vulnerabilities as the rules require; before a fix, don't disclose details, don't release exploit tools, and don't hand vulnerabilities to anyone abroad
Value for cost High
In plain termsIndividuals are also governed by the Provisions on the Management of Security Vulnerabilities of Network Products (网络产品安全漏洞管理规定). Before the vendor provides a fix, you may not disclose the vulnerability, and you may not disclose vulnerability details of systems in active use. You may not publish programs and tools made specifically to exploit vulnerabilities, and when you disclose, you must also explain how to fix it. Undisclosed vulnerabilities may not be handed to overseas organizations or individuals other than the vendor.
- Cost
- Costs nothing. Report the vulnerability to the product provider, or to an official platform. Until the vendor has fixed it, don't publish the details, and don't publish proof-of-concept code either
No money
Done in passing
No willpower
Benefit size medium
- Benefit
- These Provisions cover three kinds of parties: domestic network product providers and network operators, and organizations or individuals engaged in discovering, collecting, publishing and similar activities involving vulnerabilities. No organization or individual may use vulnerabilities to engage in activities that endanger network security, or illegally collect, sell or publish vulnerability information. Publishing vulnerability information to the public must follow five rules. First, it may not be published before the product provider provides a fix. Second, details of vulnerabilities in the networks, information systems and equipment that network operators are using may not be published. Third, hazards and risks may not be deliberately exaggerated, and vulnerability information may not be used for malicious hype or fraud. Fourth, programs and tools made specifically for using vulnerabilities to endanger network security may not be published or provided. Fifth, fixes or preventive measures shall be published at the same time. In addition, undisclosed vulnerability information may not be provided to overseas organizations or individuals other than the product provider. The Provisions encourage reporting vulnerabilities to four official platforms. One, the cybersecurity threat and vulnerability information sharing platform of the Ministry of Industry and Information Technology. Two, the vulnerability platform of the National Network and Information Security Information Notification Center. Three, the vulnerability platform of the National Computer Network Emergency Response Technical Team/Coordination Center. Four, the vulnerability database of the China Information Technology Security Evaluation Center. Violations in collecting or publishing vulnerability information are handled according to law by the Ministry of Industry and Information Technology and the Ministry of Public Security, each within its own remit. Where a case falls under the circumstances set out in the Cybersecurity Law (网络安全法), it is penalized under that law. Publishing system vulnerabilities and other network security information to the public must comply with the relevant state regulations. For violations, the competent authorities order correction and give a warning, and may impose a fine of 10,000 yuan or more and 100,000 yuan or less. For refusal to correct or serious circumstances, a fine of 100,000 yuan or more and 1 million yuan or less. They may also order suspension of the related business, suspension for rectification, or closure of the website or app. They may also revoke the related business permit or revoke the business license. Directly responsible managers and other directly responsible persons are fined 10,000 yuan or more and 100,000 yuan or less (nationwide)
- Evidence grade
- A
- Notes
- The Provisions explicitly write individuals into the parties they govern; “I'm just a hobbyist” is not among the exceptions. Submitting a vulnerability in a system in China to an overseas bug bounty platform falls squarely under the rule that “undisclosed vulnerabilities may not be provided abroad.” Whether you are entitled to test at all (see Item 9, don't test other people's systems without written authorization) has to be looked at separately from how you handle a vulnerability once you have it. A lawfully discovered vulnerability can still draw a penalty if the way it is published breaks the rules; a vulnerability found through unauthorized testing is a problem at both ends, the testing and the publishing. Among the reporting channels, the Ministry of Industry and Information Technology platform and the National Internet Emergency Center (CNCERT) are used the most. The Provisions do not specifically address the case where “the vendor has been notified but won't fix it”; the practice is to keep a record of the negotiation and reporting process, and report to an official platform at the same time.
B
Don't sell wall-climbing (翻墙) tools or VPN accounts, and don't set up such nodes for other people
Value for cost Very high
In plain termsIf you set up your own line out of the country, or use an international channel other than the state's public channels, the police can order you to stop connecting and give a warning, with a fine of up to 15,000 yuan and confiscation of illegal gains. If you run a business on it, the case-handling authority can treat it as the crime of illegal business operation, with up to 5 years where the circumstances are serious. This item is about selling and about setting up nodes. For individuals using it themselves, the penalty is capped at a warning plus a fine.
- Cost
- Costs nothing, and takes no time
No money
Done in passing
No willpower
Benefit size large
- Benefit
- Direct international network connections must use the international gateway channels provided by the state public telecommunications network. No organization or individual may set up or use other channels on their own: you may neither build your own line out of the country nor use one someone else built. For violations, the police order the connection stopped and give a warning, may also impose a fine of up to 15,000 yuan, and confiscate illegal gains. If you run a business on it, the case-handling authority can treat it as the crime of illegal business operation. Where the circumstances are serious, up to 5 years, with a concurrent fine or a fine alone of 1 to 5 times the illegal gains. Especially serious cases carry 5 years or more (nationwide)
- Evidence grade
- B
- Notes
- When this section was written, no published wall-climbing case was found on the websites of the Supreme People's Court or the Supreme People's Procuratorate, and handling also varies widely from place to place, so it is graded B. For individuals using it themselves, the heaviest penalty is the warning plus fine written in Article 14 of the Interim Provisions (暂行规定).
A
If you signed a non-compete agreement and the company doesn't pay monthly compensation after you leave, send a written demand; after a full 3 months unpaid you can terminate it. If your position never had access to trade secrets, you can ask for the clause to be confirmed as not in effect
Value for cost High
In plain termsA non-compete restriction means that for a period after you leave you may not work for a competitor in the same line, at most 2 years, and the company must pay you compensation monthly. If no amount was agreed, it is 30% of your average wage over the 12 months before you left, and no less than the local minimum wage. If, for the company's own reasons, it hasn't paid for 3 months, you can ask to terminate the restriction. From 2025, people in positions that never had access to trade secrets can ask for the clause to be confirmed as not in effect.
- Cost
- Costs nothing. When you leave, keep the original of the non-compete agreement, and evidence that the company did not pay monthly
No money
Done in passing
No willpower
Benefit size medium
- Benefit
- A non-compete restriction can bind only senior managers, senior technical staff and other people with a confidentiality obligation. The term is at most 2 years. The company must pay economic compensation monthly during that period. If no compensation amount was agreed, it is 30% of the average wage over the 12 months before leaving, and no less than the local minimum wage. If, for the company's own reasons, it hasn't paid for 3 months, the worker can ask to terminate the non-compete restriction. If the company terminates it on its own initiative, it must pay an extra 3 months of compensation. From 2025, workers who in their position neither knew of nor had access to trade secrets can ask for the clause to be confirmed as not in effect. Where the agreed scope goes beyond the part of the secrets the worker actually knew, the excess part is invalid. Official case: a pharmaceutical company sued its chief technology officer, Zheng, for 7.1 million yuan in liquidated damages. The court found that his new employer's products were not substitutes for the original company's, and that the scope of the non-compete should be limited to the secrets he actually knew, and rejected all of the claims (nationwide)
- Evidence grade
- A
- Notes
- Conversely, if the agreement is valid, the company has paid monthly, and you still go to work for a competitor, you must pay the agreed liquidated damages. After paying, you may also be required to observe the rest of the non-compete period. A non-compete agreed for your time while still employed counts even if the company pays nothing extra for it.
A
Code written on company time, with company resources, belongs to the company; do your own open-source projects on your own time and equipment, and don't mix in company code
Value for cost Standard
In plain termsFor software written mainly with the company's equipment, intranet or business data, and for which the company bears responsibility, the copyright belongs to the company and you keep only the right of authorship; the same goes where the contract says so. Code written after hours can likewise count as the company's, as long as it used a company computer or business data. For inventions made with company resources, the patent belongs to the company too.
- Cost
- Costs nothing. When you join, read the intellectual property clauses in your employment contract carefully. The hard part is that personal projects and company work are often mixed on one computer, and you have to separate them
No money
Done in passing
Some willpower
Benefit size medium
- Benefit
- A work created to complete a task for your employer is a work made for hire (职务作品; that is, something you made while doing your job). In general the copyright belongs to the author, the employer has the right to priority use within its scope of business, and for 2 years the author may not license a third party to use it in the same way. But two kinds of cases are different. One is engineering designs, software and similar works created mainly with the employer's material and technical resources, for which the employer bears responsibility. The other is works that a contract assigns to the employer. In these two kinds the author keeps only the right of authorship. The employer's material and technical resources means things like the company's equipment, intranet and business data. An invention-creation made in carrying out the employer's tasks, or completed mainly with the employer's material and technical resources, is a service invention; both the right to apply for a patent and the patent right obtained belong to the employer (nationwide)
- Evidence grade
- A
- Notes
- Software is written directly into the “copyright belongs to the employer” category, so programmers almost never fall into the “copyright belongs to the author, the employer gets two years of priority use” tier. Code “written after hours,” as long as it used a company computer, the intranet or company business data, can likewise be counted as made mainly with the employer's equipment and materials. To keep a personal project clean, use your own machine, don't touch company repositories, and don't overlap with the company's business.
B
If you build a product on GPL or other open-source code, open your source as the license requires or switch licenses; don't treat it as “nobody enforces this”
Value for cost Standard
In plain termsCopyright infringement is compensated by the other side's losses or by what you earned; if it was intentional and the circumstances serious, the award can reach 1 to 5 times that. One company hired a rival's former employees and produced substantially similar software, arguing that the rival's software used GPLv2 and should have been open source. The Supreme People's Court held that whether the rival open-sourced its code did not affect its copyright, and still ordered the infringement stopped and 500,000 yuan in damages.
- Cost
- Costs nothing. Before using someone else's open-source code, take a look at its license (the terms of use the author has written down). The GPL family requires products that use it to release their source code too, which conflicts with selling closed-source software; if it conflicts, switch to another one. The hard part is giving up a library you've already gotten comfortable with
No money
Done in passing
Some willpower
Benefit size medium
- Benefit
- Copyright infringement is compensated by the rights holder's actual losses, or by what the infringer earned. Where neither can be worked out, the amount is set by reference to what it would normally cost to buy a license for the work. For intentional infringement with serious circumstances, damages of 1 to 5 times can be awarded. Where the public interest is harmed, illegal gains can also be confiscated and a fine imposed. Official case: case (2021) No. 51 of the Supreme People's Court, IP civil appeal ((2021)最高法知民终 51 号). The defendant hired the plaintiff's former employees, and the gateway software it developed was substantially similar to the plaintiff's. The defendant argued that the plaintiff's software was based on GPLv2 and should have been open source in the first place. The Supreme People's Court found that “whether the developer itself violated the GPLv2 license and whether it holds the software copyright are two independent questions,” and ordered the infringement stopped and 500,000 yuan in damages (nationwide)
- Evidence grade
- B
- Notes
- This case shows that “the other side used GPL code” can't serve as your reason for copying it. Conversely, there are already final, effective judgments in China in suits by GPL authors against commercial users that didn't open their source; this section did not find the original text on the Supreme People's Court website, so none is cited. It is graded B because whether open-source licenses are honored can only be governed by contracts and the general provisions of the Copyright Law (著作权法); there is no dedicated statutory provision.
B
When you build an app, collect only the personal information the business needs, get a guardian's consent for users under 14, and write the privacy policy clearly
Value for cost Standard
In plain termsCollect only the information the business needs; users under 14 need a guardian's consent. Violators are first ordered to correct, and the app may be shut down. Refusing to correct brings a fine of up to 1 million yuan, and 10,000 to 100,000 yuan for the responsible people. Serious cases bring a fine of up to 50 million yuan or 5% of the previous year's revenue, and 100,000 to 1 million yuan for the responsible people; those who write the code and build the product may also count as responsible people.
- Cost
- Costs nothing. Before launch, check the list of permissions the app requests against the privacy policy, and drop every permission you can do without. The hard part is that the product side always wants to keep some extra data that “might come in handy later”
No money
Done in passing
Some willpower
Benefit size medium
- Benefit
- Processing personal information shall have a clear and reasonable purpose, be directly related to that purpose, and use the method with the least impact on personal rights and interests. Processing personal information requires the individual's consent, or must fit a circumstance provided by law. For people under 14, consent from a parent or guardian must be obtained. For violations, the regulator orders correction, gives a warning, confiscates illegal gains, and orders the offending app to suspend or stop providing service. Refusal to correct brings a fine of up to 1 million yuan, and 10,000 to 100,000 yuan for directly responsible managers and other directly responsible persons. Serious cases bring a fine of up to 50 million yuan, or up to 5% of the previous year's revenue. Responsible persons are fined 100,000 to 1 million yuan. These people may also be barred, for a certain period, from serving as directors, supervisors or senior managers of related companies. For selling or providing personal information as a crime, see Item 4 (nationwide)
- Evidence grade
- B
- Notes
- In practice, “directly responsible persons” often ends up meaning the people who write the code and build the product. The Ministry of Industry and Information Technology regularly issues notices taking down non-compliant apps; this section did not verify which specific notice, so none is cited.
A
Complete ICP filing before a website or app goes live, and keep logs for 6 months or more as the multi-level protection scheme requires
Value for cost Standard
In plain termsFiling costs nothing, and going through a cloud provider's process takes roughly a few weeks; a site on a domestic server that isn't filed will be shut down. If your filing says you don't charge but you are actually collecting money, the fine is 100,000 to 1 million yuan. Logs must be kept for a full 6 months; refusing to correct, or causing consequences, brings a fine of 10,000 to 100,000 yuan.
- Cost
- Filing is free, and going through a cloud provider's process takes roughly a few weeks. Multi-level protection assessments are charged by level. The multi-level protection scheme (等级保护, 等保 for short) is a set of security management actions that the state requires websites and systems to carry out, graded by how important the system is; small sites usually don't need an assessment
A little money
A few hours
No willpower
Benefit size medium
- Benefit
- Commercial internet information services are subject to licensing, and non-commercial ones to filing. Without a license or a filing, you may not provide them. If you haven't filed, the telecommunications authority orders correction, and if you refuse, orders the website closed. Operating commercially without a license brings confiscation of illegal gains plus a fine of 3 to 5 times the illegal gains, or a fine of 100,000 to 1 million yuan. Not displaying the filing number on the website's home page brings a fine of 5000 to 50,000 yuan. Network operators must, under the multi-level protection scheme (等级保护制度, 等保), set up security management systems, guard against attacks, retain network logs for no less than 6 months, and classify, back up and encrypt data. If they don't, they are ordered to correct and given a warning. Refusing to correct or causing consequences brings a fine of 10,000 to 100,000 yuan, and 5000 to 50,000 yuan for the managers in charge (nationwide)
- Evidence grade
- A
- Notes
- On a domestic server without a filing, the domain name won't even resolve. For how to file, how much the fine is for not displaying the filing number, and how to check whether a provider is qualified, see Section 26, Item 4 (a server located in the country needs a filing). There are two common pitfalls: filing as a personal non-commercial site while actually charging; and changing the domain name or the responsible entity without updating the filing. Keeping logs for 6 months is both an obligation and self-protection: if something happens, they can prove it wasn't you.
B
Before offering generative AI services to the public, complete the required security assessment and algorithm filing, and label generated content
Value for cost Standard
In plain termsA generative AI service open to the public that can sway public opinion or mobilize people must get a security assessment and an algorithm filing before launch, and must also file changes or deregister when it is changed or shut down. Generated images and videos must be labeled. Small tools for your own use that aren't open to the public don't need to bother with any of this. Violations are penalized under the Cybersecurity Law (网络安全法) and other laws.
- Cost
- Costs nothing, but you have to go through the cyberspace administration's process, which takes some time to complete. A small tool an individual builds doesn't trigger any of this as long as it isn't open to the public
No money
A few hours
No willpower
Benefit size medium
- Benefit
- Providers of generative AI services with public-opinion attributes or social mobilization capacity shall carry out a security assessment in accordance with state regulations, and complete algorithm filing, along with later change and deregistration procedures, in accordance with the Algorithm Recommendation Regulations (算法推荐管理规定). Public-opinion attributes or social mobilization capacity means being able to influence public views, or being able to organize and mobilize people. Providers shall label generated content such as images and videos. The Measures (办法) took effect on August 15, 2023 (nationwide)
- Evidence grade
- B
- Notes
- The Measures (办法) themselves don't say how much the fines are. For violations you have to go back to the Cybersecurity Law (网络安全法), the Data Security Law (数据安全法) and the Personal Information Protection Law (个人信息保护法) to find the penalties, so it is graded B. For civil cases in which AI-generated content infringed someone's copyright or portrait rights, this section did not verify the original text on the Supreme People's Court website, so none is cited. For relay sites that resell access to overseas large-model APIs at low prices, see Item 19 of this section (AI relay sites).
A
Don't make or release tools that automatically skip or block other apps' ads; even free and offline, they can be ruled unfair competition
Value for cost High
In plain termsMaking software that skips or blocks other apps' ads for users will get you sued by them for unfair competition. It can count even if you don't charge: the operators the law governs include individuals who provide services. One browser blocked Mango TV's pre-roll ads by default and paid 800,000 yuan. One app let people skip Mango TV's splash-screen ads directly and paid 80,000 yuan for losses.
- Cost
- Costs nothing. The price is letting go of a very popular little tool. The hard part is that you feel you aren't making any money, just clicking “skip” once for the user
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- The law provides that operators may not use technical means to obstruct or disrupt the normal operation of network products or services lawfully provided by other operators. “Operators” here means natural persons, legal persons and unincorporated organizations that provide goods or services. If you cause the other side harm, you compensate their actual losses, or the benefit you gained from it, plus the reasonable expenses they paid to stop the infringement. The market regulation authorities can also impose a fine of 100,000 to 1 million yuan, or 1 million to 5 million yuan where the circumstances are serious. Official cases: a built-in function of the 720 Browser blocked the pre-roll ads and pause ads on the Mango TV website by default. The first instance dismissed Mango TV's suit. On appeal, the Guangzhou Intellectual Property Court reversed, found unfair competition, and awarded 800,000 yuan for economic losses and reasonable expenses. In 2021 the Supreme People's Court listed it as a typical case. The “Lanjingling” (拦精灵) app let users skip Mango TV's splash-screen ads directly. The first instance ordered it to stop and to pay 80,000 yuan in economic losses and 10,000 yuan in reasonable expenses. In April 2024, the Beijing Intellectual Property Court upheld this on appeal. The appeal court held that the app was in effect blocking the splash-screen ads, not merely clicking “skip” for users (nationwide)
- Evidence grade
- A
- Notes
- Both judgments applied the provision as it stood before the revision. After the 2025 revision, this provision moved to Article 13, and data, algorithms and platform rules were added to it. The appeal court said its ruling was about blocking; users clicking “skip” themselves are not affected. In August 2023, “Li Tiaotiao” (李跳跳), a free ad-skipping tool on Android, received a lawyer's letter from Tencent. The letter said it blocked ads in Tencent's browser and constituted unfair competition, and demanded that it be taken down within 48 hours. The developer said it was a public-interest, non-profit project, and reports said it only received occasional tips, but it still announced an indefinite halt to updates, and several similar apps stopped too. This matter has media reports only: no lawsuit and no judgment. An individual developer who receives a lawyer's letter either stops, or pays out of pocket for a lawyer to defend. Ordinary first-instance proceedings take 6 months or more, and you usually pay your own lawyer's fees. No case was found of anyone being pursued for writing a script just for their own use. For paying damages for unfair competition over selling ticket-grabbing software, see Item 3 of this section (ticket-grabbing and flash-sale scripts). The beneficiary is you yourself.
C
Don't set up an “AI relay site” reselling overseas large-model APIs at low prices: in Shanghai a site operator has already been placed in criminal detention
Value for cost High
In plain termsAn AI relay site is a website that resells access to overseas large-model APIs at low prices. A site operator in Shanghai was held in criminal detention for 37 days over this; after release on bail pending trial, he said himself that he would certainly be sentenced, and he has already made restitution and returned the illicit gains. The Ministry of State Security has also issued a warning saying that many relay sites lack operating qualifications and also secretly transfer user data abroad.
- Cost
- Costs nothing. The price is letting go of a side business with a low barrier to entry and turnover that looks good. If you really want to do model aggregation, take the proper route: get a commercial operating license and connect to officially authorized models, which takes a good deal of both money and time
No money
Done in passing
Some willpower
Benefit size large
- Benefit
- In June 2026 the Ministry of State Security issued a risk warning. The warning said an AI relay site is a proxy layer sitting between users and the model vendors' official services. Some relay sites lack operating qualifications. Some, without obtaining compliance qualifications for cross-border data transfer or going through the statutory security assessment process, transfer the data users enter to servers abroad. Some also let users bypass restrictions on network access, official authorization and cross-border transfer. China Newsweek (中国新闻周刊) reported a case in June 2026. In May 2026, a relay site operator in Shanghai posted a shutdown notice in a tech community. He said he had been held in criminal detention by the Shanghai police for 37 days for illegally obtaining large-model APIs, and was now on release on bail pending trial. He said he “will certainly be sentenced in the future,” had already made restitution and returned the illicit gains, and would also have to pay a fine. The report said such relay sites register or buy subscription accounts for overseas large models in bulk, set up servers overseas as springboards, and then resell to users in China at low prices (nationwide / Shanghai)
- Evidence grade
- C
- Notes
- This case has media reports only, plus the person's own account: no judgment and no police notice, and there is no official word on what charge it is being handled under. The specific charges and sentences circulating online come from lawyers' articles, and this book does not cite them. So you can't say “running a relay site is definitely a crime”; you can only say that someone has already been placed in criminal detention over it. Doing model aggregation properly, if you charge, requires a commercial operating license; see Section 26, Item 2 (a website that charges needs a license). Offering generative AI services to the public requires a filing; see Item 17 of this section (generative AI security assessment). Transferring user data abroad has statutory conditions; see Section 26, Item 10 (user information leaving the country). People who use relay sites face separate risks; see Section 14, Item 10 (AI relay sites). The beneficiary is you yourself.