
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@nuxtjs/sentry
Advanced tools
Sentry module for Nuxt.js
The module enables error logging through Sentry.
@nuxtjs/sentry dependency using yarn or npm to your project@nuxtjs/sentry to modules section of nuxt.config.js{
modules: [
'@nuxtjs/sentry',
],
sentry: {
public_key: '',
private_key: '',
project_id: '',
config: {
// Additional config
},
}
}
Make sure you use a version of Nuxt either prior to v1.0.0 or after v1.2.1.
Enter your DSN in the NuxtJS config file. Additional config settings can be found here.
In a Vue component, Raven is available as this.$raven, so we can call functions like
this.$raven.setUserContext({user})
where this is a Vue instance.
Options can be passed using either environment variables or sentry section in nuxt.config.js.
Normally setting required DSN information would be enough.
String
process.env.SENTRY_DSNString
process.env.SENTRY_PUBLIC_DSNIf value omitted it will be generated using dsn value, by removing private key part.
String
process.env.SENTRY_PUBLIC_KEYWill be ignored if dsn provided.
String
process.env.SENTRY_PRIVATE_KEYWill be ignored if dsn provided.
String
process.env.SENTRY_HOST || 'sentry.io'Will be ignored if dsn provided.
String
process.env.SENTRY_PROTOCOL || 'https'Will be ignored if dsn provided.
String
process.env.SENTRY_PROJECT_ID || ''Will be ignored if dsn provided.
String
process.env.SENTRY_PATH || '/'Will be ignored if dsn provided.
Boolean
process.env.SENTRY_DISABLE_CLIENT_SIDE || falseCopyright (c) Diederik van den Burger diederik@webrelated.nl
FAQs
Sentry module for Nuxt.js
The npm package @nuxtjs/sentry receives a total of 29,495 weekly downloads. As such, @nuxtjs/sentry popularity was classified as popular.
We found that @nuxtjs/sentry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.