News for hackers. Stuff that matters.
Re:Why Is This Website Port Scanning Me? by klodolph on Wednesday May 20, 2020 @11:10AM (#23247782)
Why is ASM insane? Are you talking about WASM? That’s got the same security model as JavaScript.
Re:Why Is This Website Port Scanning Me? by neurostimulant on Wednesday May 20, 2020 @03:15PM (#23250616)
WASM is great peace of tech but I can't help to think it would be abused a lot in the future. For example, right now we can use ad blocker to block ads and analytics by blocking its js from loading. Imagine when wasm gains mainstream popularity and ad companies begin to ship their ads and analytics product as a libaries to be linked at compile time. How do we block something like that? Sure the adblocker can hide the relevant dom contents, but the code is still run and doing whatever it want on your browser.
Re:Why Is This Website Port Scanning Me? by klodolph on Wednesday May 20, 2020 @04:13PM (#23251223)
These kind of complaints are based on a misunderstanding of how JS works or how the browser works.

You can do the same exact thing in JS right now. In fact, if anything, JavaScript makes this way easier than WASM. With JS, you can just use something like Rollup or Webpack to put your analytics code in the same code.

Re:Why Is This Website Port Scanning Me? by neurostimulant on Wednesday May 20, 2020 @04:53PM (#23251666)
Yeah but using webpack is not how majority of websites deployed, so it's probably not worth the effort for ads companies to support it. They will consider this when webpack/wasm become mainstream enough (approaching 50% web), which may or may not happen. Probably won't happened but the thought always linger in my mind.
Re:Why Is This Website Port Scanning Me? by klodolph on Wednesday May 20, 2020 @10:07PM (#23254184)
WASM is way less popular than Webpack.

Almost every site with some kind of front-end framework like React will use a bundler of some kind.

Re:Why Is This Website Port Scanning Me? by engineeringwoke on Thursday May 21, 2020 @07:10AM (#23256997)
It's easy to first party ad code. I would guess that as a percentage of website usage Webpack, or at least code that uses custom bundling, is over 50%. JS knows all.
Re:Why Is This Website Port Scanning Me? by saagarjha on Wednesday May 20, 2020 @04:48PM (#23251606)
Turing strikes again…
Re:Why Is This Website Port Scanning Me? by saagarjha on Wednesday May 20, 2020 @04:47PM (#23251597)
A stronger one, actually, since it can't access a bunch of stuff.
Re:Why Is This Website Port Scanning Me? by garmaine on Wednesday May 20, 2020 @11:36AM (#23248141)
Which is where the trouble started.