
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
= SPF
The +spf+ Ruby gem, also known as +spf-ruby+, is an implementation of the Sender Policy Framework (SPF) e-mail sender authentication system. It is closely based on the Mail::SPF Perl library at http://search.cpan.org/~jmehnle/Mail-SPF-v2.005/, so most of Mail::SPF's documentation is applicable.
See http://www.openspf.org for more information about SPF.
Note: This gem is currently very early in its lifecycle. The API is not guaranteed to be stable.
== Usage
require 'spf'
spf_server = SPF::Server.new
request = SPF::Request.new( versions: [1, 2], # optional scope: 'mfrom', # or 'helo', 'pra' identity: 'fred@example.com', ip_address: '192.168.0.1', helo_identity: 'mta.example.com' # optional )
result = spf_server.process(request)
puts result
result_code = result.code # :pass, :fail, etc.
== Copyright
Copyright 2016 Agari Data, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Unknown package
We found that spf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.