TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Prototype Pollution (2020)

31 pointsby valandabout 4 years ago

2 comments

rectangabout 4 years ago
I remember &quot;prototype pollution&quot; as the annoying result of monkeypatching a la prototype.js way back when. But this article presents prototype pollution as a security issue.<p>If an attacker can perform &quot;prototype pollution&quot;, aren&#x27;t they already injecting arbitrary JavaScript into the page? If they already have script injection, why would they choose &quot;prototype pollution&quot; over anything else they could do with arbitrary code?
评论 #26885682 未加载
评论 #26885686 未加载
评论 #26886774 未加载
评论 #26885882 未加载
评论 #26890344 未加载
评论 #26886185 未加载
评论 #26888404 未加载
andreareinaabout 4 years ago
How is this different from monkeypatching in e.g. Python, Ruby?
评论 #26885890 未加载