
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.
Promise shim and functionality extender
This library allows to use promises in older browsers as well as add extra functionality to promises that allows promise functionality in the kaleo library set
This libray can be installed using:
The script can be loaded both in the head and in the body. All functionality is automatically loaded as soon as the file is loaded. Note: include this script before any other scripts for proper implementation
<script src="/(node_modules|bower_modules)/peprze/peprze.min.js"></script>
To start using it is as simple as instancing a new promise in the same way as native promises
var test = new Promise(function(resolve, reject){
/* Do async here */
})
Using Xhr to fetch files using promises
function fetchfile(url) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
return new Promise(function(resolve, reject){
xhr.onreadystatechange = function() {
if(xhr.readyState === 4) {
if(xhr.status === 200) {
resolve(xhr.responseText);
}
else {
reject(new Error(xhr.status));
}
}
}
xhr.send();
});
}
If You would like to contribute here are the steps
npm run buildnpm testYou can view the license here: License
FAQs
A simple Promise shim and functionality extension
We found that peprze 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.