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.
msg-attention
Advanced tools
Display attention-grabbing messages in the terminal.
Forked from @dylang/grunt-attention, as I needed to use it outside of Grunt.
npm install --save msg-attention
or
yarn add msg-attention
TODO
message
requiredText to display.
border
optionalBorder style.
Included styles: thin
, double
, stacked
, comment
.
Single character repeated: Provide a single character and it will repeat it as the border such as !
or *
.
New style: Provide a 9-character string for all sides. See lib/borders.js
for examples.
borderColor
optionalColor for the border.
Choices are: black
, red
, green
, yellow
, blue
, magenta
, cyan
, white
, gray
,
bgBlack
, bgRed
, bgGreen
, bgYellow
, bgBlue
, bgMagenta
, bgCyan
, bgWhite
, bgGray
.
Currently you can't set both the foreground and the background, that will be resolved in a future release.
Run npm test
to lint and run the tests.
See the contribute file!
PRs accepted.
Small note: If editing the Readme, please conform to the standard-readme specification.
@dylang for the idea, the original package and for releasing both of them under the MIT license.
FAQs
Display attention-grabbing messages in the terminal
The npm package msg-attention receives a total of 2 weekly downloads. As such, msg-attention popularity was classified as not popular.
We found that msg-attention 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.