AI Security, Guardrails and Prompt Injection Defence

Study AI Security, Guardrails and Prompt Injection Defence with full lessons, revision notes and quick reference, across 28 lessons.

11 modules. 28 lessons. Self-paced.

Roles this course prepares you for

Course curriculum

This Vectametric-authored Skill Course follows prerequisite-led practical competencies. It has no certification exam, domain weights or pass score; lesson completion is not independently verified competence.

Free to read: 5 lessons, no account needed

Application threats and trust boundaries (3 lessons)
  1. Read messages without granting authority (read now)

    • Trace system, user and supplied-context text through an LLM request without treating text as a permission grant.
  2. Map assets and trust boundaries (read now)

    • Identify protected data, actors and permission boundaries in the Cedar/Rowan assistant.
  3. Classify injection and ordinary model errors (read now)

    • Distinguish direct/indirect injection, safety-policy bypass, benign quotations and model error using channel and effect.
Prepare the local practice environment (2 lessons)
  1. Prepare an owned practice workspace (read now)

    • Verify the interpreter, practice inputs and owned output directory without altering unrelated files.
  2. Identify and call the local model (read now)

    • Make a bounded benign local request and record the runner release, model digest, settings and execution limits.

With course access: 23 lessons

Follow attacks to their consequences (3 lessons)
  1. Analyse direct authority forgery

    • Compare forged-role and rephrased inputs with legitimate security vocabulary while preserving application identity.
  2. Trace instructions in external content

    • Place and trace instructions in retrieved text and tool-returned text as distinct input channels.
  3. Place guardrails at enforcement boundaries

    • Choose screening, prompt, structural and permission layers with explicit failure limits.
Control inputs, retrieval and session state (3 lessons)
  1. Bound and inspect input safely

    • Apply byte/character bounds and an explicit inspection policy without silently rewriting legitimate text.
  2. Authorise context before retrieval reaches the model

    • Project only permitted tenant records and necessary fields into context using application-selected identity.
  3. Isolate history and pending state by session

    • Keep conversation and pending state scoped to the selected tenant, actor and session.
Validate intent and authorise tool proposals (3 lessons)
  1. Reject ambiguous or malformed proposal JSON

    • Reject duplicate keys, wrong types, unsupported fields and non-finite values before a proposal can proceed.
  2. Check a note against the requested task

    • Distinguish shape, task fidelity and tenant scope; validate exact-note tasks and route free-form drafts to explicit review.
  3. Authorise capabilities at the tool boundary

    • Dispatch only allowed capabilities and authorised resources using trusted application context.
Bind approval to the action that executes (2 lessons)
  1. Bind approval to an exact pending draft

    • Show and bind approval to the actor, session, target, note and revision without exposing approval state to the model.
  2. Reject stale, expired and replayed approval

    • Recheck revision, permissions, expiry and one-use state at execution; allow one unchanged approved action.
Limit disclosure and unsafe output use (3 lessons)
  1. Minimise secret exposure in context and records

    • Withhold unnecessary synthetic secret fields and explain the limits of marker-based redaction.
  2. Keep generated delivery attempts inert

    • Deny unsupported delivery capabilities and keep generated URLs or image references from causing an outbound action.
  3. Handle generated text and links for their destination

    • Choose handling for plain text, links, remote images and executable contexts without treating JSON strings as safe markup.
Bound work and handle missing checks (2 lessons)
  1. Bound work and discard late results

    • Enforce input/call/output budgets and expiry checks while distinguishing a workflow deadline from cancellation.
  2. Handle unavailable or malformed guardrail decisions

    • Apply an explicit action policy for missing, malformed or negative checks while keeping safe read-only behaviour distinct.
Evaluate attacks, boundaries and legitimate work (4 lessons)
  1. Define cases and observable effect oracles

    • Specify labelled benign/adversarial cases with channel, starting state, objective and effect oracle before a run.
  2. Build a regression matrix with held-out variations

    • Exercise each taught boundary with direct hostile proposals, legitimate controls and a separately held-out split.
  3. Run a bounded local adversarial comparison

    • Run and record real model requests, proposals and application decisions with explicit configurations and repeats.
  4. Interpret security counts and task failures

    • Recompute raw counts and denominators while separating attack impact, false blocking, task failure and inconclusive results.
Diagnose a failure and recover safely (2 lessons)
  1. Record minimal security events

    • Link bounded reason-coded events to an interaction without logging prompts, approval tokens or unnecessary sensitive content.
  2. Contain a boundary failure and verify recovery

    • Disable the affected simulated capability, inspect effects, restore owned state and add a targeted regression.
Complete the defensive challenge (1 lessons)
  1. Repair and explain the support assistant

    • Repair the taught assistant, preserve legitimate behaviour, add an original adversarial variation and explain residual risk.

Study views

  • Full Course
  • Revision
  • Quick Reference

Unlock all 28 lessons

Course access opens every lesson and adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

Know what is included

Independent learning material from Vectametric. Not affiliated with or endorsed by the organisations behind the tools it teaches. Practice exams and projects are separate. Completing a course is not a professional certification.

Questions about courses

Are these video courses or reading courses?

The current courses use written lessons, examples and diagrams. Full Course, Revision and Cheat Sheet or Quick Reference views cover the same learning sequence at different levels of detail.

Which course should I start with?

Choose a Certification Course for a named exam, a Career Path Course for a role-led sequence, or a Skill Course for a focused subject. Read its level, prerequisites and curriculum before enrolling.

Do revision notes replace the full lessons?

No. Start with the full explanations, then use revision notes to refresh your understanding. Cheat sheets are concise study references, not a substitute for learning or permission to use notes during an official exam.

Are practice exams and projects included?

No. Course access, practice-exam bundles and project access are separate. An official certification, exam booking or voucher is not included.

How long do I have access?

The course page and checkout show the current online access period and price, including free enrollment where offered. Access starts when enrollment is confirmed and does not auto-renew.

Can I read lessons before enrolling?

Yes. Each course opens its first lessons to read without an account, and some courses are open in full. The course curriculum marks the lessons you can read now. Course access adds the remaining lessons, the Revision and Cheat Sheet or Quick Reference views, saved progress, bookmarks and personal notes.

Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy