cd /Users/kaldhinsa/code/shai-hulud-scanner
# Create repository on GitHub
gh repo create shai-hulud-scanner --public --source=. --description="Security scanner to detect Shai Hulud 2.0 npm supply chain attack indicators"
# Push code
git branch -M main
git push -u origin mainReplace nxgn-kd01 with your actual GitHub username in:
- README.md
- CONTRIBUTING.md
- .github/workflows/security-scan.yml
# Quick find and replace (macOS)
find . -type f -name "*.md" -o -name "*.yml" | xargs sed -i '' 's/nxgn-kd01/YOUR_ACTUAL_USERNAME/g'
# Or manually edit the filesOn GitHub repository page, add these topics:
securitynpmsupply-chainvulnerability-scannershai-huludsecurity-toolsmalware-detection
- Go to repository Settings → Actions → General
- Enable "Allow all actions and reusable workflows"
- Save
Twitter/X:
🛡️ Just released Shai Hulud Scanner - an open-source tool to detect the Shai Hulud 2.0 npm supply chain attack!
✅ 7 comprehensive security checks
✅ GitHub Actions integration
✅ 796+ compromised packages detected
Protect your projects: [GitHub URL]
#npm #security #supplychain #opensource
LinkedIn:
I've released an open-source security scanner for the Shai Hulud 2.0 attack that compromised 796+ npm packages.
The scanner performs 7 comprehensive checks including:
- Malicious file detection
- File hash verification
- Suspicious script analysis
- GitHub repository patterns
- And more
Available on GitHub: [URL]
Help spread awareness and protect the npm ecosystem!
-
Reddit:
- r/netsec
- r/programming
- r/node
- r/javascript
-
Hacker News:
- Submit as "Show HN: Shai Hulud 2.0 Scanner"
-
Dev.to:
- Write article about the tool and threat
-
npm Security:
- Tweet at @npmjs
- Email security@npmjs.com with tool info
npm Package (optional):
# Create package.json
npm init -y
# Update package.json
{
"name": "shai-hulud-scanner",
"version": "1.0.0",
"description": "Security scanner for Shai Hulud 2.0 npm supply chain attack",
"bin": {
"shai-hulud-scan": "./scan.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/nxgn-kd01/shai-hulud-scanner"
},
"keywords": ["security", "npm", "supply-chain", "vulnerability", "scanner"],
"author": "Your Name",
"license": "MIT"
}
# Publish
npm publishWhen new indicators are discovered:
- Update detection logic in
scan.sh - Test thoroughly
- Update README with new checks
- Increment version number
- Create git tag and release
# Tag release
git tag -a v1.1.0 -m "Add detection for new IOC pattern"
git push origin v1.1.0
# Create GitHub release
gh release create v1.1.0 --title "v1.1.0 - New IOC Detection" --notes "Added detection for..."- Check GitHub Issues daily
- Respond to security reports within 24h
- Label issues appropriately (bug, enhancement, security)
- Thank contributors
Track adoption with:
- GitHub stars/forks
- npm downloads (if published)
- GitHub traffic analytics
- Security community mentions
-
Add More Features:
- Support for other package managers (pip, cargo, gem)
- JSON output format
- CI/CD templates for popular platforms
- Docker container
-
Integration:
- VS Code extension
- Pre-commit hook
- npm/yarn plugin
-
Community:
- Start discussions for feature requests
- Create "good first issue" labels
- Host virtual contributor office hours
-
Documentation:
- Video tutorials
- Blog posts about supply chain security
- Case studies of detections
Submit your tool to:
Good luck! 🚀