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.
This gem is created to make transfering whole directories; scripts, photos, videos, any files that are up to 30 MB simple and easy.
Please don't forget to read the notes section.
As the name suggests, to transfer files is simple and easy with simple-transfer
.
The Transfer
module has two methods: Transfer::run_server
and Transfer::transfer
.
Transfer::run_server
This method will run a server on your local machine. Once you call it, the server will listen for connections.
The server is for receiving files only. So the machine that will receive files needs to call this method first.
Transfer::transfer
This method takes two arguments, first argument is the IPv4 of the target; second one is the name of the file, directory that will be sent.
It will try to connect to the target machine if not already connected and send the files that are specified.
The server:
require 'transfer'
include Transfer
Transfer.run_server
The client:
require 'transfer'
include Transfer
Transfer.transfer('192.168.1.25', 'foo.png')
Using simple-transfer
from the interactive ruby shell is terribly bad.
simple-transfer
uses tcp sockets and buffers data that are bigger than 65 KB. If you are receiving files only partially and encountering strange errors, try setting the $MAX_BUFFER_SIZE
constant to a lower value.
To make simple-transfer
work on the internetwork, port forwarding is required.
Relative paths are NOT supported in simple-transfer. Files need to be in the cwd to be transfered.
FAQs
Unknown package
We found that simple-transfer 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.