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.

Bypassing AngularJS Sandbox and winning a $5,000 Google bug bounty

5 pointsby 2510c39011c5over 10 years ago

1 comment

Nitrampover 10 years ago
That&#x27;s a nice exploit. It&#x27;s worth noting that this is only breaching Angular&#x27;s defense in depth though: input values should never make it to things evaluated against $scope; that&#x27;s roughly equivalent of calling eval() on user input.<p>AngularJS tries to protect developers against the worst, but it&#x27;s the second layer of a defense in depth - this should never happen in the first place in a well written app.