image-extraction-debug
Debugs issues with AI-powered puzzle image extraction using Gemini/GPT vision API, ensuring accurate grid and domino extraction.
Install this skill
Security score
The image-extraction-debug skill was audited on Feb 12, 2026 and we found 9 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 58 | prompt = `${GRID_EXTRACTION_PROMPT} |
Template literal with variable interpolation in command context
| 96 | ? `${DOMINO_EXTRACTION_PROMPT}\n\nThere should be EXACTLY ${expectedCount} dominoes in the image.` |
Template literal with variable interpolation in command context
| 243 | throw new Error(`GPT-5.2 API error: ${response.status}`); |
Template literal with variable interpolation in command context
| 425 | console.error(`Cell count mismatch: got ${totalCells}, expected ${expectedCells}`); |
Template literal with variable interpolation in command context
| 430 | console.error(`Dimension mismatch: got ${grid.width}×${grid.height}, expected ${sizeHint.cols}×${sizeHint.rows}`); |
Template literal with variable interpolation in command context
| 435 | console.error(`Domino count mismatch: got ${dominoes.length}, expected ${sizeHint.dominoCount}`); |
Template literal with variable interpolation in command context
| 443 | console.warn(`Impossible sum: region size ${region.size} can't sum to ${region.constraint_value}`); |
Access to .env file
| 251 | const OPENROUTER_API_KEY = process.env.EXPO_PUBLIC_VIBECODE_OPENROUTER_API_KEY; |
Access to .env file
| 254 | Verify in `.env` file or Vibecode ENV tab. |