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.
github.com/10gen/openssl
Please see http://godoc.org/github.com/spacemonkeygo/openssl for more info
Copyright (C) 2017. See AUTHORS.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file 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.
(If necessary) install the openssl C library with a package manager that provides an openssl.pc file OR install openssl manually and create an openssl.pc file.
Ensure that pkg-config --cflags --libs openssl
finds your openssl
library. If it doesn't, try setting PKG_CONFIG_PATH
to the directory
containing your openssl.pc file. E.g. for darwin: with MacPorts,
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
or for Homebrew,
PKG_CONFIG_PATH=/usr/local/Cellar/openssl/1.0.2l/lib/pkgconfig
(If necessary) install the openssl C library in your customary way
Set the CGO_CPP_FLAGS
, CGO_CFLAGS
and CGO_LDFLAGS
as necessary to
provide -I
, -L
and other options to the compiler. E.g. on darwin,
MongoDB's darwin build servers use the native libssl, but provide the
missing headers in a custom directory, so it the build hosts set
CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v3/include
Install mingw-w64 and add it to
your PATH
Install the C openssl into C:\openssl
. (Unfortunately, this is still
hard-coded.) You should have directories like C:\openssl\include
and
C:\openssl\bin
.
FAQs
Unknown package
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.