Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/bradleyjkemp/memmap
How would you rather debug a data structure?
"Pretty" printed | Visual graph |
(*test.fib)(0xc04204a5a0)({ index: (int) 5, prev: (*test.fib)(0xc04204a580)({ index: (int) 4, prev: (*test.fib)(0xc04204a560)({ index: (int) 3, prev: (*test.fib)(0xc04204a540)({ index: (int) 2, prev: (*test.fib)(0xc04204a520)({ index: (int) 1, prev: (*test.fib)(0xc04204a500)({ index: (int) 0, prev: (*test.fib)(), prevprev: (*test.fib)() }), prevprev: (*test.fib)() }), prevprev: (*test.fib)(0xc04204a500)({ index: (int) 0, prev: (*test.fib)(), prevprev: (*test.fib)() }) }), . . . |
memviz
takes a pointer to an arbitrary data structure and generates an easy to understand graph.
Simply pass in your data structure like so: memviz.Map(out, &data)
and then pipe the output into graphviz.
For more complete examples see the tests in memviz_test.go.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.