CA
Capgemini AI

Principal Multimodal Vision RAG & Edge AI Architect • ₹22 LPA – ₹50 LPA

Multimodal Web & Edge AIWith-AI Coding Allowed

Codebase 1: Full-Stack Web + AI SaaS Audit

Audit a live AI Storefront (HTML/CSS/JS frontend + Node HTTP backend). Catch hardcoded secrets & /api/debug-env leaks, reflected XSS, SSRF preview risk, robots.txt/noindex SEO blocks, CLS shifts, N+1 loops, and uncached AI endpoints.

System Design Perspective

Web + AI Storefront & Edge Performance

Before You Start (Capgemini AI)

Open Codebase 1 in Chrome DevTools (`localhost:3100`) to diagnose Core Web Vitals CLS shifts, low WCAG contrast, and GEO/crawler issues.

Download & Run LocallyDownload .zip
Runtime: Node.js 18+ (Zero npm install required)
unzip buggy-ai-storefront.zip
cd buggy-ai-storefront
node server.js
# Then open http://localhost:3100 in Chrome/Edge and audit UI + server!
const CONFIG = {
  openaiApiKey: process.env.OPENAI_API_KEY || 'sk-live-HARDCODED-SECRET-987654',
  dbUrl: process.env.DATABASE_URL || 'postgres://admin:SuperSecretPass123@10.0.4.12:5432/store_prod',
};

if (pathname === '/api/debug-env') {
  res.end(JSON.stringify({ status: 'debug', env: CONFIG })); // LEAK!
}

if (pathname === '/api/preview') {
  const targetUrl = parsed.query.url || ''; // Unvalidated SSRF risk!
}

if (pathname === '/api/ai-summary') {
  uncachedAiRequestLog.push({ ts: Date.now(), prompt }); // Memory leak + zero rate limit/cache!
}