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.
@alpha-lambda/aws-drivers
Advanced tools
Wrappers for AWS SDK services that make life easier (sometimes)
Wrappers for AWS SDK services that make life easier (sometimes).
Each driver has a constructor of the following form:
Additional config properties:
batchGet
itemsReturns the attributes of one or more items from one or more tables (parameters reference). Automatically retries when API call returns UnprocessedKeys
Deletes a single item in a table by primary key (parameters reference).
Returns a set of attributes for the item with the given key (parameters reference).
Creates a new item, or replaces an old item (parameters reference).
Finds items based on key values (parameters reference).
The same as query
but keeps calling DynamoDB until all items are returned (parameters reference). If callback is provided, it's called each time DynamoDB returns items.
Returns one or more items and item attributes by accessing every item in a table or a secondary index (parameters reference).
The same as scan
but keeps calling DynamoDB until all items are returned (parameters reference). If callback is provided, it's called each time DynamoDB returns items. To perform parallel scan, set concurrency
to a value greater than 1
.
Edits an existing item's attributes, or adds a new item to the table if it does not already exist (parameters reference).
Get a pre-signed URL for a given operation name.
Adds an object to a bucket.
Uploads an arbitrarily sized buffer, blob, or stream, using intelligent concurrent handling of parts if the payload is large enough. - bucket - { String } - name of the bucket - body - { Buffer | Typed Array | Blob | String | ReadableStream } - object data - [key] - { String } - object key [random UUID by default] - [options] - { Object } - upload operation options such as part and/or queue size - [params] - { Object } - any additional input parameters that S3.upload allows
Additional config properties:
Infinity
]Validates and parses input, where input can be SQS message or SQS event. Sample output:
[
{
"body": {
"foo": "foo",
"bar": "bar"
},
"messageAttributes": {
"baz": 12345
},
"messageId": 1234567890
}
]
Sends messages to the specified queue using batch API to reduce number of calls.
Formats and sends messages to the specified deadletter queue.
These message attributes are added to each message:
The MIT License (MIT)
Copyright (c) 2019-2023 Anton Bazhal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Wrappers for AWS SDK services that make life easier (sometimes)
We found that @alpha-lambda/aws-drivers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.