Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
objective_active_merchant_first_data
Advanced tools
$ gem install active_merchant_first_data
require "active_merchant_first_data"
@gateway = ActiveMerchant::Billing::FirstData::Gateway.new(
:pem => "1234567_keystore.pem"
:pem_password => "5x64jq8n234c"
)
Generate a new certificate
$ openssl req -newkey rsa:2048 -keyout spec/certs/1234567_key.pem -out spec/certs/1234567_req.pem -subj "/C=lv/O=example.com/CN=1234567" -outform PEM
Enter PEM pass phrase: 81f174259v45
Copy the 3 files you received in e-mail to spec/certs/
:
1234567.pem
1234567_certificate_chain.p7.pem
ECOMM.pem
Convert the certificates and keys to 1234567_keystore.pem
$ openssl pkcs12 -export -in spec/certs/1234567.pem -out spec/certs/1234567_keystore.p12 -certfile spec/certs/ECOMM.pem -inkey spec/certs/1234567_key.pem
Enter pass phrase for 1234567_key.pem: 81f174259v45
Enter Export Password: <empty>
$ openssl pkcs12 -in spec/certs/1234567_keystore.p12 > spec/certs/1234567_keystore.pem
Enter Import Password: <empty>
Enter PEM pass phrase: 5x64jq8n234c
FAQs
Unknown package
We found that objective_active_merchant_first_data 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.