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.
@oskarengstrom/sage-ui
Advanced tools
UI library for KIND projects.
npm i @oskarengstrom/sage-ui
Define compiler in Next.js:
const nextConfig = {
compiler: {
emotion: true,
},
};
Run npm run i-all
first time.
npm run dev
fires up both rollup with -watch parallel to playground react app in dev mode.
npm run build-watch
fires up rollup with -watch.
npm link
.npm link @oskarengstrom/sage-ui
next.config.json
:const path = require("path")
const nextConfig = {
webpack: (config, options) => {
config.resolve.alias = {
...config.resolve.alias,
"@emotion/core": path.resolve("./node_modules/@emotion/core"),
"@emotion/react": path.resolve("./node_modules/@emotion/react"),
react: path.resolve("./node_modules/react"),
}
return config
},
}
module.exports = nextConfig
Order is important:
npm link
npm unlink --no-save @oskarengstrom/sage-ui
npm publish
or npm publish --@oskarengstrom:registry=https://registry.npmjs.org --access public
Create tokens: https://github.com/settings/tokens
Good resource when stuck with bugs on NPM Link:
https://codebuckets.com/2022/02/20/npm-link-set-up-and-troubleshooting/
TODO: versioning with tags:
https://dev.to/nop33/using-npm-distribution-tags-the-right-way-562f
FAQs
UI library for KIND projects.
We found that @oskarengstrom/sage-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.