top | item 47134546

(no title)

bpavuk | 5 days ago

this is actually an interesting idea to re-implement! imagine a JS runtime with hooks all over the place. these hooks look for `chmod`, `rm -r ~`/`rm -rf /` and such, intercept network requests, and scan variables for known API key patterns, e.g `sk_****`.

discuss

order

contrahax|5 days ago

This is called dynamic analysis!

bpavuk|5 days ago

I know, but I'm saying that this specific implementation of JS dynamic analysis would be interesting, especially given that there are crates such as `deno_core`