
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.
generator-p4
Advanced tools
Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP
Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP
First, install Yeoman , Gulp and generator-p4 using npm (we assume you have pre-installed node.js, Composer and a PHP Server).
npm install -g yo
npm install gulp-cli -g
npm install -g generator-p4
Then generate your new project: navigate to your PHP server folder and create a projetc folder
mkdir project
cd project
yo p4
npm start
When building for production, the CSS and JS will be minified. To minify the assets in your /dist folder, run
npm run build
npm run package
Choose one of the following setups for local development:
MIT © José Willams
FAQs
Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP
The npm package generator-p4 receives a total of 7 weekly downloads. As such, generator-p4 popularity was classified as not popular.
We found that generator-p4 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
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.