
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
NodeJS package for using CLIPS, a tool for building expert systems.
For more information about CLIPS checkout the official documentation.
##Install npm install node-clips
###Step 1: Create a CLIPS Environment
var clips = require('node-clips');
var env = new clips.Environment();
env.initialize( function {
// Load .clp file
env.load(__dirname+'/animal.clp', function () {
// Reset environment and run
env.reset(function(){
env.run(function() {
// Log fact list to console
console.log(env.facts());
// Dispose of the CLIPS environment and free memory
env.dispose(function(){
});
});
});
});
});
##Environment Methods
###load (filename, callback) Load the constructs from the specified file into the CLIPS environment.
###save (filename, callback) Save the constructs in the current environment to a file.
###bload (filename, callback) Load the constructs from the specified binary file into the CLIPS environment. This is considerably faster than a simple load due to the time saved on parsing the constructs.
###bsave (filename, callback) Save the constructs in the current environment to a binary file.
###eval (expression, callback)
Evaluate the expression as if it was entered into the CLIPS command line. The eval function cannot be used to define constructs. To define constructs use the build function.
###build (expression, callback) Evaluates the expression as if it was entered into the CLIPS command line. Can be used to define any CLIPS constructs .
###reset (callback) Reset the CLIPS environment.
###run (callback) Allows rules to execute.
###clear (callback)
Clears the current CLIPS environment of all constructs.
###assert (fact, callback)
Assert a fact into CLIPS.
###facts (callback)
Get a list of facts.
##License The MIT License
Copyright(c) 2013-2014, Playlyfe Technologies, developers@playlyfe.com, http://dev.playlyfe.com/
FAQs
NodeJS package for using CLIPS, a tool for building expert systems.
We found that node-clips 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.