« first day (3923 days earlier)      last day (949 days later) » 

12:16 PM
Is there a way to run (or rather, to check) JS code without running it in the browser, or without having to read it all? A safe way to run it. Scenario: you find a malicious page with JS on it, and you want to run it to see what it does, but in a safe way. The solution would probably be a kind of sandbox that tells you the result of the code, but does not produce any dangerous output (execution stops and ask permission before any redirections, no ajax requests, calls to browser APIs, etc.)
In general, the same thing would be useful for other languages too (PHP, Python, etc.). Also useful to see the result of obfuscated code, without having to do it by hand.
I'm pretty sure something like this already exist, but I don't know what it is. Like a framework where every potentially dangerous or "interesting" function has been replaced with something safe, that tells you what it is going to do before doing it
OTOH, I'm not sure if what I'm looking for is actually going to be useful, without also having to read all the code anyway to understand it and do some manual deobfuscation
 
12:35 PM
Note this is in addition to running the code in a VM for extra security, of course
 
1:08 PM
@MechMK1 Uhhh
SpaceX seems to have actuallly gotten a rocket to the ISS.... twice....
 
1:38 PM
unrelatedly...
security.stackexchange.com/questions/255136/… I wonder what's the threat profile where you're using a lighter and a hammer and nails for secure deletion... ._.
 
 
2 hours later…
4:02 PM
if everyone is establishing standards except tesla, aren't tesla just establishing the 'tesla standard' ?

I mean, look at Apple.

Right now, I believe there's at least 2 different electric car charging standards, and I don't doubt there'll be more soon
 
 
1 hour later…
5:26 PM
I've used node.js on a VM to do this before to run JS in a terminal.
Here's a fairly basic example... https://generalassemb.ly/blog/how-to-easily-run-javascript-in-terminal/
 
6:19 PM
@reed you can do a good deal of debugging with javascript by using Developer Tools on your browser, or VScode plus nodejs
 

« first day (3923 days earlier)      last day (949 days later) »