
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@moreapp/common-nodejs
Advanced tools
This project contains common code that can be used for our Node.js projects.
This project contains common code that can be used for our Node.js projects.
Run yarn prepare
once to install Git hooks, doing lints and prettier formatting
Most code can be used as is, except for tracing, see below.
Tracing code should always be loaded (import
/require
) first, before any other libraries. This is because the
OpenTelemetry instrumentations monkey patch libraries to add tracing. Patching has to happen first, because already
loaded libraries will be cached by the module system.
The recommended way to do this, is to create a file instrumentation.ts
with the following content (the extra
instrumentation is there as an example):
import { tracer } from "@moreapp/common-nodejs";
import { MongoDBInstrumentation } from "@opentelemetry/instrumentation-mongodb";
tracer("<SERVICE_NAME>", {
extraInstrumentations: [new MongoDBInstrumentation()],
});
And then use the --require
Node.js CLI option to load this file.
Follow the steps below to create a new release:
master
branch has the commits you want to releasemaster
branch with the Publish
workflowIf you want to test new code in other projects, then you can link this repository using Yarn
.
yarn link
in this repositoryyarn link @moreapp/common-nodejs
in the project you want to use this repository inFAQs
This project contains common code that can be used for our Node.js projects.
The npm package @moreapp/common-nodejs receives a total of 11 weekly downloads. As such, @moreapp/common-nodejs popularity was classified as not popular.
We found that @moreapp/common-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.