Skip to content

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

@georgiosApo

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!

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