CtrlK
BlogDocsLog inGet started
Tessl Logo

route-handlers

This skill should be used when the user asks to "create an API route", "add an endpoint", "build a REST API", "handle POST requests", "create route handlers", "stream responses", or needs guidance on Next.js API development in the App Router.

85

1.22x
Quality

80%

Does it follow best practices?

Impact

93%

1.22x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./.trae/skills/route-handlers/SKILL.md
SKILL.md
Quality
Evals
Security

Security

1 medium severity finding. This skill can be installed but you should review these findings before use.

Medium

W011: Third-party content exposure detected (indirect prompt injection risk)

What this means

The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.

Why it was flagged

Third-party content exposure detected (high risk: 0.90). The SKILL.md includes an "AI/LLM Streaming" POST route that explicitly reads a {prompt} / messages from request.json (user-supplied content) and forwards them to openai.chat.completions for streaming, so the skill ingests untrusted third-party/user-generated input and uses it to drive LLM/tool behavior, enabling indirect prompt injection.

Report incorrect finding
Repository
Lingjie-chen/MT5
Audited
Security analysis
Snyk

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.