
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A production-ready Ruby SDK for integrating with Tyler Technologies Electronic Filing Manager (EFM) services. This gem simplifies authentication and SOAP service calls for Electronic Court Filing (ECF) systems.
Add this line to your application's Gemfile:
gem 'tyler_efm_client'
And then execute:
bundle install
Or install it directly:
gem install tyler_efm_client
require 'tyler_efm_client'
# Initialize client
client = TylerEfmClient::Client.new
# Authenticate
auth_result = client.authenticate(
base_url: "https://your-tyler-server.com/EFM/EFMUserService.svc",
pfx_file: "path/to/certificate.pfx",
pfx_password: "certificate_password",
user_email: "your-email@example.com",
user_password: "your_password"
)
if auth_result.success?
puts "Password Hash: #{auth_result.password_hash}"
puts "User: #{auth_result.first_name} #{auth_result.last_name}"
else
puts "Error: #{auth_result.error_message}"
end
# Call GetCaseList operation
soap_body = <<~SOAP
<wrappers:GetCaseListRequest xmlns:wrappers="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/wrappers">
<!-- Your SOAP body content -->
</wrappers:GetCaseListRequest>
SOAP
response = client.call_service(
base_url: "https://your-tyler-server.com/efm/v5/CourtRecordService.svc",
password_hash: auth_result.password_hash,
operation: "GetCaseList",
soap_body: soap_body,
user_email: "your-email@example.com",
return_json: true # Get JSON response instead of XML
)
if response.success?
puts "Service call successful!"
if response.json_data
# Work with JSON data
pp response.json_data
else
# Work with raw XML
puts response.raw_xml
end
end
The main client class for Tyler EFM operations.
Authenticate with Tyler EFM User Service.
Parameters:
base_url
(String): Base URL for the EFM User Servicepfx_file
(String): Path to the PFX certificate filepfx_password
(String): Password for the PFX certificateuser_email
(String): User's email addressuser_password
(String): User's passwordReturns: TylerEfmClient::AuthenticationResult
object with:
success?
(Boolean): Whether authentication succeededpassword_hash
(String): Password hash for subsequent service callsuser_id
(String): User's unique identifierfirst_name
(String): User's first namelast_name
(String): User's last nameemail
(String): User's emailexpiration_date
(String): Token expiration dateerror_code
(String): Error code if authentication failederror_message
(String): Error message if authentication failedCall any Tyler EFM SOAP service operation.
Parameters:
base_url
(String): Base URL for the EFM servicepassword_hash
(String): Password hash from authenticationoperation
(String): Name of the SOAP operationsoap_body
(String): SOAP body content as XML stringuser_email
(String, optional): User's email (required for Court Record Service)pfx_file
(String, optional): Path to PFX certificate if not from authenticationpfx_password
(String, optional): PFX password if not from authenticationreturn_json
(Boolean, optional): Return JSON instead of XML (default: false)soap_action
(String, optional): Custom SOAP action headerReturns: TylerEfmClient::ServiceResponse
object with:
success?
(Boolean): Whether the service call succeededstatus_code
(Integer): HTTP status coderaw_xml
(String): Raw XML responsejson_data
(Hash, optional): JSON representation of response if requestederror_message
(String, optional): Error message if call failedThis SDK implements Tyler's exact ECF 5.0 requirements:
The examples/
directory contains complete working examples:
authentication_example.rb
- Basic authenticationgetcaselist_example.rb
- GetCaseList operationcomplete_workflow_example.rb
- Full workflow with multiple operationsRun examples:
cd examples
ruby authentication_example.rb
ruby getcaselist_example.rb
ruby complete_workflow_example.rb
The SDK provides specific exception types:
begin
auth_result = client.authenticate(...)
rescue TylerEfmClient::AuthenticationError => e
puts "Authentication failed: #{e.message}"
rescue TylerEfmClient::CertificateError => e
puts "Certificate error: #{e.message}"
rescue TylerEfmClient::ServiceError => e
puts "Service error: #{e.message}"
rescue TylerEfmClient::Error => e
puts "EFM client error: #{e.message}"
end
The SDK is built from working Tyler ECF integration code and tested against:
Run tests:
bundle exec rake spec
Run linting:
bundle exec rake rubocop
After checking out the repo, run:
bin/setup
To install dependencies. Then, run:
rake spec
To run the tests. You can also run:
bin/console
For an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run:
bundle exec rake install
This gem uses automated version management through GitHub Actions. The system automatically handles version conflicts and increments alpha releases.
Alpha/Development Releases (Most Common):
Production Releases:
# Create a version tag and GitHub release
git tag v1.0.0
git push origin v1.0.0
# Then create GitHub Release using the tag
Manual Version Override:
1.0.0.pre.alpha.10
or 1.1.0.pre.beta.1
๐ See VERSIONING.md for complete versioning guide
Bug reports and pull requests are welcome on GitHub at https://github.com/tyler-technologies/cj-esol-efm-client-ruby.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)This gem is available as open source under the terms of the MIT License.
Tyler Technologies is a leading provider of integrated software and technology services to the public sector. Learn more at tylertech.com.
Built with โค๏ธ for the Tyler ECF community
FAQs
Unknown package
We found that tyler_efm_client 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.