IaC code security scanning pipeline - part 2

Back for the part two, where I will automate the security scanning of manually written IaC files, when these are pushed into a repository on github leveraging github worflows. I will go through some of the major security misconfigurations, existing threat vectors and solutions to mitigate them. Using semgrep for a specific scenario where other tools limitations hinder us. Code source: https://github.com/rgxsec/marizaws-project Tools: Checkov Trivy TruffleHog Semgrep Each of this tools has its own special skill, checkov speciality is to map misconfig findings to compliance standards like CIS AWS Benchmark, NIST, SOC2, PCI-DSS ect, besides having a very large library of built-in policies for Terraform; trivy is more like a swiss army knife, it can scan anything, dockerfiles, container images, kubernetes manifests etc, it also links the findings to real CVEs and attack threats; trufflehog is superb at looking and finding secrets and credentials in specific formats on IaC files and also in git history. Semgrep highly customizable, rule based for each dedicated circunstance or problem. ...

2026-05-02 · 8 min · rgxec

RTF doc analysis

An attempt to lay path for rtf document analysis - Part 1 Lore size xs The purpose of its origin was to serve as a cross-platform text format between Macintosh and Windows systems, and was developed by Microsoft in 1987. I think the rich part comes from the fact that RTF isn’t just a text document, it uses plain-text markup language commands, to embed objects (smirk) and to instruct applications (yes, multiple) on how data should be displayed, among few other things. ...

2025-10-30 · 7 min · rgxec

IaC code security testing tools

I decided to create this post since I was looking to cloud in a security perspective and noticed this would be a fun thing to try and get hands-on experience in CI\CD and the magical activity of Terraforming, uh seems so cool and wizardy. Objective The objective is to create a Terraform config file with insecure configs on purpose. Test code security scanning tools, such as checkov and tfsec and then in a part 2 in the comming future, hopefully ;) time is an elusive thing, automate the process using CI\CD pipelines, something like Github actions. ...

2025-05-11 · 3 min · rgxec