
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
A utility function for observing Konami code input in a web browser.
Installation:
npm install konamify
Or include the following script in your webpage:
<script src="https://unpkg.com/konamify/konamify.min.js"></script>
Or it may be easier to just add the required code to your project manually. Simply paste the following:
function konamify (cb) {
var k = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 13], i = 0;
window.addEventListener('keydown', function (e) {
i = (e.keyCode === k[i]) ? i + 1 : 0;
if (i === k.length) cb();
});
};
Example usage:
konamify(function () {
console.log('Konami code successfully entered!')
})
How to: In order to activate the konami code enter the following in a browser.
UP UP DOWN DOWN LEFT RIGHT LEFT RIGHT B A ENTER
FAQs
A utility function for observing Konami code input in a web browser.
We found that konamify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.