
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
surfacecurve_module
Advanced tools
A module intended to provide simple, standardized defaults for building, testing, benchmarking, and publishing a surfacecurve module.
In the source package, install surfacecurve_module as a dependency:
npm install --save surfacecurve_module
Then create a shortcut script to enable convenient default behaviors. Create the following as a file named scm in the root directory of the package:
In the file scm:
require("surfacecurve_module").main();
This node allows the following commands to be run in the source package by providing reasonable defaults:
node scm build
node scm test
node scm publish
Assumes the package is intended for distribution both as a command-line and browser-based package. Uses browserify and uglify-js to create a browser-compatible file in the dist package.
Assumes a suite of mocha tests is used in the source package. Will run a set of standard tests on the package structure, then will execute mocha on source package's test subdirectory.
Automates the node scm build, node scm test, git commit, git tag, npm publish, and version number bump of the source package.
FAQs
Common code and commands for standardizing surfacecurve modules
We found that surfacecurve_module 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.