
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
TODO: Add klp-dsv teaser
:horse:klp-dsv
is a delimiter-separated values plugin for klp
(Kelpie), the small, fast, and magical command-line data processor.
See the klp
github repository for more details!
:ok_hand:
klp-dsv
comes preinstalled inklp
. No installation necessary. If you still want to install it, proceed as described below.
klp-dsv
is installed in ~/.klp/
as follows:
npm install klp-dsv
The plugin is included in ~/.klp/index.js
as follows:
const dsv = require('klp-dsv')
module.exports = {
plugins: [dsv],
context: {},
defaults: {}
}
For a much more detailed description, see the .klp
module documentation.
This plugin comes with the following klp
extensions:
Description | |
---|---|
dsv deserializer | Deserializes delimiter-separated values files. The delimiter, quote, and escape characters, as well as several other options make it very flexible. |
csv deserializer | Deserializes comma-separated values files. Follows RFC4180 for the most part. Uses dsv internally and accepts the same options. |
tsv deserializer | Deserializes tab-separated values files. Useful for processing tabular database and spreadsheet data. Uses dsv internally and accepts the same options. |
ssv deserializer | Deserializes space-separated values files. Useful for processing command line output from ls , ps , and the like. Uses dsv internally and accepts the same options. |
csv serializer | Serializes JSON into CSV format. |
This plugin has the following limitations:
tsv
deserializer is implemented in terms of the dsv
deserializer and thus supports quotes and escaping tabs.
Other implementations of tsv
deserializers do not allow tabs in values and thus have no need of quotes and escapes.
This means, the current tsv
implementation works just fine, but an implementation without quotes should be faster.
Such an implementation may come at some point in the future.csv
deserializer does not support multi-line values, aka values with line breaks inside quotes.
Actually, no klp
deserializer could support this feature on its own,
since it is the chunkers' responsibility to chunk data.
Currently there is no dedicated chunker that supports chunking multi-line csv files, but there may be in the future.Please report issues in the tracker!
klp-dsv
is MIT licensed.
FAQs
TODO: Add klp-dsv teaser
The npm package klp-dsv receives a total of 0 weekly downloads. As such, klp-dsv popularity was classified as not popular.
We found that klp-dsv 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.