Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
construct a pull-stream for reading from a writable source, can read old records, new (live) records, or both.
construct a pull-stream for reading from a writable source, can read old records, new (live) records, or both.
to be used by pull-level,
multiblobs, and
secure-scuttlebutt.
pull-live
is generic, and easy to adapt to a new case.
createLive takes two functions, createSource
(which returns a source
stream of the stored data) and createLive
which returns a stream
of the live data. A function that takes opts
and is returned.
if opts.live
is set to true, the stream will only read the old data
(from createSource
) and then the new data (from createLive
) with
one item {sync: true}
to mark when the old data has finished.
If opts.sync === false
then the sync item will dropped.
if opts.live
is true (default: false
) the live data is included.
if opts.old
is false (default: true
) the output will not include
the old data. If live
and old
are both false, an error is thrown.
the only valid options are {live: true, old: false}
{live: false, old: true}
and {live: true, old: true}
I recomment using pull-notify
to implement createLive
.
var MyLiveStream = createLive(createSource, createLive)
pull(MyLiveStrea({live:..., old:...}),...)
MIT
FAQs
construct a pull-stream for reading from a writable source, can read old records, new (live) records, or both.
The npm package pull-live receives a total of 33,722 weekly downloads. As such, pull-live popularity was classified as popular.
We found that pull-live 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.