Harmful Content and Intellectual Property Risks
Generative AI can produce harmful content and raises new questions about intellectual property. This lesson explains both categories of risk and the mitigations business leaders should direct.
Learning outcomes
After completing this lesson, you will be able to:
- Describe harmful content risks and their mitigations.
- Identify intellectual property risks in both directions and their mitigations.
- Describe how red teaming is organised.
- Explain the disclosure and provenance of AI-generated content.
Harmful content risks
Generative models can produce content that is hateful, violent, sexual, harassing, self-harm related, dangerous or misleading, either by accident or because users deliberately try to make them do so. Prompt attacks (jailbreaks and prompt injection) attempt to bypass instructions and safeguards. For a business, harmful outputs create reputational damage, harm to users, legal liability and loss of trust.
Mitigations combine several layers: guardrails with content filters and denied topics; testing before launch, including red teaming in which testers deliberately try to produce harmful outputs; clear usage policies for users; user reporting mechanisms; human review of sensitive outputs; and monitoring of guardrail interventions in production.
Red teaming in practice
Red teaming is structured adversarial testing: people deliberately try to make an AI system misbehave before real users or attackers do. The following steps describe how it is typically organised.
-
Define the scope
List the harms that matter for the use case, such as unsafe advice, offensive content, data disclosure or breaking out of scope.
-
Assemble the team
Include people with different backgrounds and domain expertise, not only engineers.
-
Attack
Try direct requests, disguised requests, role play, multi-step conversations and prompt injection through documents.
-
Record and fix
Log each successful attack, then strengthen guardrails, prompts or scope.
-
Repeat
Test again after fixes and after any significant change, and keep successful attacks as a regression test set.
Organising red teaming
Intellectual property risks
Intellectual property (IP) concerns arise in both directions. The following list describes the main risks.
- Infringing others' IP: generated text, images or code could reproduce copyrighted material or trademarks too closely.
- Leaking own IP: employees may enter trade secrets, source code or confidential plans into tools whose terms allow the provider to store or train on them.
- Ownership and protection of outputs: whether AI-generated content can be protected, and who owns it, varies by jurisdiction and contract.
- Data licensing: data or content used for RAG or fine-tuning may have licence terms that restrict such use.
Which direction of IP risk?
Mitigating intellectual property risks
The following comparison summarises the main mitigations for each direction of IP risk.
Disclosure and provenance of generated content
As AI-generated images, audio, video and text become harder to distinguish from human-created content, organisations face expectations, and in some jurisdictions obligations, to disclose it. Disclosure can take the form of visible labels, statements in terms of use, or technical provenance information such as invisible watermarks and metadata that records how content was created. Keeping internal records of which published content was generated or edited with AI also supports responses to IP questions, customer complaints and regulators.
A marketing campaign
A consumer brand's marketing team wants to use generative AI to create images and slogans for a national campaign, and to fine-tune a model on the brand's archive, which includes photographs licensed from agencies for print use only. What risks should be addressed?
Harmful content and brand safety: images and slogans need guardrails and human review before publication. Infringement: generated images could resemble existing works or trademarks, so the team should use a provider offering IP indemnity and clear high-visibility content. Data licensing: agency photographs licensed for print only may not be used to fine-tune a model, so they must be excluded unless licences permit it. Records of how the content was created support later questions about ownership.
Generated code and open-source licences
A software company's developers use an AI coding assistant. A due diligence review by a prospective acquirer finds several functions in the company's product that closely match code from an open-source project whose licence requires derivative works to be released under the same licence. Nobody knew. What should the company change?
This is a risk of infringing others' IP through generated output. The company should use coding assistants that can flag suggestions resembling public code and identify their licences, set a policy on which licences are acceptable in its products, include licence scanning in its software review process, and keep records of how code was produced. The matching functions should be reviewed with legal advice and rewritten or properly licensed. Contract terms that offer IP indemnity for generated output also reduce, but do not remove, the company's exposure.
What is red teaming?
Show answer
Testing in which people deliberately try to make an AI system produce harmful or unintended outputs, to find weaknesses before launch.
Exam Tips
Remember for the exam
- Mitigate harmful content with guardrails, red teaming, policies, reporting and human review.
- IP risks run both ways: leaking your own IP and infringing others'.
- Use enterprise tools that do not train on your data and providers that offer IP indemnities.
- Check licences before using content for RAG or fine-tuning.
- Red teaming tests scope, attacks and fixes repeatedly; successful attacks become regression tests.
- Disclose AI-generated content with labels or provenance information, and keep internal records.