Open-source atomic malware analysis

Analyze another

lib/aws-sdk-s3/encryption/client.rb

UNKNOWN
Verdict: BENIGN
Mal-ecule
K(Li)H₂(CmDb)
Size 14.0 KB download
First seen 16 days ago
Analyzed 16 days ago
Ecosystem go

Referenced by 1 sample

client.rb ruby
1 require 'forwardable'
2
3 module Aws AWS SDK Ruby namespace marker
4 module S3
5
6 # Provides an encryption client that encrypts and decrypts data client-side,
7 # storing the encrypted data in Amazon S3.
8 #
9 # This client uses a process called "envelope encryption". Your private
10 # encryption keys and your
132:8 keys = KeyProvider.new('new-key', {
133 # "old-key" => Base64.decode64("kM5UVbhE/4rtMZJfsadYEdm2vaKFsmV2f5+URSeUCV4="), Decodes Base64 data with Ruby Base64
134 # "new-key" => Base64.decode64("w1WLio3agRWRTSJK/Ouh8NHoqRQ6fn5WbSXD
183:7 extend Forwardable
184 def_delegators :@client, :config, :delete_object, :head_object S3 delete_object operation
185
186 # Creates a new encryption client. You must provide one of the following
187 # options:
188 #
189 # * `:en
252:12 put_object(params = {})
253 req = @client.build_request(:put_object, params) S3 put_object operation
254 req.handlers.add(EncryptHandler, priority: 95)
255 req.context[:encryption] = {
256 cipher_pro
277:5 if params[:range]
278 raise NotImplementedError, '#get_object with :range not supported yet' S3 get_object operation
279 end
280 envelope_location, instruction_file_suffix = envelope_options(params)
281 req = @client.build_request(:get_object, params)
282 req.handlers.add(DecryptHandler)
283 req.context[:encryption] = {
284 cipher_provider: @cipher

Well-known

Micro-behaviors

Metadata

Identity

SHA-256 3532e79015911682ad86cb107c4dbcf2b8d6421d38d980ca97f9becf00c8436c
Filename lib/aws-sdk-s3/encryption/client.rb

Origin

Source x
Feed pkg.go.dev
Ecosystem go

Timeline

First seen 16 Aug 2026 05:39 UTC
First analyzed 16 Aug 2026 05:41 UTC
Last analyzed 16 Aug 2026 05:41 UTC
Last updated 16 Aug 2026 05:39 UTC

Labeling

Label unknown