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.
@magic/bash-alias
Advanced tools
various bash aliases for node, git, rust, and @magic. !pollutes bash namespace!
installs useful git, node, rust, and @magic aliases.
POLLUTES THE NAMESPACE OF YOUR BASH WITH ONE AND TWO LETTER COMMANDS.
fortunately, the rest of the linux ecosystem seems to be smart enough not to do that too often.
npm i -g @magic/bash-aliases
strings in ${} are expected cli arguments
ll -> ls -alF --color
la -> ls -A --color
l -> ls -CF --color
ga -> git add ${...files}
gaa -> git add --all
gb -> git branch
gbb -> git checkout -b ${name}
gc -> git commit -m "message string" ${...files}
gca -> git commit --amend
gd -> git -c color.ui=always diff
gl -> git -c color.ui=always log
gp -> git push
gps -> git push --set-upstream ${remote} ${branch}
gr -> git remote -v
gra -> git remote add ${name} ${url}
grr -> git remote remove ${name},
gs -> git -c color.status=always status
gt -> git tag -a '...ARGV' -m '...ARGV'
gcbump -> git commit -m 'version: bump' ./package.json ./package-lock.json"
gcdeps -> git commit -m 'deps: update' ./package.json ./package-lock.json"
gcdevdeps -> git commit -m 'devdeps: update ' ./package.json ./package-lock.json"
gcdist -> git commit -m 'dist: update' ./dist"
gcdocs -> git commit -m 'docs: update' ./docs"
gclog -> git commit -m 'readme: update changelog' ./README.md"
gcread -> git commit -m 'readme: update' ./README.md"
nb -> npm run build
nd -> npm run dev
nf -> npm run format
ni -> npm install
np -> npm run prod
nr -> npm run
ns -> npm start
nt -> npm test
nu -> npm update
m -> magic dev
mb -> magic build
mc -> magic clean
md -> magic dev
mp -> magic prod
ms -> magic serve
cb -> cargo build
cch -> cargo check
cf -> cargo fmt -v
ci -> cargo install
cr -> cargo run
ct -> cargo test
cw -> cargo watch
cwr -> cargo watch -x run
first release
add colors to directory listings.
bump required node version to 14.2.0
gcdocs: "git add docs" before comitting
actually add the nr bin alias to package.json
update dependencies
...
FAQs
various bash aliases for node, git, rust, and @magic. !pollutes bash namespace!
The npm package @magic/bash-alias receives a total of 2 weekly downloads. As such, @magic/bash-alias popularity was classified as not popular.
We found that @magic/bash-alias demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.