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.
Ruby spike gem, to show interactions with the Pact Rust FFI methods.
Available on RubyGems - https://rubygems.org/gems/pact-ffi
Add this line to your application's Gemfile:
gem 'pact-ffi'
And then execute:
bundle
Or install it yourself as:
gem install pact-ffi
Simple
require 'pact/ffi'
puts PactFfi.pactffi_version
lib/pact/ffi.rb
for all available methodsspec
folder to see the tests, with the library in useexamples/area_calculator
folder for an example using a pact-plugin, to test the canonical area_calculator exampleOS | Ruby | Architecture | Supported | Ruby Platform |
---|---|---|---|---|
OSX | 2.6 - 3.3 | x86_64 | β | x86_64-darwin |
OSX | 2.6 - 3.3 | aarch64 (arm) | β | arm64-darwin |
Linux | 2.6 - 3.3 | x86_64 | β | x86_64-linux |
Linux | 2.6 - 3.3 | aarch64 (arm) | β | aarch64-linux |
Linux (musl) | 2.6 - 3.3 | x86_64 | β | x86_64-linux-musl |
Linux (musl) | 2.6 - 3.3 | aarch64 (arm) | β | aarch64-linux-musl |
Windows | 2.6 - 3.3 | x86_64 | β | x64-mingw-ucrt |
You can checkout the ci tests, to see all the architectures, platforms and examples tested
note - Alpine is currently not supported, but is on the list
FFI libraries for your current platform - run ./script/download-libs.sh
to download
If testing the protobuf plugin
3.0
for protobuf/grpc example
examples/proto-ruby/README.md
for notespact-protobuf-plugin
examplepact-plugin-cli -y install https://github.com/pactflow/pact-protobuf-plugin/releases/latest
bin/setup
or bundle install
to install dependencies./script/download-libs.sh
to download FFI libraries for your current platformrake spec
to run testsBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pact-ffi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the PactFfi projectβs codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Help us implement the Pact Compatibility Suite
compatibility-suite/pact-compatibility-suite/features
βββ V1
β βββ http_consumer.feature
β βββ http_provider.feature
βββ V2
β βββ http_consumer.feature
β βββ http_provider.feature
βββ V3
β βββ generators.feature
β βββ http_consumer.feature
β βββ http_generators.feature
β βββ http_matching.feature
β βββ http_provider.feature
β βββ matching_rules.feature
β βββ message_consumer.feature
β βββ message_provider.feature
βββ V4
β βββ generators.feature
β βββ http_consumer.feature β
β βββ http_provider.feature
β βββ matching_rules.feature
β βββ message_consumer.feature β
β βββ message_provider.feature β
β βββ synchronous_message_consumer.feature β
β βββ v4.feature β
FAQs
Unknown package
We found that pact-ffi 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.