
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
Read-Evaluate-Print-Loop environment for JavaScript.
npm i bare-repl
const { start } = require('bare-repl')
const repl = start()
const repl = start([options])Options include:
{
prompt: string, // sets repl prompt
useColors: boolean, // toogles ANSI style codes to colorize the output
writer: (message) => message, // converts repl output
input: stream, // sets repl input stream
output: stream, // sets repl output stream
eval: (cmd) => {} // sets eval function
}
repl.defineCommand(keyword, { help, action })Define a repl command keyword.
repl.defineCommand('greet', {
help: 'Greetings',
action: () => console.log('hello')
})
bare-repl
> .greet
hello
repl.contextSet execution context.
repl.context.f = () => console.log('Hello from context')
bare-repl
> f()
Hello from context
Apache-2.0
FAQs
Read-Evaluate-Print-Loop environment for JavaScript
We found that bare-repl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.