Skip to content

Commit

Permalink
fix tip
Browse files Browse the repository at this point in the history
  • Loading branch information
loverajoel committed Feb 11, 2016
1 parent 438e2f4 commit f672ebb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post

title: Preventing Unapply Attacks
tip-number: xx
tip-number: 42
tip-username: emars
tip-username-profile: https://twitter.com/marseltov
tip-tldr: Freeze the builtin prototypes.
Expand All @@ -13,7 +13,7 @@ categories:

By overriding the builtin prototypes, attackers can rewrite code to expose and change bound arguments. This can be a serious security hole that works by exploting a polyfill es5 methods.

```
```js
// example bind polyfill
function bind(fn) {
var prev = Array.prototype.slice.call(arguments, 1);
Expand Down

0 comments on commit f672ebb

Please sign in to comment.