
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@outfitter/husky-config
Advanced tools
> Shared Git hooks configuration for consistent development workflows across > Outfitter projects
Shared Git hooks configuration for consistent development workflows across Outfitter projects
npm install --save-dev @outfitter/husky-config
# or
pnpm add -D @outfitter/husky-config
Run the setup script after installation:
npx @outfitter/husky-config setup
npx husky init
cp -r node_modules/@outfitter/husky-config/hooks/* .husky/
Runs lint-staged to format and lint staged files before committing:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged
Validates commit messages using commitlint to ensure they follow conventional
commit format:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit "$1"
Create a lint-staged.config.mjs file in your project root:
export default {
'*.{js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
'*.{json,md,yml,yaml}': 'prettier --write',
};
Create a commitlint.config.mjs file in your project root:
export default {
extends: ['@commitlint/config-conventional'],
};
git add .git commit -m "feat: add new feature"feat: New featurefix: Bug fixdocs: Documentation only changesstyle: Code style changes (formatting, semicolons, etc)refactor: Code refactoringperf: Performance improvementstest: Adding or updating testschore: Maintenance tasksci: CI/CD changesbuild: Build system changesEnsure hooks have execute permissions:
chmod +x .husky/*
git commit --no-verify -m "emergency: bypass hooks"
Note: This should only be used in emergencies. Always ensure your code meets quality standards.
This package is part of the @outfitter/monorepo monorepo.
See the Development Guide for instructions on building, testing, and contributing to this package.
MIT
FAQs
> Shared Git hooks configuration for consistent development workflows across > Outfitter projects
We found that @outfitter/husky-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.