FarmBot / FarmBot/Farmbot-Web-App

Building a docker image for security scan

Open
#2,463 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
973
Forks
356
Avg merge
1h 6m
Merged PRs (30d)
3

Description

Hi guys,
I'm trying to reproduce [this cve][1], from a *container* scan perspective1.
I'm a bit confused because I couldn't find any `COPY . .` ( or similar ) in the docker files.
So the compose worked fine ( see below ) but where is the actual source code ?
```bash
$ docker compose up -d
[+] Running 9/9
✔ Container farmbot-web-app-redis-1 Running 0.0s
✔ Container farmbot-web-app-parcel-1 Started 0.0s
✔ Container farmbot-web-app-db-1 Started 0.0s
✔ Container farmbot-web-app-typescript-1 Started 0.6s
✔ Container farmbot-web-app-web-1 Started 0.7s
✔ Container farmbot-web-app-mqtt-1 Started 0.9s
✔ Container farmbot-web-app-log_digests-1 Started 0.4s
✔ Container farmbot-web-app-rabbit_jobs-1 Started 0.6s
✔ Container farmbot-web-app-delayed_job-1 Started 1.1s
```

---
1 I am the author of [this open source security container scanner][2]

[1]: https://securitylab.github.com/advisories/GHSL-2023-200_FarmBot_Web_App/
[2]: https://github.com/OrenGitHub/dhscanner

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.