Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@acuris/eventstore-s3
Advanced tools
Very simplistic system to store events on S3
This stores events one-per-object
const eventSource = new S3EventSource({
s3: s3client, // optional
bucket: "s3-bucket-name",
prefix: "taxonomy/" // optional
})
This reads (only) events cached in a ZIP file
const eventSource = new S3PackedEventSource({
s3: s3client, // optional
bucket: "s3-bucket-name",
prefix: "taxonomy/events.zip" // optional
})
This event source should be closed to clean up temporary files after use.
This reads events cached in a sequence of ZIP files, and permits writing through a batch interface.
const eventSource = new S3PackSequenceEventSource({
s3: s3client, // optional
bucket: "s3-bucket-name",
prefix: "taxonomy/" // optional
})
await useBatchWriter(eventSource.batchWriter, async writer => {
await writer.writeEvent({category: "example", id: "12345"}, [{data: true}])
await writer.flush()
})
Running the tests requires that the default AWS credentials be able to write to a bucket called
"s3-eventstore-testing". This is set up for DevTeam-InfraLogic in inframationdev
.
FAQs
Eventstore implementation storing events in S3
We found that @acuris/eventstore-s3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.