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/michaelboke/go-sqlite3
sqlite3 driver conforming to the built-in database/sql interface
It requires pkg-config
. You can also confirm that permissions and dependancies are setup by running pkg-config --cflags --libs sqlite3
.
If you are using Homebrew on Mac OS X, you can install with:
brew install pkgconfig
brew install sqlite3
If you are using Ubuntu, you can install with:
sudo apt-get install pkg-config sqlite3 libsqlite3-dev
If you are using Windows, you can get pkg-config from below.
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
Go does not support static linking for external C library; sqlite3 should be built as a shared library. If it runs on Windows, it needs dll.
Finally, this package can be installed with the go get command:
go get github.com/mattn/go-sqlite3
Can't build go-sqlite3 on windows 64bit.
Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit. See: https://github.com/mattn/go-sqlite3/issues/27
Getting insert error while query is opened.
You can pass some arguments into the connection string, for example, a URI. See: https://github.com/mattn/go-sqlite3/issues/39
Can't build go-sqlite3. I got error of pkg-config.
Probably, you didn't set PKG_CONFIG_PATH environment variable. Add PKG_CONFIG_PATH=/path/to/pkgconfig into your bashrc (something for your shell), Or do
export PKG_CONFIG_PATH=/path/to/pkgconfig
in bash. See: https://github.com/mattn/go-sqlite3/issues/45
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.