Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Protecting the Generator object in the browser #5

Open
jcalfee opened this issue Apr 27, 2017 · 0 comments
Open

Protecting the Generator object in the browser #5

jcalfee opened this issue Apr 27, 2017 · 0 comments

Comments

@jcalfee
Copy link

jcalfee commented Apr 27, 2017

Is it possible to disable this?

window.Generator = Generator;
https://github.com/keybase/more-entropy/blob/v0.0.4/lib/generator.js#L173

If an attacker gets though with cross-site scripting it is probably better if they can't access the generator object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant