
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@boostercloud/rocket-fileuploader-aws-infrastructure
Advanced tools
Booster rocket to upload files in File Storage. A new event will be stored in the Events Store as a consequence.
This package is a configurable Booster rocket to add an Object Storage(S3 bucket) to your Booster Application. Every time a new object is uploaded, a new event will be persisted in the Events Store with data like the fileUri and file size.
Install this package as a dependency in your Booster project.
npm install @boostercloud/rocket-static-sites-aws-infrastructure
In your Booster config file, pass a RocketDescriptor array to the AWS' Provider initializer configuring the file uploader rocket:
import { Booster } from '@boostercloud/framework-core'
import { BoosterConfig } from '@boostercloud/framework-types'
import * as AWS from '@boostercloud/framework-provider-aws'
Booster.configure('development', (config: BoosterConfig): void => {
config.appName = 'test-app'
config.provider = Provider([{
packageName: '@boostercloud/rocket-fileuploader-aws-infrastructure',
parameters: {
bucketName: 'test-bucket-name', // Required
eventTypeName: 'FileAdded',
entityTypeName: 'File',
}
}])
})
FileAdded event type and File entity type can have different names but they should comply to the following structure:
import { Event } from '@boostercloud/framework-core'
import { UUID } from '@boostercloud/framework-types'
@Event
export class FileAdded {
public constructor(readonly fileURI: string, readonly filesize: number) {}
public entityID(): UUID {
return this.fileURI
}
}
import { Entity, Reduces } from '@boostercloud/framework-core'
import { FileAdded } from '../events/file-added'
import { UUID } from '@boostercloud/framework-types'
@Entity
export class File {
public constructor(public id: UUID, readonly filesize: number) {}
@Reduces(FileAdded)
public static reduceBigFileAdded(event: FileAdded, currentFile?: File): File {
return new File(event.fileURI, event.filesize)
}
}
FAQs
Booster rocket to upload files in File Storage. A new event will be stored in the Events Store as a consequence.
The npm package @boostercloud/rocket-fileuploader-aws-infrastructure receives a total of 1 weekly downloads. As such, @boostercloud/rocket-fileuploader-aws-infrastructure popularity was classified as not popular.
We found that @boostercloud/rocket-fileuploader-aws-infrastructure 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.