
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.
@hoast/base-package
Advanced tools
Provides basic functionality like receiving the library's reference and setting up a logger. Meant for developers to be used as a base for a hoast source or process package.
npm install @hoast/base-package
constructor Create package instance.
@param {Object} ...Options Options objects which can contain the following key.
{Number} logLevel = 2 Log level given to the logger.getOptions Get merged options.
@returns {Object} options.getLibrary Get the hoast instance that the module is part of.
@returns {Hoast} hoast instance.setLibrary Set library reference. This will be called by hoast itself before the next function is called.
@params {Hoast} library hoast instance.getLogger Get the logger instance.
@returns {Logger} logger instance.// Import base modules.
import BasePackage from '@hoast/base-package'
class NewPackage extends BasePackage {
constructor(options) {
super({
// Default options.
}, options)
}
}
export default NewPackage
See the @hoast/process-log package for another example.
FAQs
Base package for other packages.
We found that @hoast/base-package 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.