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.
@sunderapps/n4v
Advanced tools
PS C:\proj> git clone https://github.com/Sunder-Apps/n4v.git ./n4v
PS C:\proj> cd n4v
PS C:\proj\n4v> npm install
PS C:\proj\n4v> npm run serve
origin/prod
.feature/descriptive-feature-name
bugfix/descriptive-bugfix-name
origin/dev
when it's ready for testing.origin/prod
when it's stable.origin/prod
.package.json
.isDev
to false
in webpack.config.ts
and save.PS C:\proj\n4v> npm run build
isDev
to true
in webpack.config.ts
and save.PS C:\proj\n4v> npm run build
PS C:\proj\n4v> npm publish
dist
files and package.json
.PS C:\proj\n4v> git add -A
PS C:\proj\n4v> git commit -m "Descriptive commit message"
PS C:\proj\n4v> git push
/src/scss/css-var.scss
and should be included with @use
./src/scss/global.scss
and should be included with @use
./src/scss/n4v.scss
and should be included with @use
./src/scss/theme.scss
and should be included with @use
./src/scss/var.scss
and should be included with @import
./src/scss/var.scss
to generate selectors and css variable references with a prefix.
@import 'var';
@include css-var(height, 50px)
→ --n4v-height: 50px;
@include css-var-ref(width, height)
→ --n4v-width: var(--n4v-height);
css-var(height)
→ var(--n4v-height)
// NOTE: No string interpolation#{neg(something)}
→ not(something)
// NOTE: Doesn't add the prefix#{class(open)}
→ .n4v-open
#{id(logo)}
→ #n4v-logo
#{controls(wrapper)}
→ [controls=n4v-wrapper]
#{expanded(true)}
→ [aria-expanded=true]
ms(100)
→ 100ms
px(100)
→ 100px
strip-unit(100px)
→ 100
/src/ts/n4vbar.ts
./src/ts/selectors.ts
. Should be similar to /src/scss/var.scss
./src/ts/settings.ts
./src/ts/util.ts
.E.g. n4vClassName
.I.e. export default n4vClassName;
./src/main.ts
.E.g. eHandleEvent()
.Function.bind(this)
.n4vUtil.throttle()
function.
n4vSettings.delay.default
.{ leading: true, trailing: true }
.as EventListenerOrEventListenerObject
.FAQs
Navigation 4 Virtuosos - Accessible, Responsive Navbars
The npm package @sunderapps/n4v receives a total of 5 weekly downloads. As such, @sunderapps/n4v popularity was classified as not popular.
We found that @sunderapps/n4v 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.