TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Backdooring JavaScript using minifier bugs

211 点作者 joshsharp超过 9 年前

5 条评论

yoz-y超过 9 年前
I wonder. Should one ever use minified javascript code on a server? Assuming that you are using it on your own server and not distributing the code to clients.<p>Is there any benefit to it?
评论 #10108672 未加载
评论 #10108536 未加载
评论 #10111536 未加载
评论 #10110709 未加载
jand超过 9 年前
Nice to read text on a clever find.<p>Could somebody please confirm or invalidate my understanding, that this backdoor is just exploitable in addition with other (severe) issues?<p>An attacker would have to have the ability to tailor&#x2F;manipulate JS scripts which should be under control of the victim?<p>Or am i mistaken?
评论 #10108612 未加载
NullCharacter超过 9 年前
Really slick. To translate the idea behind compiler backdoors to JS minifier backdoors is pretty clever.
hspak超过 9 年前
Applying DeMorgan&#x27;s Law to reduce a few characters in JS seems really overkill...<p>Reading this makes it seem hardly worth saving a few bytes over.
samuellb超过 9 年前
This makes me think that there could be similar bugs in the browser, when it JIT-compiles or optimizes Javascript code. That could be used to take control of the whole browser&#x2F;OS if used in an add-on&#x2F;extension (given that it has sufficient privileges).
评论 #10109363 未加载
评论 #10111360 未加载