
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
github.com/psankar/build-go-program-on-mouseover
A simple overnight hack to demonstrate the speed of building go programs.
You have a list of simple go programs and a special go program named build-go-program-on-mouseover.go
If you build and execute the above special go program, it will display a list of filenames in the webpage loaded by the above server. On moving your mouse over a program name, the named program is loaded from the disk, built and then executed in a shell, its output is captured and the output is sent to the original webpage. The built binaries are not cleared so as to avoid any locking.
To demonstrate the real compiling speed of go, we should ideally be using a large project with plenty of transitive imports. This is merely a cool thing.
All the source files are licensed under Creative Commons Zero License 1.0 http://creativecommons.org/publicdomain/zero/1.0/
Though this project was started with an aim of demoing a cool thing in a gotalk, it can be further improved by loading the file list using the appropriate os and template packages. We can make this build any file that we want and not just go files. It will be a good beginner exercise.
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.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.