Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
go.opentelemetry.io/build-tools/gotmpl
gotmpl
is a tool
to generate files
from templates and JSON data.
Usage of gotmpl:
-b, --body string Template body filepath.
-d, --data string Data in JSON format.
-o, --out string Output filepath.
gotmpl
has been created as one of the solutions
to avoid depending on internal packages of different modules.
Such dependencies could transitively lead to build failure
when an internal package API introduces a non-backward compatible change.
gotmpl
can be used for sharing non-exported
common code across multiple Go modules.
It is advised to keep the shared code in a separate internal Go module
(e.g. under internal/shared
).
The shared code should be consumed across modules using go generate
,
for example:
//go:generate gotmpl --body=../internal/shared/env.go.tmpl "--data={ \"pkg\": \"jaeger\" }" --out=env.go
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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.