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/rbmk-project/dnscore
dnscore
is a Go library designed for performing DNS measurements. Its high-level
API, *dnscore.Resolver
, is compatible with *net.Resolver
. Its low-level API,
*dnscore.Transport
, provides granular control over performing DNS queries using
specific protocols (including UDP, TCP, TLS, and HTTPS).
*Resolver
API compatible with *net.Resolver
for easy integration.*Transport
API allowing granular control over DNS requests and responses.log/slog
.The package is structured to allow users to compose their own workflows by providing building blocks for DNS queries and responses. It uses the widely-used miekg/dns library for DNS message parsing and serialization.
go get github.com/rbmk-project/dnscore
The *dnscore.Resolver
API is compatible with *net.Resolver
.
See example_resolver_test.go for a complete example.
See also internal/cmd/lookup/main.go for a
simple command line tool that demonstrates how to use the *dnscore.Resolver
API
along with log/slog to emit structured logs.
The *dnscore.Transport
API provides granular control over DNS queries and responses.
See
for complete examples using DNS over HTTPS, TCP, TLS, and UDP respectively.
See also internal/cmd/transport/main.go for
a simple command line tool that demonstrates how to use the *dnscore.Transport
API
along with log/slog to emit structured logs.
See DESIGN.md for an overview of the design.
Contributions are welcome! Please submit a pull requests using GitHub. Use rbmk-project/issues to create issues and discuss features related to this package.
SPDX-License-Identifier: GPL-3.0-or-later
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.