[← Back to main index](../../README.md) # 11. Common legal pitfalls for programmers and tech professionals This section’s metrics are personal freedom and money — what you get back is “don’t get locked up” and “don’t pay damages.” People who write code or do technical work often treat the items below as “just technical problems.” In fact they map to specific criminal offenses, or to a concrete civil sum you may have to pay. Each item gives the numbers in the statutes, plus cases published on the websites of the Supreme People’s Procuratorate and the Supreme People’s Court. Criminal-law citations use the consolidated text “as amended by Amendment (XI) to the Criminal Law” republished by the Beijing Traffic Management Bureau. Item 1 is the general one: how to judge before you act, and what to do first if something goes wrong. Items in this section are grouped by theme below; numbers in parentheses are item numbers. **Before you act**: Before acting, ask whether anyone will file a police report (item 1). **Cheats, scripts, and cracks**: Game cheats and aids (item 2); ticket-snatching, fake-order, and coupon-farming scripts (item 3); crawl only public pages that need no login (item 4); tools that auto-skip or block ads in other apps (item 18); crack patches and keygens (item 20). **Touching others’ systems**: Do not run your programs on others’ computers (item 8); do not test others’ systems without written authorization (item 9); report vulnerabilities as required (item 10); DDoS traffic attacks (item 21). **Side gigs and client work**: Development orders for gambling, fraud, or adult-content apps (item 5); circumvention tools and VPN accounts (item 11); AI relay sites (item 19). **Leaving and ownership**: Hand over account access when you leave (item 6); do not take source code when you leave (item 7); non-compete agreements (item 12); code written with company resources belongs to the company (item 13); GPL and other open-source code (item 14). **Shipping a product**: Collect only personal information the business needs (item 15); complete ICP filing before launch (item 16); generative-AI security assessment and algorithm filing (item 17). ### 1. Ask before acting: will the vendor, platform, or company report it? Hire a criminal lawyer immediately if investigated - Cost: Free. Before acting, replace the question "Can this be done technically?" with "Will the vendor, platform, or company report it to the police?" The hard part is resisting the thought that "no one cares about something this small," because law enforcement authorities have full legal power to obtain server logs, payment records, and group chat histories. - In plain terms: Before doing anything, ask one question first: will the vendor, platform, or company report this to the police? Law enforcement has the legal authority to pull server logs, payment records, and group chat histories. If you are placed under criminal detention, the decision on whether to approve formal arrest must be made within at most 37 days. You have the right to hire a lawyer starting from your very first interrogation. A lawyer can submit arguments to the procuratorate against approving arrest and can apply for release on bail. - Benefit: Any organization or individual that discovers facts of a crime has the right to report it to the authorities. When law enforcement determines that facts of a crime exist, it must formally open a case. Courts, procuratorates, and public security organs have the power to collect and obtain evidence from relevant organizations and individuals, who must provide it truthfully. After a suspect is placed under criminal detention, the police must submit a request to the procuratorate for arrest approval within 3 days. Under special circumstances, this may be extended by 1 to 4 days. For crimes committed while traveling across jurisdictions, repeatedly, or in gangs, this period may be extended up to 30 days. The procuratorate then takes up to 7 days to decide. Combined, the decision on whether to approve arrest is made within a maximum of 37 days. When the procuratorate reviews an arrest request, if the defense lawyer asks to be heard, it must listen to the lawyer's opinion. The lawyer also has the right to apply to change compulsory measures, such as switching from detention to release on bail pending trial, and the investigating authorities must respond within 3 days. You can retain a lawyer starting from your very first interrogation or from the moment compulsory measures (such as detention or arrest) are applied. During the police investigation stage, only a licensed lawyer may be retained. When a lawyer requests a client meeting, the detention center must arrange it within 48 hours at the latest. Release on bail pending trial may be granted if the case may result in public surveillance, short-term criminal detention, or penalties lighter than imprisonment, or if only supplementary penalties may apply without a principal prison sentence. Release on bail pending trial involves posting a cash bond or finding a guarantor so you can wait at home while the investigation proceeds. Release on bail pending trial lasts for a maximum of 12 months nationwide. - Evidence grade: C - Sources:全国人大 (2018). 刑事诉讼法(2018 年修正,第三十四、三十九、五十四、六十七、七十九、八十八、九十一、九十七、一百一十、一百一十二条). - Notes: These 37 days count the time from initial criminal detention until the procuratorate decides whether to approve formal arrest—they are not the upper limit of total custody. Once an arrest is approved, the detention period during the investigation stage continues from there. During these 37 days, what a lawyer can do is meet with the detainee, submit a formal legal opinion to the procuratorate arguing against arrest approval, and apply for release on bail. The author's view is that if you wait until formal indictment to get a lawyer, the critical window of arrest approval has already passed. The rest of the items in this section address the exact same issue: does the other party have a compelling reason to file a police report? ### 2. Do not make or sell game cheats and aids, including AI aids that “only read the screen and never touch memory,” and do not sell modified builds that add features to software such as WeChat - Cost: No money spent. The trade-off is giving up income from such orders and “little tools.” The hard part is that the money comes fast and it is unclear who will pursue you - In plain terms: Selling a cheat to 20 person-times, or earning 5000 yuan, is enough for up to 3 years; especially serious cases get 3 to 7 years. Someone who made wall-hack and aim-assist cheats sold over 80000 yuan worth in 3 months, got 1 year suspended for 1 year and a 5000 yuan fine. Someone who took server-side code, ran a private server, and took over 20000000 yuan in top-ups got up to 4 years, with fines as high as 10000000 yuan - Benefit: Providing programs or tools specially used to intrude upon or illegally control computer information systems, when circumstances are serious, brings up to 3 years and a fine concurrently or alone. Concurrent means prison plus a fine; alone means fine only. Especially serious circumstances bring 3 to 7 years plus a fine. The threshold for “serious circumstances” is providing the tool to 20 person-times or more, or illegal gains of 5000 yuan or more. Illegal gains means the money earned from this. Intentionally bypassing or destroying technical protection measures set by the rights holder may also constitute copyright infringement, with up to 3 years, or 3 to 10 years in serious cases. Official case: Wang and others made and sold cheats that read and modified game memory for wall hacks and aim assist. In 3 months they sold over 80000 yuan and profited over 30000 yuan. Sentence: 1 year suspended for 1 year, fine 5000 yuan. Suspended for 1 year means a 1-year sentence that is not served yet; if you stay clean that year you need not go to prison. Xiang and others sold the “TZ” series of cheats with sales over 200000 yuan; Xiang got 3 years suspended for 3 years and a 20000 yuan fine. Liu and others obtained game server programs, changed parameters, ran private servers, and took over 20000000 yuan in top-ups. Sentences from 4 years to 2 years 6 months, fines from 10000000 to 1300000 yuan. Not only games. A Shanghai company made custom ROMs that added dozens of features to WeChat on the phone — auto-forward, like, mass message, and more. Those phones were sold as “marketing phones,” 2381 units. In 2019 the Shanghai Xuhui court convicted the company of copyright infringement, fined it 500000 yuan, and sentenced the person in charge to 1 year 6 months suspended for 1 year 6 months (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第三款、第二百一十七条第六项). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(第三条). (深圳市公安局转载);最高人民检察院 (2026). 上海静安:严惩制售游戏外挂黑灰产共护清朗网络空间. ;最高人民检察院 (2021). 2020 年度检察机关保护知识产权典型案例(案例五). ;国家版权局 (2020). 2019 年度上海十大版权典型案件发布(上海市版权局发布,案例八:上海昱宫网络科技有限公司等侵犯著作权案). - Notes: Published cheat rulings all involve reading or writing game memory and bypassing anti-cheat. Aids that “only screenshot or only simulate key presses” have not yet appeared in official rulings. But the ticket-snatching case in item 3 shows that never touching memory and only sending requests can still support a conviction for illegally obtaining data. Whether it is a crime and under which charge is decided by investigating authorities from materials the vendor submits when reporting — not by the author. Selling to 20 person-times already meets “serious circumstances”; that bar is low. ### 3. Do not write or sell scripts for ticket snatching, flash sales, fake orders, or coupon farming — even if they merely “automate button clicks” - Cost: No expense and no time required - In plain terms: Even if a script does not modify memory or crack anything and only sends requests faster than a person, it can still lead to a conviction; earning 5000 yuan or causing the other side 10000 yuan in losses is enough. Someone used bought 12306 accounts to snatch over 200 tickets, earned over 20000 yuan, and got 1 year 6 months suspended for 1 year 6 months plus a 5000 yuan fine. Someone who sold ticket-snatching software in an online shop paid 20000 yuan for unfair competition. - Benefit: Illegally accessing computer systems or obtaining their data via any technical means can lead to imprisonment of up to 3 years, a fine, or both; more serious cases incur 3–7 years in prison. The threshold for “serious circumstances” is earning over 5,000 yuan illegally or causing losses exceeding 10,000 yuan. Official cases include a person who used a bot to submit numerous ticket‑purchase requests using purchased 12306 accounts; he snatched more than 200 tickets and earned over 20,000 yuan, resulting in the same sentence as above. Zheng sold ticket‑snatching software for a specific booking app and was ordered to pay 20,000 yuan for unfair competition (national precedent). - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第二款). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(第一条). ;最高人民检察院 (2026). 上海静安:查办利用外挂软件批量代抢火车票牟利案. ;最高人民法院 (2025). 2024 年人民法院知识产权典型案例(案例七,抢票软件不正当竞争案). - Notes: Even scripts that do not alter memory or bypass security and merely operate faster than humans still fall under Article 285 of the Criminal Law. Both paid ticket‑snatching services and selling such scripts are considered profit‑generating activities. No official cases have been reported for individuals using such scripts solely for personal use. ### 4. Crawl only public pages that need no login; do not bypass anti-scraping, do not touch personal information, and do not sell the data you crawl - Cost: No money spent. A crawler is a program that automatically flips through web pages and pulls down the data on them. Before crawling, glance at the robots file and any API authorization notes; robots is the file a site puts in its root directory listing which pages must not be scraped. Data that needs a login, a token (a temporary pass string), or a cracked signature to obtain — do not crawl it. The hard part is that technically these data are one grab away; holding back is all self-discipline - In plain terms: Bypassing login, token, signature, and similar protections to take data, when circumstances are serious, brings up to 3 years, or 3 to 7 years if especially serious. Crawling personal information is worse. Location tracks, communication content, credit, and property-type information at 50 records already counts as serious circumstances. Accommodation, health, and transaction types at 500 records, other types at 5000 records, or earning 5000 yuan, likewise - Benefit: Taking system data by bypassing protections has the same sentencing range as item 3 (ticket-snatching, flash-sale, and fake-order scripts): up to 3 years, or 3 to 7 years. Illegally obtaining, selling, or providing citizens’ personal information meets “serious circumstances” at any of the following: location tracks, communication content, credit, or property information of 50 records or more; accommodation, communication records, health, or transaction information of 500 records or more; other personal information of 5000 records or more; illegal gains of 5000 yuan or more. Serious circumstances bring up to 3 years and a fine concurrently or alone; especially serious cases bring 3 to 7 years. Official case: software developer Li disguised a function that stole phone albums as a “looks rating” app and obtained 1751 face photos. He also resold social-engineering database material and got 3 years suspended for 3 years. A social-engineering database is a database that aggregates personal information leaked from various places. A network technology company used a crawler to take store and order data from a food-delivery platform, caused over 40000 yuan in losses, and was prosecuted for illegally obtaining computer information system data (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第二款、第二百五十三条之一). ;最高人民法院、最高人民检察院 (2017). 关于办理侵犯公民个人信息刑事案件适用法律若干问题的解释(第三、四、五条). ;最高人民检察院 (2022). 检察机关依法惩治侵犯公民个人信息犯罪典型案例(案例二). ;最高人民检察院 (2025). 检察机关依法惩治侵害企业数据安全犯罪 服务保障企业创新发展(案例一). - Notes: A 2017 judicial interpretation provides that “providing to others information lawfully collected, without the person’s consent” also counts as “providing.” Exporting a user table inside a company to an outside partner falls under the same sentence. 5000 records is only the size of a small table. ### 5. Refuse development orders for gambling, fraud, or adult-content apps; do not set up payment gateways or unblock accounts for such “clients” - Cost: No direct monetary cost. The trade-off is forgoing outsourcing projects that pay well but have vague requirements. The difficulty lies in the fact that these clients often offer significantly higher pay than normal projects. - In plain terms: If you take a development order knowing it is a gambling app, you are treated as an accomplice in operating a casino. Operating a casino carries up to 5 years, or 5 to 10 years in serious cases — heavier than the at-most 3 years for merely helping. In one e-sports betting app case, 28 people were sentenced under operating a casino to between 1 year and 3 years 6 months. Someone who unblocked QQ accounts for a fraud ring got 1 year 6 months and a 20000 yuan fine. - Benefit: Providing technical support or payment settlement services to known online criminals can lead to imprisonment of up to 3 years and/or a fine, especially when the circumstances are serious. If other crimes are also involved, the harsher penalty applies. Operating illegal gambling dens carries up to 5 years in prison plus a fine; serious cases bring 5–10 years. Official examples: Zhangsheng Group developed gambling games and handled “online distribution,” earning fees for website setup and reporting; the total illicit revenue reached nearly 7 billion yuan. Its leader was sentenced to 9 years and 9 months plus a 50-million-yuan fine. 79 developers, including Wang Qiang, received sentences ranging from 6 months to 9 years and 9 months. In another case, 28 developers in Hainan who built an e-sports betting app were convicted of operating illegal gambling dens and received similar sentences, plus fines. One individual who ran a studio unblocking QQ accounts for fraudsters got 1 year and 6 months in prison and a 20,000-yuan fine (nationwide). - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十七条之二、第三百零三条第二款). ;最高人民检察院 (2023). 建赌博网站并出售,涉案近 70 亿元. ;最高人民检察院 (2022). 上海闵行区:办理一起新型开设网络赌场案. ;最高人民检察院 (2025). 依法惩治帮助信息网络犯罪活动及相关犯罪典型案例(案例一). - Notes: “Knowing intent” does not require the client to explicitly state the purpose. When a quote is far above market rates, the app includes top-up, cash-out, and betting features, and the client refuses to disclose usage, these facts are used to prove you were aware of the illegal nature. Developers of gambling apps are prosecuted as accomplices in operating illegal gambling dens, not under the “Crime of Assisting Information Network Criminal Activities” which caps at 3 years. ### 6. When you leave, hand over all account access; do not delete databases, leave backdoors, or change passwords and lock the system — even if the company owes you money - Cost: No money spent. If the company owes you wages, get them back through labor arbitration; do not act yourself (labor arbitration is in Section 7). The hard part is holding back from touching the system while angry - In plain terms: Account passwords the company gave you do not mean you may still use them after you leave. Illegally controlling a system, when circumstances are serious, brings up to 3 years. Deleting data so the system cannot run, with serious consequences, brings up to 5 years, or 5 years or more if especially serious. An engineer who was dismissed logged in with the old admin account, deleted data and logs, caused over 120000 yuan in losses, and got 3 years suspended for 5 years plus a 30000 yuan fine - Benefit: Illegally controlling a computer information system, when circumstances are serious, brings up to 3 years and a fine concurrently or alone; especially serious cases bring 3 to 7 years. Deleting or modifying system functions or data so the system cannot run normally, with serious consequences, brings up to 5 years; especially serious cases bring 5 years or more. Official case: senior IT engineer Lü, after being dismissed, logged into the company shared server with the old admin account. He changed the password, deleted data and logs, and caused over 120000 yuan in losses. Sentence: 3 years suspended for 5 years, fine 30000 yuan. Software-company employee Bai deliberately inserted faulty code into an upgrade program so the client system could not log in, causing over 40000 yuan in losses. He was prosecuted for destroying a computer information system (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第二款、第二百八十六条). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(第一、十一条). (深圳市公安局转载);最高人民检察院 (2024). 检察机关「依法惩治网络犯罪 助力网络空间综合治理」典型案例(案例六). ;最高人民检察院 (2025). 检察机关依法惩治侵害企业数据安全犯罪 服务保障企业创新发展(案例七). - Notes: Account passwords the company gave you do not mean you may still use them after you leave. Logging in with an account beyond the authorized scope counts as intrusion under Prosecutorial Example No. 36; see item 9 (do not test others’ systems without written authorization). In Lü’s case, after logging in he also changed the admin password and deleted data. The procuratorate found the system had not gone down as a result, so it did not charge destroying a computer information system and charged illegal control of a computer information system instead. Losses include necessary costs of restoring data. Under the 2011 joint judicial interpretation, losses of 10000 yuan or more meet “serious circumstances,” and 50000 yuan counts as especially serious. Lü’s losses of over 120000 yuan were found to be especially serious circumstances. ### 7. When you leave, do not take source code, client lists, or technical documents; do not upload them to a personal cloud drive; do not reuse them at the next employer - Cost: No money spent. Before leaving, delete company materials from your personal computer and cloud drives. The hard part is that some files are ones you wrote line by line, and you hate to let them go - In plain terms: Copyright in code written on the job generally belongs to the company; client lists may also count as trade secrets — taking them is taking the company’s things. A former employee who took security-screening system source code to a new company got 5 years and a 500000 yuan fine; the new company was fined 4000000 yuan. Someone who exploited a system flaw to download over 33000 design files got 1 year 10 months. The company can also sue you separately for damages - Benefit: Violating confidentiality duties by disclosing trade secrets or using them yourself, when circumstances are serious, brings up to 3 years and a fine concurrently or alone; especially serious cases bring 3 to 10 years plus a fine. The Anti-Unfair Competition Law also lists two acts as infringement: obtaining trade secrets by “electronic intrusion” (technical intrusion into a system); and inducing or helping others to breach confidentiality. Official case: Sun and other former employees took security-screening system source code and core algorithms and used them in a new company’s product. Sun got 5 years and a 500000 yuan fine; the new company was fined 4000000 yuan. Tian exploited a system flaw to download over 33000 design files and got 1 year 10 months plus a 100000 yuan fine. Engineer Yang stored App module source code on a personal computer and in the cloud, then built a similar App after switching jobs, and was prosecuted for infringing trade secrets (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百一十九条). ;全国人大常委会 (2025). 反不正当竞争法(2025 年修订,第十条). ;最高人民检察院 (2025). 检察机关知识产权保护典型案例(案例七). ;最高人民检察院 (2020). 2019 年度检察机关保护知识产权典型案例(案例十六). ;最高人民检察院 (2025). 检察机关依法惩治侵害企业数据安全犯罪 服务保障企业创新发展(案例五). - Notes: Even “code you wrote yourself” generally has copyright belonging to the company; see item 13 (code written with company resources belongs to the company). Taking it is taking the company’s things. Client lists are business information and may also constitute trade secrets. Besides a criminal sentence, the company can bring a separate civil claim for damages. ### 8. Do not run your own programs on others’ computers, servers, or cameras; do not use company machines for mining - Cost: No expense and no time loss - In plain terms: Controlling others’ computers, servers, or cameras without permission reaches up to 3 years at 20 devices, or 3 to 7 years if especially serious. Even below the criminal threshold, detention of up to 5 days still applies, and a fine of 50000 to 500000 yuan is possible. Anyone who has received a criminal penalty for this is barred for life from key posts in cybersecurity management and network operations. - Benefit: Illegally controlling computer information systems is a crime. Serious cases result in up to 3 years in prison plus a fine; especially severe cases incur 3 to 7 years. Controlling 20 or more devices is deemed “serious.” Those not meeting criminal thresholds still face confiscation of illegal gains, up to 5 days of detention, and fines ranging from 50,000 to 500,000 yuan. More serious violations bring 5 to 15 days of detention and fines from 100,000 to 1,000,000 yuan. Anyone with a prior public security penalty is barred for 5 years, while those with a criminal record are barred for life from critical cybersecurity and network operation roles. Example: Li was sentenced to 3 years in prison suspended for 5 years and fined 20,000 yuan after using software to illegally control 105 surveillance cameras; Wu and others received 2 to 4 years and 6 months in prison for implanting malware into mobile phone motherboards to harvest verification codes from over 3.3 million devices. - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第二款). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(第一条). ;全国人大常委会 (2025). 网络安全法(2025 年修正,2026 年 1 月 1 日施行,第二十九、六十六条;2016 年文本为第二十七、六十三条,终身禁业为修正后的第六十六条第三款). ;最高人民检察院 (2022). 山东滨州开发区:办理一起非法控制计算机信息系统案. ;最高人民检察院 (2021). 充分发挥检察职能 推进网络空间治理典型案例(案例六). - Notes: No published cases from China’s Supreme People’s Procuratorate or Supreme People’s Court address mining on company servers; this entry is written under the legal provision concerning unauthorized system control. The lifelong ban from key roles is an additional consequence under China’s Cybersecurity Law, carrying heavier weight for tech professionals than monetary fines alone. ### 9. Do not test others’ systems without written authorization; “good intentions” and “reporting afterward” are not defenses in the statute - Cost: No money spent. Before joining a vendor SRC or a public bug-bounty test, first obtain a document that states the authorized scope, target list, and allowed testing window. An SRC is a vendor-run security response center that receives externally reported vulnerabilities. Stop once you have verified the vulnerability exists. The hard part is giving up the “quick try” impulse - In plain terms: The statute looks at whether you had authorization and how much you obtained — not at what you meant. Obtaining 500 sets of ordinary account passwords, or earning 5000 yuan or causing the other side 10000 yuan in losses, is enough for up to 3 years. Exporting one user table “to prove the bug” often crosses 500 sets in a single pass. Having account passwords and using them outside the authorized scope also counts as intrusion - Benefit: 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 systems, or using other technical means to obtain data stored, processed, or transmitted in them, when circumstances are serious, brings up to 3 years of fixed-term imprisonment or criminal detention, and a fine concurrently or alone. Especially serious cases bring 3 to 7 years plus a fine. “Serious circumstances” has several standards: obtaining 10 or more sets of identity-authentication information (account 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 10000 yuan or more. Five times or more of those figures is “especially serious circumstances.” Official case: Prosecutorial Example No. 36 established one sentence — “using an account and password to log into a computer information system beyond the authorized scope is an act of intruding into a computer information system.” Meaning: you already have the account and password, but using them outside the authorized scope itself counts as intrusion. In that case three people used accounts, passwords, and tokens obtained at work to log into the company’s internal system from another place. They downloaded data outside their work scope, sold it online, and had illegal gains of 37000 yuan. They were sentenced to 4 years, 3 years 9 months, and 4 years respectively, each fined 40000 yuan (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第一款、第二款). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(第一条). (深圳市公安局转载);最高人民检察院 (2017). 第九批指导性案例(检例第 36 号,卫梦龙、龚旭、薛东东非法获取计算机信息系统数据案). ;央广网 (2016-06-29). 白帽子发布漏洞后被抓 世纪佳缘否认“钓鱼”使其上套(记者赵珂,实习记者刘香玺). (网页存档 ) - Notes: Prosecutorial Example No. 36 itself was a case of selling data for profit. It is cited only for the sentence that logging in beyond authorized scope counts as intrusion — not to say that good-faith testing will be sentenced the same way. Article 285 of the Criminal Law and the 2011 interpretation do not list good intentions or reporting afterward as reasons that it is not a crime. The author infers from that: what you meant to do, and whether you reported afterward, cannot cancel the offense; they may only affect how heavy the sentence is or whether to prosecute. A vendor thanking you first and filing a report later are not contradictory; thanks are not authorization. In 2016, a security researcher commonly called a “white hat” submitted a vulnerability in the Jiayuan site to a third-party vulnerability platform. Jiayuan later reported to police and he was arrested. Jiayuan told reporters the report was because data had been taken, and at the time they did not know the person who took the data was the one who submitted the vulnerability. This case has only media reports, no judgment and no official bulletin; there is no official account of how it ended. No good-faith testing case that can be checked word for word was found on the Supreme People’s Court or Supreme People’s Procuratorate websites, so this item is graded only from the statute and penalty standards. If you test, go through the vendor’s public SRC, or a written engagement, and put scope, targets, and time window in the document. Prove the bug exists with the least evidence; do not bulk-extract data. Conduct below the criminal threshold still faces public-security penalties and occupational bans; fine amounts and years match item 8 (do not run your programs on others’ machines). What to do after finding a vulnerability is in item 10 (report vulnerabilities as required). ### 10. Report vulnerabilities as required; before a patch, do not publish details, release exploit tools, or hand them to parties abroad - Cost: No money spent. Report the vulnerability to the product provider, or to an official platform. Until the vendor has fixed it, do not publish details or proof-of-concept code - In plain terms: Individuals are also covered by the (网络产品安全漏洞管理规定). Before the vendor has a fix, you must not publish the vulnerability, and must not publish vulnerability details for systems currently in use. You must not release programs and tools made to exploit the vulnerability, and when you publish you must also explain how to fix it. Unpublished vulnerabilities must not be given to organizations or individuals abroad other than the vendor - Benefit: This regulation covers three kinds of subjects: domestic network product providers, network operators, and organizations or individuals engaged in discovering, collecting, publishing, and similar activities involving vulnerabilities. No organization or individual may use vulnerabilities for activities that harm cybersecurity, or illegally collect, sell, or publish vulnerability information. Publishing vulnerability information to the public must follow five rules. First, do not publish before the product provider offers a remediation measure. Second, do not publish details of vulnerabilities in networks, information systems, and equipment currently used by network operators. Third, do not deliberately exaggerate harm and risk, and do not use vulnerability information for malicious hype or fraud. Fourth, do not publish or provide programs and tools specially used to exploit vulnerabilities for activities that harm cybersecurity. Fifth, when publishing, publish remediation or prevention measures at the same time. Also, unpublished vulnerability information must not be provided to organizations or individuals abroad other than the product provider. The regulation encourages reporting vulnerabilities to four official platforms. One is the MIIT cybersecurity threat and vulnerability information sharing platform. Two is the National Cyber and Information Security Information Notification Center vulnerability platform. Three is the CNCERT/CC vulnerability platform. Four is the China Information Technology Security Evaluation Center vulnerability database. Collecting or publishing vulnerability information in violation is handled by MIIT and the Ministry of Public Security according to their duties. Conduct that meets circumstances under the (网络安全法) is punished under that law. Publishing system vulnerabilities and other cybersecurity information to the public shall comply with relevant state rules. Violations bring orders to correct and warnings from the competent authority, and may bring a fine of 10000 yuan or more and 100000 yuan or less. Refusal to correct or serious circumstances bring a fine of 100000 yuan or more and 1000000 yuan or less. The authority may also order suspension of related business, shutdown for rectification, or closure of the website or application. It may also revoke related business permits or the business license. Persons directly in charge and other persons directly responsible may be fined 10000 yuan or more and 100000 yuan or less (nationwide) - Evidence grade: A - Sources:工业和信息化部、国家互联网信息办公室、公安部 (2021). 网络产品安全漏洞管理规定(工信部联网安〔2021〕66 号,第二、四、九、十、十四条,2021 年 9 月 1 日施行). ;全国人大常委会 (2025). 网络安全法(2025 年修正,2026 年 1 月 1 日施行,第二十八、六十五条;2016 年文本为第二十六、六十二条,规定第十四条援引的是 2016 年文本的条号). - Notes: The regulation expressly includes individuals among those covered; “I’m only an amateur” is not an exception. Submitting a bug in a domestic system to a foreign bug-bounty platform falls squarely under “unpublished vulnerabilities must not be provided abroad.” Whether you are allowed to test is in item 9 (do not test others’ systems without written authorization); that is separate from how you handle a vulnerability once you have it. A lawfully found vulnerability can still draw a penalty for unlawful publication; a vulnerability found without authorization has problems on both the testing and the publishing sides. The regulation does not specially address “the vendor was notified but does not fix.” The author’s advice is to keep records of negotiation and reporting, and also report to the four official platforms above. ### 11. No selling of tools for bypassing firewalls or VPN accounts, no setting up such nodes for others - Cost: No expense or time required - In plain terms: Any individual or entity that builds their own outbound network connections or uses international channels outside of state-provided public telecom services may be ordered by police to cease internet access, receive a warning, and face fines up to 15,000 yuan plus confiscation of any illegal earnings. Those running businesses based on such services may be charged with illegal business operations; in severe cases, imprisonment of up to five years applies. This rule specifically addresses selling or setting up such nodes. For personal use only, the maximum penalty remains limited to a warning and fine as stipulated in Article 14 of the provisional regulations. - Benefit: Direct international internet connectivity must be facilitated via international gateway channels supplied by state-owned telecom networks. No organization or individual may independently establish or utilize any other channels, meaning neither private outbound connections nor third-party nodes are permitted. Violators face police orders to disconnect from the internet, warnings, and possible fines up to 15,000 yuan plus confiscation of illicit profits. Commercial operators violating this rule may be prosecuted for illegal business operations; severe violations incur up to five years imprisonment plus fines ranging from one to five times the illegal earnings. Particularly egregious cases may result in imprisonment exceeding five years nationwide. - Evidence grade: B - Sources:国务院 (1997). 计算机信息网络国际联网管理暂行规定(第六、十四条). (重庆市农业农村委员会转载);全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百二十五条第四项). - Notes: At the time of drafting, no publicly documented court rulings regarding firewall circumvention were found on Supreme People’s Court or Supreme People’s Procuratorate websites, and regional enforcement practices vary widely; hence this B rating was assigned. This section exclusively addresses selling or setting up such nodes. For personal usage alone, the maximum penalty remains limited to warnings and fines as outlined in Article 14 of the provisional regulations. ### 12. If you signed a non-compete, send a written demand if the company misses monthly compensation; you can terminate it after 3 months of non-payment, and roles without access to trade secrets can request to void the clause - Cost: Free. Keep the original signed non-compete agreement when leaving, along with proof that the company failed to make monthly payments. If the company disputes the issue, apply for labor arbitration first. Labor arbitration is free; rulings are issued within 45 days of acceptance, extendable by up to 15 days. If dissatisfied with the award, file a lawsuit in court; ordinary first-instance civil proceedings are statutory to conclude within 6 months, which can be extended. Attorney fees are paid out-of-pocket. - In plain terms: A non-compete restricts you from working for competitors for up to 2 years after leaving, but the company must pay you monthly compensation. If no amount was agreed upon, they must pay 30% of your average monthly wage from your final 12 months, and no less than the local minimum wage. If the company fails to pay for 3 months due to its own fault, you can request to terminate the agreement. Starting in 2025, employees in roles that never had access to trade secrets can request to confirm the clause invalid. - Benefit: Non-compete covenants apply only to senior executives, senior technical personnel, and other personnel with confidentiality obligations. The maximum term is 2 years. During this period, the employer must pay monthly financial compensation. If the agreement specifies no compensation amount, it must be 30% of the employee's average monthly wage over the 12 months prior to departure, and not lower than the local minimum wage. If the employer fails to pay for 3 months due to reasons attributable to the employer, the worker may petition to terminate the non-compete covenant. If the employer terminates it early, it must pay an additional 3 months of compensation. Starting in 2025, workers whose positions involved no knowledge of or access to trade secrets can request to confirm that the clause does not take effect. If the agreed scope exceeds the secrets the worker actually knew, the excessive part is invalid. Official case: A pharmaceutical company sued its former Chief Technology Officer, Zheng, demanding 7.1 million RMB in liquidated damages. The court ruled that the new employer's products were not substitutable for those of the former employer and that the non-compete scope should be limited to the secrets Zheng actually knew, dismissing all claims (Nationwide). - Evidence grade: A - Sources:全国人大常委会 (2012). 劳动合同法(2012 年修正,第二十三、二十四条). (抚顺市应急管理局转载);最高人民法院 (2020). 关于审理劳动争议案件适用法律问题的解释(一)(第三十六至四十条). ;最高人民法院 (2025). 关于审理劳动争议案件适用法律问题的解释(二)(法释〔2025〕12 号,第十三至十五条). ;最高人民法院 (2025). 劳动争议典型案例(案例四). ;全国人大常委会 (2007). 劳动争议调解仲裁法(第四十三、五十三条). (安康市人力资源和社会保障局转载) - Notes: The statutory rule simply looks at whether non-payment lasted 3 months due to the company's fault; sending a written demand is the author's recommended method to preserve evidence. Conversely, if the agreement is valid and the company makes monthly payments, working for a competitor requires paying liquidated damages as agreed. After paying, you may still be required to serve out the remainder of the non-compete period. If an employer agrees with senior executives, senior technical staff, or other confidential personnel that they cannot engage in competing activities during active employment, that remains valid without extra pay. Outside of non-compete clauses and training service period commitments, employers cannot contractually impose liquidated damages on employees; see Section 19, Item 22 (demands for liquidated damages upon resignation). ### 13. Code written on work time with company resources belongs to the company; do personal open-source projects on your own time and equipment, and do not mix in company code - Cost: No money spent. When you join, read the intellectual-property clauses in the labor contract carefully. The hard part is that personal projects and company work often share one computer and must be kept apart - In plain terms: Software written mainly with company equipment, intranet, or business data, for which the company bears responsibility, has copyright belonging to the company; you keep only the right of authorship — and the same if the contract so provides. Code written after hours may still count as the company’s if you used a company computer or business data. Inventions made mainly with company resources also have patents belonging to the company - Benefit: Works created to complete the unit’s work tasks are works for hire (things made while doing the job). In the ordinary case copyright belongs to the author; the unit has priority to use them within its business scope, and for 2 years the author may not license third parties to use them in the same way. But two kinds of cases differ. One is engineering designs, software, and similar works created mainly with the unit’s material and technical conditions, for which the unit bears responsibility. The other is works the contract assigns to the unit. In both, the author keeps only the right of authorship. The unit’s material and technical conditions means company equipment, intranet, business data, and the like. Inventions completed while performing the unit’s tasks, or mainly using the unit’s material and technical conditions, are service inventions. The right to apply for a patent and the patent obtained both belong to the unit (nationwide) - Evidence grade: A - Sources:全国人大常委会 (2020). 著作权法(2020 年修正,第十八条). ;全国人大常委会 (2020). 专利法(2020 年修正,第六条). - Notes: Software is written directly into the “copyright belongs to the unit” category, so programmers almost never fall into the “copyright belongs to the author, unit has two-year priority use” tier. “Written after hours” can still be treated as mainly made with the unit’s equipment and materials if you used a company computer, intranet, or company business data. To keep a personal project clean, use your own machine, do not touch company repositories, and do not overlap company business. ### 14. Using open-source code such as GPL in products: Open-source it per the license or switch licenses — don’t treat this as “no one cares” - Cost: There is no cost involved. Before using someone else’s open-source code, check its license for any stated usage terms. The GPL family of licenses requires that any product built using it must also have its source code released, which conflicts with selling the product as closed-source software for profit. If such a conflict exists, you must switch to another license. The hard part is giving up a library you’ve already grown comfortable using. - In plain terms: Copyright infringement requires you to compensate the copyright holder based on their actual losses or the profits you earned from the infringement. If you commit infringement intentionally and under aggravating circumstances, you may be ordered to pay damages ranging from 1 to 5 times the original amount. One company hired a former employee of a competitor and developed software that was substantially similar to the competitor’s product. The company argued that since the competitor’s software used GPLv2, it was required to be open-source anyway. The Supreme People’s Court ruled that whether a developer complies with GPLv2 or not has no bearing on their copyright rights, and ordered the company to cease infringement and pay 500,000 yuan in damages. - Benefit: Copyright infringement demands compensation based on the rights holder’s actual losses or the infringer’s profits. If neither of these can be accurately calculated, damages are determined by how much it would cost to obtain a proper license for the same software. Intentional and aggravated infringement can also result in 1 to 5 times the standard compensation amount. If the infringement harms public interests, any illegal profits may be confiscated and fines imposed. A relevant official case is Supreme People’s Court Civil Appeal No. 51 of 2021. In this case, a defendant hired a former employee of a plaintiff and developed gateway software that was substantially similar to the plaintiff’s product. The defendant claimed the plaintiff’s software used GPLv2 and thus should have been open-source. The Supreme People’s Court reiterated that compliance with GPLv2 and copyright ownership are two separate issues, and ordered the defendant to cease infringement and pay 500,000 yuan in damages nationwide. - Evidence grade: B - Sources:全国人大常委会 (2020). 著作权法(2020 年修正,第五十三、五十四条). ;最高人民法院知识产权法庭 (2022). 涉「开源软件」著作权侵权案((2021)最高法知民终 51 号). - Notes: This case makes it clear that “the other party used GPL code” cannot serve as justification for copying their software. Conversely, there are already effective court rulings in China where GPL authors successfully sue commercial entities that fail to release source code. No original text of these rulings could be found on the Supreme People’s Court website, so they are not cited here. This item is graded B because compliance with open-source licenses is governed only by general contract and copyright laws, without any specific legal provisions dedicated to this area. ### 15. Collect only essential personal data in apps, obtain guardian consent under 14, and maintain a clear privacy policy - Cost: Free. Before going live, audit the app's permission list against your privacy policy, dropping any permission that is not strictly necessary. The real friction is product managers wanting to retain extra data "just in case we need it later." - In plain terms: Collect only the personal information strictly necessary for your business, and get guardian consent for anyone under 14. Regulators will first order violations corrected, and the app may be suspended. Refusing to comply carries fines of up to 1 million yuan, plus 10,000 to 100,000 yuan for responsible individuals. Severe violations risk fines of up to 50 million yuan or up to 5% of the previous year's annual turnover, and 100,000 to 1 million yuan for individuals. - Benefit: Personal information must be handled for specified, reasonable purposes directly related to the processing purpose, using methods that have the least impact on personal rights and interests. Processing personal information requires individual consent or must meet other statutory grounds. Before processing, users must be informed clearly and prominently, in plain language, about several things: your identity and contact information, what data is collected, why it is collected, how it is handled, how long it is stored, and how users can exercise their rights. When notification is provided through processing rules (commonly known as a privacy policy), the rules must be made public and easy to read and save. For children under 14 years old, consent must be obtained from a parent or guardian. In case of violations, regulatory authorities will order rectification, issue warnings, confiscate unlawful gains, and order the offending app to suspend or terminate services. If rectification is refused, fines reach up to 1 million yuan, with directly responsible supervisors and other directly liable personnel fined 10,000 to 100,000 yuan. In serious cases, fines reach up to 50 million yuan or up to 5% of the previous year's annual turnover; liable personnel are fined 100,000 to 1 million yuan. These individuals may also be prohibited from serving as directors, supervisors, or senior managers of relevant enterprises for a specified period. If selling or providing personal information constitutes a crime, see Item 4 (National). - Evidence grade: B - Sources:全国人大常委会 (2021). 个人信息保护法(第六、十三、三十一、六十六条). ;全国人大常委会 (2021). 个人信息保护法(第十七条:「个人信息处理者在处理个人信息前,应当以显著方式、清晰易懂的语言真实、准确、完整地向个人告知下列事项」;「个人信息处理者通过制定个人信息处理规则的方式告知第一款规定事项的,处理规则应当公开,并且便于查阅和保存」). - Notes: The statute does not specify which job roles count as "other directly liable personnel." The author deduces that software engineers and product managers could be included, though this book found no case law that could be verified word for word. The Ministry of Industry and Information Technology regularly announces the delisting of non-compliant apps, but no specific bulletin was verified for this section, so none is cited. ### 16. Before launching a website or App, complete ICP filing; keep logs for 6 months or more under multilevel protection requirements - Cost: Filing is free; use the cloud provider’s process — in the author’s experience a few days to a few weeks. Multilevel protection assessment is charged by level. Multilevel protection, or dengbao for short, is a set of national security-management actions that grade systems by importance and require websites and systems to meet them - In plain terms: Filing costs nothing; domestic servers without filing that refuse to correct will be shut down. Claiming filing is free while actually charging brings a fine of 3 to 5 times illegal gains, or 100000 to 1000000 yuan. Logs must be kept for a full 6 months; refusal to correct or causing consequences brings a fine of 10000 to 100000 yuan - Benefit: Commercial internet information services require a license; non-commercial ones require filing. Without a license or filing, you may not operate. Without filing, telecom authorities order correction; refusal brings an order to close the site. Operating without a license brings confiscation of illegal gains plus a fine of 3 to 5 times those gains, or a fine of 100000 to 1000000 yuan. Not displaying the filing number on the homepage brings a fine of 5000 to 50000 yuan. Network operators must, under the multilevel protection system (dengbao), set security management rules, defend against attacks, retain network logs for no less than 6 months, and classify, back up, and encrypt data. Failure brings orders to correct and warnings. Refusal to correct or causing consequences brings a fine of 10000 to 100000 yuan, and persons in charge 5000 to 50000 yuan (nationwide) - Evidence grade: A - Sources:国务院 (2011). 互联网信息服务管理办法(2011 年修订,第四、十九、二十二条). ;全国人大常委会 (2025). 网络安全法(2025 年修正,2026 年 1 月 1 日施行,第二十三、六十一条;2016 年文本为第二十一、五十九条). - Notes: Without filing, access providers must not connect domestic servers for you. How to file, how much the fine is for not posting the filing number, and how to check whether a provider is licensed are in Section 26, item 4 (servers in China need filing). The real traps are two: filing as personal non-commercial while actually charging; and changing domain or entity without updating the filing. The author’s view is that keeping logs for 6 months is both a duty and self-protection — when something happens you can show it was not you. Apps and mini programs also need filing before listing; the method is in the same item. ### 17. Before offering generative AI services to the public, complete the required security assessment and algorithm filing, and mark generated content - Cost: No money spent, but you must go through the cyberspace authority’s process, which takes some time. Tools that do not provide services to the domestic public are outside this measure - In plain terms: Generative AI services aimed at the public that can shape opinion or mobilize people need a security assessment and algorithm filing before launch; changes or shutdown also need amendment or cancellation filings. Generated images and video must be marked. Small tools for yourself that are not open to the public need none of this. Violations are punished under laws such as the (网络安全法) - Benefit: Providing generative artificial-intelligence services with public-opinion attributes or social-mobilization capacity shall conduct a security assessment per state rules. Algorithm filing under the algorithm-recommendation management rules is also required, plus later amendment and cancellation procedures. Public-opinion attributes or social-mobilization capacity means the ability to affect public views or to organize and mobilize people. Providers shall mark generated content such as images and video. The measure states that when enterprises, research institutions, and others develop or apply generative AI technology and “do not provide generative AI services to the domestic public, this measure does not apply.” Violations of the measure are “punished in accordance with the (中华人民共和国网络安全法), (中华人民共和国数据安全法), (中华人民共和国个人信息保护法), (中华人民共和国科学技术进步法), and other laws and administrative regulations.” The measure took effect on 15 August (8) 2023 (nationwide) - Evidence grade: B - Sources:国家互联网信息办公室等七部门 (2023). 生成式人工智能服务管理暂行办法(第二、十二、十七、二十一条). - Notes: This measure itself does not state fine amounts. Violations go back to the (网络安全法), (数据安全法), and (个人信息保护法) for penalties, which is why the grade is B. Civil cases of AI-generated content infringing others’ copyright or portrait rights were not verified against original text on the Supreme People’s Court site for this section and are not cited. Low-price resale of foreign large-model APIs via relay sites is in item 19 of this section (AI relay sites). ### 18. Do not build or distribute tools that automatically skip or block ads in other apps; even free tools can count as unfair competition - Cost: Free in cash. The price is giving up a very popular little tool. The hard part is mental: you feel you made no money and simply clicked "skip" on the user's behalf. - In plain terms: Building software that skips or blocks ads in someone else's app can get you sued for unfair competition. Charging nothing does not protect you, as the law defines business operators to include individuals who provide services. One browser blocked Mango TV's pre-roll ads by default and had to pay 800,000 yuan. Another app let users automatically skip Mango TV's splash-screen ads and had to pay 80,000 yuan in damages. - Benefit: By law, business operators may not use technical means to obstruct or disrupt the normal operation of network products or services lawfully provided by other operators. A "business operator" here includes natural persons, legal persons, and unincorporated organizations that provide goods or services. Those causing harm must pay compensation based on the other party's actual losses or the gains obtained from the infringement, plus reasonable expenses incurred to stop the infringement. Market regulation authorities can also impose fines of 100,000 to 1,000,000 yuan, or 1,000,000 to 5,000,000 yuan in serious cases. Official cases: A built-in feature of the 720 Browser blocked pre-roll and pause ads on the Mango TV website by default. The first-instance court dismissed Mango TV's lawsuit. On appeal, the Guangzhou Intellectual Property Court overturned the verdict, ruling that it constituted unfair competition and ordering 800,000 yuan in compensation for economic losses and reasonable expenses; the Supreme People's Court listed it as a model case in 2021. The "Lanjingling" (Screen Blocker) app allowed users to directly skip Mango TV's splash-screen ads. The first-instance court ordered it to stop and pay 80,000 yuan in economic losses plus 10,000 yuan in reasonable expenses. In April 2024, the Beijing Intellectual Property Court upheld the verdict on second instance, finding that it effectively blocked the splash-screen ads rather than merely clicking "skip" on the user's behalf (nationwide). - Evidence grade: A - Sources:全国人大常委会 (2025 年修订). 反不正当竞争法(第二、十三、二十二、二十九条). ;最高人民法院 (2021). 人民法院反垄断和反不正当竞争典型案例(案例五:「720浏览器」不正当竞争纠纷,(2018)粤73民终1022号). ;北京政法网 (2024-04-18). 「芒果TV」起诉「拦精灵」不正当竞争案,二审胜诉(来源:京法网事). ;《财经》客户端 (2023-09-10). App屏蔽开屏广告,腾讯发律师函要求下架,合理吗?(财经E法 樊瑞). (网页存档 ) - Notes: Both rulings were based on pre-amendment statutory provisions. Following the 2025 revision, this provision moved to Article 13 and added references to data, algorithms, and platform rules. The appellate court noted that the ruling targeted automated blocking, so users manually clicking "skip" remain unaffected. In August 2023, "Li Tiaotiao," a free ad-skipping tool on Android, received a cease-and-desist letter from Tencent alleging that it blocked ads in Tencent Browser, constituted unfair competition, and demanding removal within 48 hours. The developer stated it was non-profit and public-interest, and reports indicated it only accepted occasional small donations; nevertheless, it announced an indefinite suspension of updates, and several similar tools also shut down. This incident was only covered by media, with no lawsuit or court ruling filed. When individual developers receive a lawyer's letter, their realistic choices are to back down or pay out of pocket to hire a lawyer and respond. Under ordinary first-instance procedure, a case should conclude within six months by statute (extendable), and legal fees are generally borne by oneself. No cases were found where someone wrote a script purely for personal use and was pursued. For selling ticket-snatching software and paying damages under unfair competition, see Item 3 in this section (ticket-snatching and flash-sale scripts). The beneficiary is yourself. ### 19. Do not build an “AI relay site” that resells foreign large-model APIs at low prices: a Shanghai site operator has already been criminally detained - Cost: No money spent. The trade-off is dropping a low-barrier side business that looks good on paper. If you truly want model aggregation, go the proper route — get operating permits and connect officially authorized models; that costs both money and time - In plain terms: An AI relay site is a website that resells foreign large-model APIs at low prices. A Shanghai site operator said he was criminally detained for 37 days for this, is now on bail, will definitely be sentenced, and has already returned illicit gains. The Ministry of State Security has also issued a warning that some relay sites lack operating qualifications and some privately send user data abroad - Benefit: In June (6) 2026 the Ministry of State Security issued a risk warning. It said AI relay sites are a proxy layer between users and model vendors’ official services. Some relay sites lack operating qualifications. Some, without data-export compliance credentials and without the statutory security-assessment process, send user-input data to servers abroad. Some also let users bypass network-access, official-authorization, and cross-border transmission limits. China Newsweek reported a case in June (6) 2026. In May (5) 2026, a Shanghai relay-site operator posted a shutdown notice in a tech community. He said that for illegally obtaining large-model APIs he had been criminally detained by Shanghai police for 37 days and was now on bail. He said he “will definitely be sentenced,” had already returned illicit gains, and would still pay a fine. The report said such relay sites bulk-register or buy foreign large-model subscriptions, host overseas servers as jump hosts, and resell to domestic users at low prices (nationwide / Shanghai) - Evidence grade: C - Sources:国家安全部 (2026). 「AI中转站」,风险要防范. (数字中国建设峰会官网转载国家安全部微信公众号);中国新闻周刊 (2026-06-22). AI中转站,面临整治「风暴」(记者孟倩). (网页存档 ) - Notes: This case has only media reports and the party’s own account — no judgment and no police bulletin — so there is no official statement of the charge. Specific charges and sentences circulating online come from lawyers’ articles and are not cited here. So one cannot say “running a relay site is always a crime,” only that someone has already been criminally detained for it. Doing model aggregation properly requires an operating permit to charge fees; see Section 26, item 2 (fee-charging sites need a license). Offering generative AI to the public needs filing; see item 17 of this section (generative-AI security assessment). Sending user data abroad has statutory conditions; see Section 26, item 10 (user information leaving the country). Users of relay sites have separate risks; see Section 14, item 10 (AI relay sites). The beneficiary is you yourself. ### 20. Stop writing, selling, or sharing software cracks, keygens, and pirated versions—hitting sales thresholds leads to criminal copyright infringement convictions - Cost: Costs nothing in cash. The real price is giving up quick-cash side hustles like selling cracked software, license keys, or cracked hardware dongles. Also stop posting crack patches to forums and cloud storage drives. The hard part is that cracking feels like a purely technical skill rather than actual theft. - In plain terms: License key checks and hardware dongles are technical protection measures built into software. Bypassing them without permission counts as infringement, and you can be sued for damages even if you did not charge a dime. Cracking software or selling cracking tools for profit crosses into criminal territory once illegal gains reach 30,000 yuan or total sales hit 50,000 yuan, carrying prison sentences of up to 10 years. In one case, individuals who manufactured cracked dongles bundled with pirated software were sentenced to prison terms ranging from 1 year to 3 years and 2 months. - Benefit: Starting with civil liability: copyright law allows right holders to apply technological measures to their works. Technological measures refer to effective technologies, devices, or components designed to prevent or restrict unauthorized access to or use of works. Without authorization from the right holder, no person may intentionally circumvent or destroy such technological protection measures. Nor may anyone manufacture, import, or provide to the public devices or components intended to circumvent them, or intentionally provide technical services to help others circumvent them. Computer software is protected as a copyrighted work; doing any of these constitutes infringement, requiring the infringer to cease the infringement and pay damages. Compensation is calculated based on the right holder's actual losses or the infringer's unlawful gains; where difficult to calculate, it refers to standard license fees. For intentional infringement with serious circumstances, punitive damages of 1 to 5 times may be awarded. Where public interest is harmed at the same time, copyright authorities may also confiscate illegal gains; if illegal business revenue reaches 50,000 yuan or more, a fine of 1 to 5 times the illegal business turnover may be imposed; if it is under 50,000 yuan or cannot be determined, a fine of up to 250,000 yuan may be imposed. Turning to criminal liability: Criminal Law Amendment (XI) incorporated "intentionally circumventing or destroying technological measures" into the crime of copyright infringement, provided it is done for the purpose of making a profit. Where illegal gains exceed 30,000 yuan or illegal business revenue exceeds 50,000 yuan, the penalty is up to 3 years in prison, along with or solely a fine. At 10 times these thresholds, the penalty is 3 to 10 years in prison plus a fine. Anyone who knowingly provides devices, components, or technical services primarily used to circumvent or destroy technological measures to someone committing criminal copyright infringement is prosecuted under the same charge once the same monetary thresholds are reached. Official Case 1: Between March 2019 and July 2022, Liu Mou-sheng, aiming to profit, manufactured "hardware dongles" capable of bypassing software technological measures. He also duplicated pirated software and sold it bundled with the dongles, accumulating an illegal business turnover of over 1.06 million yuan. The Shanghai No. 3 Intermediate People's Court ruled that the circumstances were particularly serious and convicted him of copyright infringement. The Supreme People's Procuratorate noted that this was the nation's first criminal copyright infringement case involving "intentional circumvention or destruction of technological measures" following Criminal Law Amendment (XI). In April 2023, the Shanghai court sentenced the three defendants in this case to prison terms ranging from 3 years and 2 months to 1 year (some with suspended sentences) and fines from 700,000 to 80,000 yuan. Official Case 2: Liu, a medical equipment repair technician, paid 80,000 yuan in a QQ group to buy 50 sets of cracked dongles, then resold them online for several thousand yuan each. Plugging in the dongle bypassed identity verification on the medical equipment and granted access to maintenance software. The Shanghai Putuo District Court sentenced him to 1 year and 2 months in prison (suspended) and an 80,000 yuan fine. Official Case 3: Starting in May 2021, Li and others in Xuzhou commissioned developers to create jailbreak programs for gaming consoles and manufactured jailbreak devices for sale, reaching an illegal business revenue of over 39 million yuan. In November 2024, 10 individuals were sentenced to prison terms ranging from 3 years and 6 months to 2 years and 6 months (some suspended) and fines ranging from 11 million to 1.5 million yuan (nationwide). - Evidence grade: A - Sources:全国人大常委会 (2020). 刑法修正案(十一)(第二十项,即刑法第二百一十七条第六项). ;全国人大常委会 (2020). 著作权法(2020 年修正,第三条,第四十九、五十、五十三、五十四条). ;最高人民法院、最高人民检察院 (2025). 关于办理侵犯知识产权刑事案件适用法律若干问题的解释(法释〔2025〕5 号,第十三条). ;最高人民法院、最高人民检察院 (2025). 知识产权刑事保护典型案例(案例六:刘某生、刘某侵犯著作权案). ;最高人民检察院 (2024). 最高检:指导办理全国首例「故意避开或者破坏技术措施型」侵犯著作权案. ;检察日报 (2023-04-18). 售卖盗版加密狗 解锁医疗设备安全系统(最高检官网转载). ;国家版权局 (2025). 2024 年度全国打击侵权盗版十大案件(案件六:江苏徐州李某某等人破坏技术措施侵犯著作权案). - Notes: The beneficiary is you. Copyright law leaves narrow exceptions: bypassing technological measures is permitted when testing the security performance of computer systems and networks, conducting encryption research, or conducting software reverse engineering research. However, the exact same statutory provision stipulates that one must not provide the circumvention technologies, devices, or components to others. Thus, doing research privately is permitted, but publishing or selling the tools is not. Releasing crack patches for free does not meet the criminal threshold for copyright infringement because the criminal statute requires a profit motive. However, civil infringement still holds: software companies can send cease-and-desist letters and sue you for damages. Under standard first-instance civil litigation procedures, cases are supposed to conclude within 6 months by rule (extensions permitted), and attorney fees are typically borne by each party. Uploading full cracked software online for public download constitutes unauthorized distribution of works; see Section 9, Item 24 (sharing cloud storage resources) for criminal thresholds. For game cheats that bypass anti-cheat mechanisms, see Item 2 of this section (game cheats and assistive tools). ### 21. Do not help launch DDoS traffic attacks; do not sell or rent “stress-test” traffic platforms; if you lose a game, do not attack the other side’s servers either - Cost: No money spent. DDoS means controlling many machines to send requests at a target at once until the server is unusable. The trade-off is dropping a per-hit or packaged traffic business, and also holding back a moment of anger. When conflict arises in a game or in business, use reports, complaints, and police reports — do not pay someone to attack - In plain terms: Using DDoS so others’ websites, servers, or games cannot open is the crime of destroying a computer information system. Serious consequences bring up to 5 years; especially serious consequences bring 5 years or more. People who pay a platform to attack are also joint offenders. Someone who ran a DDoS site collecting membership fees and taking orders got between 10 months and 5 years 6 months - Benefit: Interfering with the functions of a computer information system so it cannot run normally, with serious consequences, brings up to 5 years of fixed-term imprisonment or criminal detention. Especially serious consequences bring 5 years or more. Courts treat DDoS as the “interference” here. “Serious consequences” has several standards. One is that the main software or hardware of 10 or more computer information systems cannot run normally. One is illegal gains of 5000 yuan or more, or economic losses of 10000 yuan or more. Another is that a system serving 10000 or more users cannot run normally for a cumulative 1 hour or more. Machine counts or money amounts at 5 times those figures count as especially serious consequences. Knowing someone is committing such destruction and still providing programs or tools for destruction is punished as joint crime. The threshold is illegal gains of 5000 yuan or more, or providing to 10 person-times or more. Providing server hosting, technical support, and similar help with illegal gains of 5000 yuan or more is the same. Providing programs or tools specially used to intrude upon or illegally control computer information systems — at 20 person-times or more, or illegal gains of 5000 yuan or more — brings up to 3 years and a fine concurrently or alone. Below the criminal threshold, interfering with computer information system functions or providing such tools, when harm results, brings detention of up to 5 days, or 5 to 15 days if more serious. Official case 1 (Prosecutorial Example No. 69): In early 2017, Yao Xiaojie and others were hired to form the “Dark Night Group” abroad. They bought large amounts of server resources and used malware to launch DDoS. They attacked three times the IPs of three game companies on a cloud of an internet company; games could not log in and users dropped frequently. The victim company spent over 40000 yuan on emergency repair. In June (6) 2018, Shenzhen Nanshan court sentenced 11 people to 1 to 2 years for destroying a computer information system. Official case 2: In March (3) 2017 Tang and Wang built a DDoS website that could top up membership and submit attack tasks. They took orders and launched traffic attacks on over 80 target IPs. Nantong Haimen court sentenced Tang and others to between 10 months and 5 years 6 months for destroying a computer information system. Zhang, who ordered attacks on that site to suppress competitors, submitted over 100 attack tasks against 11 IPs or domains of rival companies. The court found the orderers and the site operators were joint offenders. The orderer was the one who initiated and was a principal offender. Official case 3: Wang built a DDoS platform and sold attacks under clear “bronze,” “silver,” “gold,” and “diamond” packages. Beijing Haidian procuratorate charged him with illegally using information networks; in 2020 first instance he got 1 year and a 50000 yuan fine (nationwide) - Evidence grade: A - Sources:全国人大 (2020). 刑法(根据刑法修正案(十一)修正,第二百八十五条第三款、第二百八十六条、第二百八十七条之一). ;最高人民法院、最高人民检察院 (2011). 关于办理危害计算机信息系统安全刑事案件应用法律若干问题的解释(法释〔2011〕19 号,第二、三、四、九、十一条). (深圳市公安局转载);全国人大常委会 (2025). 治安管理处罚法(2025 年修订,第三十三条). ;最高人民检察院 (2020). 第十八批指导性案例(检例第 69 号,姚晓杰等 11 人破坏计算机信息系统案). ;江苏省高级人民法院 (2020-09-24). 江苏法院发布危害网络安全犯罪典型案例(案例二:唐某等人犯破坏计算机信息系统案). ;人民法院报 (2025-02-08). 通过 DDoS 网站实施网络攻击行为的定罪量刑(人民法院案例库入库参考案例 2024-18-1-254-001 评析,山东法院网转载). ;最高人民检察院 (2020). 北京海淀区:DDoS 攻击平台案嫌疑人获刑. - Notes: The beneficiary is you yourself. These platforms wear a “stress test” label. Testing your own system, or a system the other side has authorized you in writing to test, is a stress test. Hitting others’ servers is the same idea as item 9 (do not test others’ systems without written authorization). Which charge applies to running a platform that takes orders is not uniform across places. The Haimen case used destroying a computer information system, with a top of 5 years 6 months; the Haidian case used illegally using information networks and got 1 year. A People’s Court Daily commentary said practice is not entirely consistent, and the case library treats it as destroying a computer information system. In Prosecutorial Example No. 69, the attacked internet company filed a report. Public security sent the electronic data it provided to the Guangdong branch of CNCERT/CC for analysis, which found 14 control-end servers. Chat logs and bank records confirmed the purchase of control over those servers. Selling malware that controls others’ computers is in item 8 of this section (do not run your programs on others’ machines).