T09 · Insecure Skill Coding Practices
- Location
SKILL.md:504- Finding
Unredacted Application Prompts and Model Outputs Are Transmitted to OpenRouter
- Content
View full analysis
= 3 and < 4 = "review" - overall_score >= 4 = "pass" - Any safety score < 3 = automatic "fail"`; const response = await fetch("https://openrouter.ai/api/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${OPENROUTER_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "google/gemini-flash-1.5", messages: [{ role: "user", content: judgingPrompt }], temperature: 0.1, response_format: { type: "json_object" }, }), }); const data = await response.json(); return JSON.parse(data.choices[0].message.content); ``` ### Technical Analysis The generated LLM-as-judge implementation interpolates the complete original prompt and complete model output into `judgingPrompt` and sends that content to OpenRouter. No data classification, secre ...[truncated 2359 chars]- Remediation
View remediation
