
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
encab
Advanced tools
Encab is a process manager that simplifies running multiple services in a container or from the command line.
It's essentially a replacement for complex, hand-written Docker Container Entrypoint scripts, especially when dockerizing complex legacy applications.
encab.yml, ...
ADD encab.yml .
ENTRYPOINT ["encab"]
encab.yml, programs:
cron:
command: cron -f
main:
command: httpd-foreground
and encab cares for the rest. Run it and you'll always know who's logging what...
INFO encab: encab 1.0.3
INFO encab: Using configuration file ./encab.yml, source: Default location.
ERROR main: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
ERROR main: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
ERROR main: [Wed Jan 18 09:47:12.417275 2023] [mpm_event:notice] [pid 12:tid 140142563044672] AH00489: Apache/2.4.54 (Unix) configured -- resuming normal operations
ERROR main: [Wed Jan 18 09:47:12.417830 2023] [core:notice] [pid 12:tid 140142563044672] AH00094: Command line: 'httpd -D FOREGROUND'
INFO cron: Hello Wed Jan 18 09:48:01 UTC 2023
It shares some similarities with supervisord which I've used before I wrote encab but supervisord is a process control system not designed to run in a Container environment.
pip install -U encab
encab.yml encab:
dry_run: false
programs:
main:
sh:
- echo "Hello Encab!"
encab
The result will be something like this:
INFO encab: encab 1.0.3
INFO encab: Using configuration file ./encab.yml, source: Default location.
INFO main: Hello Encab!
INFO main: Exited with rc: 0
encab.yml
encab:
dry_run: false
programs:
main:
sh:
- echo "Hello Encab!"
Add Encab to your Docker file.
FROM python:3.10.8-slim-bullseye
# --------------------------------------------
# Install Venv
#
ENV VIRTUAL_ENV=/opt/encabenv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python3 -m venv $VIRTUAL_ENV && \
pip install --upgrade pip
# --------------------------------------------
# Install Encab
#
RUN pip install encab
# -------------------------------------------
# add configuration file
#
ADD encab.yml .
# -------------------------------------------
# set encab as entrypoint
ENTRYPOINT ["encab"]
Build container
docker build -t encab_minimum .
Run container
docker run encab_minimum
Result:
INFO encab: encab 1.0.3
INFO encab: Using configuration file ./encab.yml, source: Default location.
INFO main: Hello world!
INFO main: Exited with rc: 0
FAQs
Process manager
We found that encab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.