Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
docf-sec-check — Static analysis tool that scans Dockerfiles for insecure commands and configuration issues, providing actionable security notifications to harden container builds. | Kitploit
Tools/GitHubGitHub/osmankandemir/docf-sec-check
Static AnalysisVulnerability ScannersCode AnalysisDevSecOps
GitHubosmankandemir/docf-sec-check

docf-sec-check

Static analysis tool that scans Dockerfiles for insecure commands and configuration issues, providing actionable security notifications to harden container builds.

View Repository
5218 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Logo

DocF-Sec-Check Version Pip Version License Docker Python Version

DocF-Sec-Check

Description

DocF-Sec-Check helps to make your Dockerfile commands more secure.

ScreenShot

Done

  • First-level security notification in the Dockerfile

TODO List

  • Correctly detect the Dockerfile.
  • Second-level security notification in the Dockerfile.
  • Security notification in Docker images.
  • *********** (Private Repository)

Installation

From Source Code

You can use virtualenv for package dependencies before installation.

root@kitploit:~
git clone https://github.com/OsmanKandemir/docf-sec-check.git
cd docf-sec-check
python setup.py build
python setup.py install

From Pypi

The application is available on PyPI. To install with pip:

root@kitploit:~
pip install docfseccheck

From Dockerfile

You can run this application on a container after build a Dockerfile. You need to specify a path (YOUR-LOCAL-PATH) to scan the Dockerfile in your local.

root@kitploit:~
docker build -t docfseccheck .
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile docfseccheck -f /docf-sec-check/Dockerfile

From DockerHub

root@kitploit:~
docker pull osmankandemir/docfseccheck:v1.0
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile osmankandemir/docfseccheck:v1.0 -f /docf-sec-check/Dockerfile


Usage

root@kitploit:~
-f DOCKERFILE [DOCKERFILE], --file DOCKERFILE [DOCKERFILE] Dockerfile path. --file Dockerfile
 

Function Usage

root@kitploit:~
from docfchecker import DocFChecker

#Dockerfile is your file PATH.

DocFChecker(["Dockerfile"]) 

Development and Contribution

To continue developing the application docf-sec-check/checkrules/CheckRulesFunctions.py you can add new simple functions.

See; CONTRIBUTING.md

License

Copyright (c) 2024 Osman Kandemir
Licensed under the GPL-3.0 License.

Donations

If you like DocF-Sec-Check and would like to show support, you can use Buy A Coffee or Github Sponsors feature for the developer using the button below.

Or

Sponsor me : https://github.com/sponsors/OsmanKandemir 😊

Buy Me A Coffee

Your support will be much appreciated😊

Download Tool