Skip to content

Potential security issue with using variables on the window object #28

Description

@georgiosApo

There might be issues with specifying variables on the window object.

A hypothetical scenario:

Auth should be required/not required in specific environments.

Consider an env-variable requiresAuth: boolean.

If specified in runtime on the window object, a user could easily manipulate this one from the client.

Or am I missing something?

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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