
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
@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'
gcdocs -> git commit -m 'docs: update' ./docs"
gcdeps -> git commit -m 'deps: update' ./package.json ./package-lock.json"
gcdevdeps -> git commit -m 'devdeps: update ' ./package.json ./package-lock.json"
gclog -> git commit -m 'readme: update changelog' ./README.md"
gcread -> git commit -m 'readme: update' ./README.md"
gcbump -> git commit -m 'version: bump' ./package.json ./package-lock.json"
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
...
FAQs
various bash aliases for node, git, rust, and @magic. !pollutes bash namespace!
We found that @magic/bash-alias demonstrated a not healthy version release cadence and project activity because the last version was released 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.