
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.
flumelog-aligned-offset
Advanced tools
a new flumelog format. like [flumelog-offset](https://github.com/flumedb/flumelog-offset), each record is identified by an integer byte offset, and also, each record is delimited by it's length. But unlike `flumelog-offset` records within blocks are alway
a new flumelog format.
like flumelog-offset,
each record is identified by an integer byte offset, and also,
each record is delimited by it's length.
But unlike flumelog-offset
records within blocks are always
aligned to the start of the block, so there is no overlap,
and this makes it easy to know wether you have the block for a record
or not.
<block
<record
<record.length: UInt16LE>
<record.data>
<record.length: UInt16LE>
</record>*
<footer
<end sentinel 0xffff>
<filler: zeros...>
<pointer.footer: UInt32LE>
>//end of block.
>
to find the start of the record, take the offset, read 2 bytes (little endian)
then record.data
from offset + 2
, to offset + 2 + length
.
the first record in a block starts at the first byte in the block.
The last record in the block is followed by padding. The block's last 4 bytes contains a 4 byte (little endian) pointer to the start of the padding, two bytes before that is the length of the record. Records and padding can always be written append only, without overwriting previous records.
Please note that the default value for adding data is sync = true unless specified. Which is how it works if combined with flumedb.
MIT
FAQs
a new flumelog format. like [flumelog-offset](https://github.com/flumedb/flumelog-offset), each record is identified by an integer byte offset, and also, each record is delimited by it's length. But unlike `flumelog-offset` records within blocks are alway
The npm package flumelog-aligned-offset receives a total of 17 weekly downloads. As such, flumelog-aligned-offset popularity was classified as not popular.
We found that flumelog-aligned-offset demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.