Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
mws-merchant_fulfillment
Advanced tools
MWS Merchant Fulfillment is a Ruby interface to the Amazon Marketplace Web Service (MWS) Merchant Fulfillment API. With the MWS Merchant Fulfillment API, you can build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
(To use Amazon MWS, you must have an Amazon MWS developer account.)
Create a client:
require "mws-merchant_fulfillment"
client = MWS.merchant_fulfillment(marketplace: "ATVPDKIKX0DER", merchant_id: "123")
Set up credentials when instantiating or with environment variables.
List orders created or updated during a time frame you specify:
response = client.get_eligible_shipping_services(
amazon_order_id: amazon_order_id,
item_list: items,
ship_from_address: shipping_from,
package_dimensions: package_dimensions,
weight: weight,
shipping_service_options: {
delivery_experience: 'DeliveryConfirmationWithoutSignature',
carrier_will_pick_up: false,
},
)
shipping_services = response.parse
puts shipping_services.rates.count # => 1
puts shipping_services.rates.first.amount # => #<Money fractional:2 currency:USD>
Check the operational status of the API:
client.get_service_status.parse
FAQs
Unknown package
We found that mws-merchant_fulfillment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.