
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.
@westh/influx
Advanced tools
Insert data into InfluxDB.
This code is stupid and tiny. Upside of that is that it is simple. It's basically just a wrapper of InfluxDB's API.
If you need something more capable check out the official client.
npm install @westh/influx
const influx = require('@westh/influx')
influx.init({
url: 'https://eu-central-1-1.aws.cloud2.influxdata.com',
org: 'stupid-org',
bucket: 'stupid-bucket',
token: 'this-is-definitely-a-real-token-1337=='
})
try {
const exampleData = {
measurementName: 'test-name',
host: 'test-host',
data: {
testFieldOne: 1,
testFieldTwo: 1.234,
testFieldThree: 'could-also-be-a-string'
}
}
await influx.insert(exampleData)
} catch (error) {
console.error(error)
}
Before running yarn test
you have to run yarn build
, as the test script relies on the transpiled version.
MIT
FAQs
Very toit InfluxDB client that only supports inserts
We found that @westh/influx 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
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.