Playground

The Pinelight Playground lets you scan code instantly in your browser.

How to Use

  1. Navigate to the Playground
  2. Select a language from the dropdown
  3. Paste or type your code in the editor
  4. Click Analyze to scan for vulnerabilities
  5. View findings in the results panel

Example

// Vulnerable code const query = `SELECT * FROM users WHERE id = ${userId}`; db.query(query);

After analysis, you'll see:

  • SQL Injection finding with severity and line number
  • Suggestion for fixing the vulnerability
  • Links to relevant documentation

Features

  • Real-time Analysis: Instant feedback as you type
  • Multiple Languages: JavaScript, TypeScript, Python, Java, Go, Ruby, PHP, C#, Rust, Swift, Kotlin, Scala, R, Lua, Shell, SQL, HTML/CSS
  • Detailed Findings: Each finding includes severity, description, and fix suggestion
  • Copy Results: Export findings as JSON or Markdown

Limitations

  • Maximum file size: 1MB
  • Maximum lines per file: 10,000
  • Analysis time: ~5 seconds per file