3 ms·
It doesn't seem possible to implement that in a language agnostic way. How do you propose doing such a thing?
by klysm 4y ago
It doesn't seem possible to implement that in a language agnostic way. How do you propose doing such a thing?
- teraflop 4y agoLet's train a neural network to take source code in an arbitrary language as input, and produce a call graph as output. What could go wrong?
- tgv 4y agoAnd then clamp the output to generate vulnerabilities? Could be worth a shot.
- klysm 4y agoSide-note: how do you make a nn output a graph topology? I'm having a hard time imagining how to make a matrix represent that.
- haneefmubarak 4y agoGraph Neural Networks! https://distill.pub/2021/gnn-intro/ https://distill.pub/2021/gnn-intro/ In a nutshell, you perform NN operations on the nodes and edges of the graph and then send updates across the graph
- goodpoint 4y agoVery simple: implement language-specific static analysis backends and a general frontend and vuln management. Just like every Linux distribution does distributes packages and manages security in a language-agnostic way. Nothing new. Amazing how people here dismissed my point by downvoting and providing no reasoning.
- klysm 4y ago> language-specific static backends I guess it sounded like you meant a general solution that wasn’t language specific. I’m still not sure if there’s an abstraction you could use to make language aspects marked as vulnerable - the semantics between languages are just so varied. Anyway we need the language specific ones first.
- goodpoint 4y ago> Anyway we need the language specific ones first. No, we have language-agnostic vuln management since decades and a good tool could use a fall back to the traditional method when a language-specific backend is not available.
- klysm 4y agoI mean language agnostic vuln management that’s capable of marking a particular subset of functionality as vulnerable like this is.