dokploy/packages/server/src/utils/builders
Mauricio Siu d48037a802 fix(security): escape compose path and validate custom compose command
- composePath / appName are now passed through shell-quote in createCommand,
  getCreateEnvFileCommand and services/compose.ts deploy commands, instead of
  being interpolated raw into 'docker compose'/'docker stack' shell commands.
- compose.command: sanitizeCommand was cosmetic (trim + strip quotes). It now
  rejects shell control characters (; & | ` $ () {} <> newline), which a normal
  docker compose CLI line never contains, blocking breakout into host commands.

Closes GHSA-8r5w-vqjr-8c44, GHSA-5xv2-7f8w-9j5c, GHSA-qh6h-669j-77rw
2026-07-19 23:06:53 -06:00
..
compose.ts fix(security): escape compose path and validate custom compose command 2026-07-19 23:06:53 -06:00
docker-file.ts fix(security): escape user input in docker build/pull commands 2026-07-19 21:53:55 -06:00
drop.ts Merge pull request #3591 from vtomasr5/allow-zipdrop-build-server 2026-02-18 20:20:27 -06:00
heroku.ts feat: enhance environment variable handling for shell commands 2025-11-19 21:17:09 -06:00
index.ts fix: strip credentials from service-level API responses (#4564) 2026-06-06 17:45:24 -06:00
nixpacks.ts fix(security): escape user input in docker build/pull commands 2026-07-19 21:53:55 -06:00
paketo.ts feat: enhance environment variable handling for shell commands 2025-11-19 21:17:09 -06:00
railpack.ts Feat/concurrent deployments in memory queue (#4645) 2026-06-16 23:15:19 -06:00
static.ts Refactor application and compose deployment logic: remove unused buildApplication function, streamline command logging for deployment, and enhance static command generation for improved maintainability and clarity in the codebase. 2025-11-09 11:13:39 -06:00
utils.ts fix(logs): ensure safe access to service error in ShowDockerLogs component 2026-02-07 23:34:35 -06:00