BloodHound
BloodHound copied to clipboard
Bug: dagrejs can't be fetched without SSH credentials
Description:
The cmd/ui package depends on [email protected]:BloodHoundAD/dagre.git.
Build systems which don't use the yarn cache included in this repository, but instead fetch yarn dependencies by themselves, will fail at dagrejs when no valid SSH credentials can be found, such as when the build is running in a sandbox.
A build system that runs into this issue is Nix, for which I'm currently packaging BloodHound in https://github.com/NixOS/nixpkgs/pull/461387.
Are you intending to fix this bug?
Yes.
Component(s) Affected:
- Other (tooling, documentation, etc.)
Steps to Reproduce:
- Try to build BloodHound using Nix
- Nix fails when fetching the dependencies
Expected Behavior:
All dependencies, including dagrejs, will be fetched correctly.
Actual Behavior:
Yarn is unable to fetch dagrejs from within the build sandbox.
Screenshots/Code Snippets/Sample Files:
Environment Information:
BloodHound: 8.3.1
OS: NixOS 25.11 (Xantusia)
Node.js: 22.20.0
Potential Solution:
Dagrejs should be fetched using an HTTPS URL instead.
Contributor Checklist:
- [x] I have searched the issue tracker to ensure this bug hasn't been reported before or is not already being addressed.
- [x] I have provided clear steps to reproduce the issue.
- [x] I have included relevant environment information details.
- [x] I have attached necessary supporting documents.
- [ ] I have checked that any JSON files I am attempting to upload to BloodHound are valid.