
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@backtrace/vite-plugin
Advanced tools
If you're using Vite as your project bundler, you can use @backtrace/vite-plugin
to automate working with sourcemaps.
(Source Map feature documentation)
Set sourcemap
in output
to true
in your vite.config.js
:
module.exports = {
build: {
sourcemap: true,
},
};
If you're using code transpiler plugins (such as Typescript), ensure to enable source-mapping there as well.
@backtrace/vite-plugin
A specific URL is required to upload source maps. Follow
these instructions to create an upload URL
for the sourcemap
endpoint with a symbol-post
token.
@backtrace/vite-plugin
as a developer dependency:> npm install --save-dev @backtrace/vite-plugin
plugins
array in vite.config.js
:import { BacktracePlugin } from '@backtrace/vite-plugin';
// or
const { BacktracePlugin } = require('@backtrace/vite-plugin');
module.exports = {
// other configuration
plugins: [
new BacktracePlugin({
// enable upload only on production builds
uploadUrl: process.env.NODE_ENV === 'production' ? '<your upload URL>' : undefined,
}),
],
};
FAQs
Backtrace Vite plugin
We found that @backtrace/vite-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.