Skip to content

Freezing the global object #134

@shaysegev

Description

@shaysegev

I like the library and it solves some of my issues, though I've noticed there is a security issue with (understandably) setting the namespace object to the window by default.

AFAIK there's no way to currently make the object immutable, which exposes the apps using the library for data manipulation of the global object being modified.

Would that be worth adding a deep freeze functionality to prevent potential exploitation of the data being passed down to the document?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions