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.
bitbucket-build-status-hook
Advanced tools
A post-checkout hook for checking commit build status via the Bitbucket REST API.
This is a Git hook for retrieving build Statuses for commits in Git repositories hosted on Bitbucket.
You can run bitbucket-build-status
to check the build statuses of your
repository's HEAD commit at any time, but this tool is most useful when
symlinked as a post-commit
hook:
$ cd some_git_repo
$ ln -s /usr/local/bin/bitbucket-build-status .git/hooks/post-checkout
$ git checkout master
Switched to branch 'master'
Sweet action! 234ffc1 has 5 green builds
$ git checkout my_feature
Switched to branch 'my_feature'
Oh no! f2ec0c2 has 3 failed builds (Test on Saucelabs, Test with Firefox, AUI-JIRA visual regression)
Details at https://bitbucket.org/atlassian/aui/commits/f2ec0c22635271c39c43143f49cb07588b12bf68
npm install -g bitbucket-build-status
ln -s /usr/local/bin/bitbucket-build-status .git/hooks/post-checkout
from the root of a Git repository hosted on Bitbucketgit checkout HEAD
to test that the hook is properly installedThe first time you upload a file you will be prompted for your Bitbucket
email and password. These will be used to retrieve an OAuth refresh
token which is stored in ~/.bitbucket-build-status
and used for
subsequent requests. Treat this token carefully as it can be used to
read repository data on your behalf.
FAQs
A post-checkout hook for checking commit build status via the Bitbucket REST API.
We found that bitbucket-build-status-hook 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.