Learn to use AI-powered Accelerator agents — from Agents to Hero
View the Project on GitHub devopsabcs-engineering/agentic-accelerator-workshop
| Duration | 40 minutes |
| Level | Intermediate |
| Prerequisites | Lab 00, Lab 01, Lab 02 |
By the end of this lab, you will be able to:
In this exercise you use the Security Reviewer Agent to scan the sample app source code for common vulnerabilities.
Ctrl+Shift+I).Type the following prompt:
@security-reviewer-agent Scan sample-app/src/ for OWASP Top 10 vulnerabilities. Report findings with CWE IDs and severity.
Wait for the agent to complete its analysis. Review the output and look for these categories of findings:
| Finding | CWE | File |
|---|---|---|
| SQL injection via string concatenation | CWE-89 | sample-app/src/lib/db.ts |
Cross-site scripting (XSS) via dangerouslySetInnerHTML |
CWE-79 | sample-app/src/components/ProductCard.tsx |
| Hardcoded secrets (JWT secret, API key) | CWE-798 | sample-app/src/lib/auth.ts |
| Weak cryptographic hashing (MD5) | CWE-328 | sample-app/src/lib/auth.ts |
Predictable token generation (Math.random()) |
CWE-330 | sample-app/src/lib/auth.ts |

Next, scan the infrastructure-as-code template for security misconfigurations.
In Copilot Chat, type:
@iac-security-agent Scan sample-app/infra/main.bicep for security misconfigurations
Review the findings. The agent should identify issues such as:
For each finding, note the line number in main.bicep and the recommended remediation.

Now analyze the project dependencies for known vulnerabilities and license risks.
In Copilot Chat, type:
@supply-chain-security-agent Analyze sample-app/package.json for dependency vulnerabilities and license risks
Review the findings. Common issues include:
Note which dependencies the agent flags and the recommended upgrade paths.

In Lab 01 you manually reviewed the sample app and identified intentional vulnerabilities. Now compare those manual findings against the agent results.
sample-app/src/ and sample-app/infra/ to refresh your memory).Create a comparison table:
| Issue | Found Manually (Lab 01) | Found by Agent (Lab 03) |
|---|---|---|
SQL injection in db.ts |
Yes / No | Yes / No |
XSS in ProductCard.tsx |
Yes / No | Yes / No |
Hardcoded secrets in auth.ts |
Yes / No | Yes / No |
Weak crypto in auth.ts |
Yes / No | Yes / No |
TLS misconfiguration in main.bicep |
Yes / No | Yes / No |
Consider these questions:

Before proceeding, verify:
Proceed to Lab 04 — Accessibility Scanning with Copilot Agents.