
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@mlabs-haskell/csl-gc-wrapper
Advanced tools
A small library that provides a wrapper for managing garbage collection for cardano-serialization-library, used in https://github.com/mlabs-haskell/cardano-serialization-lib-gc
This is a small library that provides a wrapper for managing garbage collection for cardano-serialization-library. It does this by using a FinalizationRegistry object to keep track of objects that are no longer in use, and calling the free()
method on them when they are finalized.
Example usage:
const csl = require("@emurgo/cardano-serialization-lib-browser");
const wrappedCsl = require('@mlabs-haskell/csl-gc-wrapper')(csl)
function fixture() {
const arr = new Uint8Array(Array(10000000).fill(0));
const pd = lib.PlutusData.new_bytes(arr);
}
setInterval(() => {
for (let i = 0; i < 10; i++) {
fixture()
}
}, 500) // gc will trigger proxies and underlying pointers
FAQs
A small library that provides a wrapper for managing garbage collection for cardano-serialization-library, used in https://github.com/mlabs-haskell/cardano-serialization-lib-gc
We found that @mlabs-haskell/csl-gc-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.