Binding law — in force
Public-opinion GenAI services must complete filing and a security assessment (China)
Under China's GenAI Interim Measures Art. 17, providers of generative AI services with public-opinion properties or social-mobilization capability must carry out a security assessment per state provisions and complete algorithm filing/modification/cancellation under the Algorithmic Recommendation Provisions. Detect a public-facing GenAI service (public-opinion/social-mobilization capable) with no completed algorithm filing or security assessment.
Who it applies to
- Duty falls on: provider
- Providers of public-facing GenAI services in China with public-opinion or social-mobilization attributes. Effective 2023-08-15. (First 11 providers filed by 2023-08-31.)
- Whether it applies depends on facts outside the code; a person has to decide.
The guard to add
Record the completed algorithm filing and security assessment for a public-opinion GenAI service, show the filing number in the product, and gate launch on it.
For a public-facing GenAI service with public-opinion or social-mobilization reach (open content generation, feeds, posting or comment features), keep a filing record in the repository with the algorithm filing number, the generative AI service filing record, the security assessment report reference, and dates. Render the filing number from config in the site or app footer or about page, and have a release check refuse to enable the public endpoint when no filing number is configured. Update the record when the algorithm or service changes or is withdrawn.
Where it goes: 3 config and feature flags, 12 repository artifacts, 14 user-facing text, 11 CI/CD pipeline.
What this provision adds:
- Display the algorithm filing number (网信算备…号) in the site or app footer or about page, and keep the generative AI service filing record (生成式人工智能服务备案) and security assessment report reference.
- Complete algorithm filing modification or cancellation under the Algorithmic Recommendation Provisions when the service changes or ends.
Example (Service config), before:
# config/release.yaml
public_genai_chat:
enabled: trueAfter:
# config/release.yaml (startup fails if enabled without filing details)
public_genai_chat:
enabled: true
algorithm_filing_number: "<filing number issued after algorithm filing>"
service_filing_record: records/cn/genai-service-filing.md
security_assessment_ref: records/cn/security-assessment-2026.pdfControl: Public-opinion GenAI service without filing / security assessment. The same guard addresses 1 item with binding law in 1 jurisdiction. Engineering guidance, not legal advice.
Rule id cn-genai-interim.filing-and-security-assessment · review status: primary source derived