auth0-express
The skill facilitates cross-site scripting through unsanitized input, exposes sensitive environment variables, and performs unauthorized network operations without declaring necessary tool permissions or security constraints.
Skill Info
Install
npx skills add https://github.com/auth0/agent-skillsAssessments (4)
AI Agent Traps ↗User input from an Express request is sent in the HTTP response without proper encoding. This could allow an attacker to inject malicious scripts (Cross-Site Scripting). Use a template engine with auto-escaping or explicitly escape user input before sending it in the response. (seen 3 times in this file at lines 3, 19, 27)
taint source (line 2): app.get('/', (req, res) => {
res.send(req.oidc.isAuthenticated() ? 'Logged in' : 'Logged out');
}) → sink: res.send(req.oidc.isAuthenticated() ? 'Logged in' : 'Logged out')The provided code examples in the documentation directly inject user-provided profile data (req.oidc.user.name/email) into HTML responses without sanitization, encouraging developers to implement insecure patterns. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
res.send(`<h1>Profile</h1><p>Name: ${req.oidc.user.name}</p>...`);Access to sensitive environment variables detected (seen 2 times in this file at lines 78, 120)
process.env.SECRET
Outbound network request primitive in skill code — can transmit data externally
fetch('https://your-api.com/data', {
headers: { Authorization: `Bearer ${access_token}` }
})SKILL.md links to "references/api.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[API Reference](references/api.md)
SKILL.md links to "references/integration.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[Integration Guide](references/integration.md)
SKILL.md links to "references/setup.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[Setup Guide](references/setup.md)
Version History (2)
Badge
[](https://mondoo.com/ai-agent-security/skills/github/auth0/agent-skills/auth0-express)<a href="https://mondoo.com/ai-agent-security/skills/github/auth0/agent-skills/auth0-express"><img src="https://mondoo.com/ai-agent-security/api/badge/github/auth0/agent-skills/auth0-express.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/auth0/agent-skills/auth0-express.svgSecure your AI agents
Skills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet, discover and control Shadow AI usage.
- Continuous scanning of skills across all registries
- Policy enforcement before skills reach your agents
- Integration with your existing security workflow