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.
A native Ruby client wrapper for the vault Company of Heroes replay parser, integrated via a Rust native extension.
First, make sure you have a relatively recent version of the Rust toolchain installed (minimum supported Rust version for vault
is 1.66.0). You can install Rust easily using rustup.
Then you can add to Gemfile:
gem 'vault_coh'
And run bundle install
.
Currently vault
accepts a byte array and parses it as a Company of Heroes 3 replay file, returning a parsed object when successful or an error on failure:
require 'vault_coh'
bytes = File.read('/path/to/replay.rec').unpack('C*')
replay = VaultCoh::Replay.from_bytes(bytes)
puts replay.version
All information available from parsing can be found in the documentation.
Bug reports and pull requests are welcome on GitHub at https://github.com/ryantaylor/vault-rb.
If you need to make changes to the Rust code, you can compile the extension by running rake compile
or run tests with cargo test
.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that vault_coh demonstrated a healthy version release cadence and project activity because the last version was released less than 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.