Skip to content

Cool project but watch out for security risks #1

@RickRyan26

Description

@RickRyan26

This package compiles and executes user-provided Svelte code at runtime with no apparent sandboxing or security measures?

Users can:

  • Execute arbitrary JavaScript
  • Access browser APIs (localStorage, cookies, fetch, etc.)
  • Steal sensitive data from other users
  • Perform XSS attacks
  • Access and manipulate your application's state

The README should show:

  • Input sanitization
  • Code validation
  • Sandboxing mechanisms
  • CSP (Content Security Policy) considerations
  • Security best practices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions