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.
Sarin is a small Ruby command line tool to redefine the GPS-Positions of Sigma Log File (SLF). The GPS-Positions to match the recorded speed and distance in circle around the mean GPS-Position in the log.
This is useful if you have done an indoor training. In this case the speed and distance will be recorded correctly. But the GPS-Positions will be all on one place (or near on place). If you share the log to to Strava there will be shown wrong speeds and distance. Because Strava will recalculate these values from the GPS-Positions. Thus if you redefine the position with this tool you get a nice log on Strava
Original Log: 0.3km
Converted Log: 24km
To install just run this command in your terminal
$ gem install sarin
To redefine the GPS-Positions in a Sigma Log File simple run this command:
$ sarin my-log.slf
This will overwrite the GPS-Positions in your file. If you don't want to overwirte the file you can specify an output file name:
$ sarin -o new-pos.slf my-log.slf
You also can redefine the GPS-Positions in more than one file. Simple specify a list of files. The following command will redefine the GPS-Position of all slf-Files in the current directory.
$ sarin -o new-pos.slf \*.slf
If you don't want to share your real trainings position. You can also specify a custom location and a custom radius of the activity circle. The Position has to in the format latitude,longitude e.g.: 52.514538,13.350111
$ sarin -r 200 -p "52.514538, 13.350111" my-log.slf
The tool is also packed with some nice default locations. Try it out!
$ sarin -c Berlin my-log.slf
Bug reports and pull requests are welcome on GitHub at https://github.com/hesstobi/sarin.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that sarin 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.