
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.
github.com/avatar29a/hlc
Hybrid Logical Clock
Original Paper: Logical Physical Clocksand Consistent Snapshots in Globally Distributed Databases
Logical Clock is an important family of algorithms for ordering events into distributed system.
HLC presents enhanced Logic Clock's Lamport, which eliminates the gap between practical and theory of synchronised time.
lc := hlc.New(&NTPClock{})
ts := lc.Now() // 1605806872706744321
Notes: Timestamp compatible with NTP-format. First 48bit presents physical time and other 16bit logical time (see chapter "6.2 Compact Timestamping using l and c" of paper).
receivedHlc := hlc.FromTimestamp(receivedTC)
_ = lc.Update(receivedHlc) // skip a new timestamp
FAQs
Unknown package
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.