LLM Security and Vulnerabilities
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
LLM Security and Vulnerabilities
This course is part of AI Tooling Specialization
Instructor: Alfredo Deza
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Analyze how API-based, embedded, and multi-model application architectures create distinct LLM vulnerability surfaces
Apply defense patterns against prompt injection, insecure output handling, model theft, and sensitive information disclosure
Evaluate plugin designs and tool integrations against permission boundary and excessive agency risks
Skills you'll gain
Details to know
April 2026
3 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 3 modules in this course
Identify, analyze, and defend against the security vulnerabilities that arise when Large Language Models (LLMs) are integrated into production applications. This course begins with how LLMs function in applicationsβtokenization, next-token prediction, and the architectural patterns that determine attack surfaceβthen surveys real-world application types including Application Programming Interface (API)-based services, embedded-model deployments, and multi-model orchestration pipelines. You will examine each architecture's distinct security profile and the trade-offs that shape deployment decisions.
The second module provides a systematic walkthrough of LLM-specific vulnerability categories: prompt injection, insecure output handling, model theft and replication through distillation, sensitive information disclosure, insecure plugin design, excessive agency, and denial-of-service attacks. For each vulnerability you will study the attack mechanism, analyze why LLM behavior makes it exploitable, and apply concrete defense patterns including input sanitization, output validation, permission boundaries, and rate limiting. A capstone assessment synthesizes these skills into an end-to-end security evaluation of an LLM-powered system.
Covers security, vulnerability, model, application, and token.
What's included
11 videos3 readings1 assignment
11 videosβ’Total 50 minutes
- Meet Your Instructorβ’1 minute
- How Do LLMs Work in Applicationsβ’6 minutes
- How Are LLMs Createdβ’8 minutes
- What Are LLMs and How Do They Workβ’6 minutes
- Introductionβ’1 minute
- Common Types of Generative AI Applicationsβ’4 minutes
- Overview of an API-Based Applicationβ’5 minutes
- Overview of an Embedded Model Applicationβ’5 minutes
- What Is a Multi-Model Applicationβ’6 minutes
- Challenges and Highlights of AI Applicationsβ’6 minutes
- Summaryβ’2 minutes
3 readingsβ’Total 3 minutes
- Key Termsβ’1 minute
- Reflectionβ’1 minute
- Key Termsβ’1 minute
1 assignmentβ’Total 5 minutes
- LLM Foundations and AI Application Securityβ’5 minutes
Covers prompt, model, attack, injection, and output.
What's included
11 videos4 readings1 assignment
11 videosβ’Total 33 minutes
- Introductionβ’1 minute
- Application Vulnerabilitiesβ’4 minutes
- Sensitive Information Disclosureβ’5 minutes
- Insecure Plugin Designβ’4 minutes
- Summaryβ’1 minute
- Conclusionβ’1 minute
- Introductionβ’0 minutes
- Prompt Injectionβ’4 minutes
- Insecure Output Handlingβ’5 minutes
- Model Theftβ’4 minutes
- Model Replicationβ’3 minutes
4 readingsβ’Total 42 minutes
- Key Termsβ’10 minutes
- Key Termsβ’10 minutes
- Prompt Injection Labβ’12 minutes
- Reflectionβ’10 minutes
1 assignmentβ’Total 5 minutes
- LLM Security Vulnerabilities and Defenseβ’5 minutes
Conduct a comprehensive security assessment of an LLM-powered application, systematically testing it against the full taxonomy of LLM vulnerabilities including prompt injection, insecure output handling, model theft, sensitive information disclosure, and insecure plugin design. Implement defense patterns at every layer and produce a security audit report with actionable remediation guidance.
What's included
3 readings1 assignment
3 readingsβ’Total 21 minutes
- Capstone Readingβ’10 minutes
- Before You Goβ’1 minute
- Next Stepsβ’10 minutes
1 assignmentβ’Total 30 minutes
- Final Graded Quizβ’30 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- P
Pearson
Course
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
