Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
nanolisp
is a small, extensible lisp to embed in JavaScript applications.
npm install nanolisp
const lisp = require('nanolisp')();
lisp.run(`
(def foobar (add 1 2))
(echo foobar)
`);
To make this useful, you'll typically want to include libraries that are connected to your application context.
const nanolisp = require('nanolisp');
const appContext = {
health: 400
};
const library = {
takeDamage: (hit) => {
appContext.health -= hit;
},
life: () => appContext.health
};
const lisp = nanolisp(library);
const result = lisp.run(`
(echo life)
(takeDamage 100)
(echo life)
`);
This lisp is a fork from what was built for Ronin.
FAQs
Embeddable Lisp for JS projects
The npm package nanolisp receives a total of 5 weekly downloads. As such, nanolisp popularity was classified as not popular.
We found that nanolisp 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.