
Research
/Security News
npm Package Uses Prompt Injection and Token Flooding to Disrupt AI Malware Scanners
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.
@nodeblocks/frontend-breadcrumb-block
Advanced tools
Welcome to the Nodeblocks Frontend Starter Kit! 🎉 This kit is designed to make building frontend libraries in React super easy, helping you streamline your development workflow with minimal fuss. Let's dive in! 🤿
Welcome to the Nodeblocks Frontend Starter Kit! 🎉 This kit is designed to make building frontend libraries in React super easy, helping you streamline your development workflow with minimal fuss. Let's dive in! 🤿
tsconfig.json to ensure your TypeScript setup is strict, efficient, and ready to go.Clone this repository 🌀:
git clone <repository-url>
cd <repository-directory>
Install dependencies 📦:
npm install
Start development 🛠️:
npm run watch
Build for production 🏗️:
npm run build
The test folder contains examples that demonstrate how to use the libraries you create with this starter kit. These examples show compatibility with various bundlers, such as:
This ensures Nodeblocks libraries integrate seamlessly with different workflows. 🛠️✨
Before running each project make sure you run npm link:
In the root of this project:
npm link
In the test project you want to run:
npm i
npm link @basaldev/frontend-starter-kit
(Note that in real life your library would not be called frontend-starter-kit.)
Then you can follow your usual workflow either with Create React App (npm start) or with Vite (npm run dev). This will give you a development environment where whenever you change your library it will be available in your test project.
FAQs
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
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.

Product
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.