Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
logstash-mixin-ca_trusted_fingerprint_support
Advanced tools
This gem provides tooling for adding a ca_trusted_fingerprint
option to Logstash Plugins that maps to an Apache SSL TrustStrategy
for use by Manticore or Apache HTTP client.
Add version ~>1.0
of this gem as a runtime dependency of your Logstash plugin's gemspec
:
Gem::Specification.new do |s|
# ...
s.add_runtime_dependency 'logstash-mixin-ca_trusted_fingerprint_support', '~>1.0'
end
In your plugin code, require this library and include it into your plugin class
that already inherits LogStash::Plugin
:
require 'logstash/plugin_mixins/ca_trusted_fingerprint_support'
class LogStash::Inputs::Foo < Logstash::Inputs::Base
# config :ca_trusted_fingerprint, :validate => :sha_256_hex
include LogStash::PluginMixins::CATrustedFingerprintSupport
# ...
end
Use the provided trust_strategy_for_ca_trusted_fingerprint
method to acquire an
appropriate trust strategy for the given ca_trusted_fingerprint
(s), or nil
if
no ca_trusted_fingerprint
s were provided.
def register
# ...
ssl_options.merge(:trust_strategy, trust_strategy_for_ca_trusted_fingerprint)
@client = Manticore::Client.new(ssl: ssl_options)
end
This gem:
FAQs
Unknown package
We found that logstash-mixin-ca_trusted_fingerprint_support 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.