Executive Summary
Risk Overview
By Priority
| Priority | Findings |
|---|---|
| P0 | 1 |
| P1 | 4 |
| P2 | 31 |
| P3 | 0 |
By Severity
| Severity | Findings |
|---|---|
| CRITICAL | 1 |
| HIGH | 4 |
| MEDIUM | 31 |
| LOW | 0 |
| INFO | 0 |
By Category
| Category | Findings |
|---|---|
| SECRET | 1 |
| SCA | 5 |
| SAST | 2 |
| IaC | 28 |
| CONTAINER | 0 |
By Tool
| Tool | Findings |
|---|---|
| Gitleaks | 1 |
| Trivy | 5 |
| Semgrep | 2 |
| Checkov | 28 |
Top Risks
| Priority | Severity | Category | Title | File | Tool |
|---|---|---|---|---|---|
| P0 | CRITICAL | SECRET | Secret detected: github-pat | .env.demo.leak |
gitleaks |
| P1 | HIGH | SCA | Vulnerable dependency detected: lodash CVE-2021-23337 | package-lock.json |
trivy |
| P1 | HIGH | SCA | Vulnerable dependency detected: lodash CVE-2026-4800 | package-lock.json |
trivy |
| P1 | HIGH | SAST | SAST: js-eval-usage | src/app.js |
semgrep |
| P1 | HIGH | SAST | SAST: js-child-process-exec | src/app.js |
semgrep |
Remediation Plan
- Secret detected: github-pat β
.env.demo.leak
- Vulnerable dependency detected: lodash CVE-2021-23337 β
package-lock.json(lodash) - Vulnerable dependency detected: lodash CVE-2026-4800 β
package-lock.json(lodash) - SAST: js-eval-usage β
src/app.js - SAST: js-child-process-exec β
src/app.js
- Vulnerable dependency detected: lodash CVE-2020-28500 β
package-lock.json(lodash) - Vulnerable dependency detected: lodash CVE-2025-13465 β
package-lock.json(lodash) - Vulnerable dependency detected: lodash CVE-2026-2950 β
package-lock.json(lodash) - IaC: Ensure S3 buckets should have event notifications enabled (CKV2_AWS_62) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure all data stored in the S3 bucket have versioning enabled (CKV_AWS_21) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure that S3 bucket has a Public Access block (CKV2_AWS_6) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure that S3 bucket has cross-region replication enabled (CKV_AWS_144) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure that S3 buckets are encrypted with KMS by default (CKV_AWS_145) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure that an S3 bucket has a lifecycle configuration (CKV2_AWS_61) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Ensure the S3 bucket has access logging enabled (CKV_AWS_18) β
/infra/main.tf(aws_s3_bucket.demo) - IaC: Apply security context to your containers (CKV_K8S_30) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Apply security context to your pods and containers (CKV_K8S_29) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: CPU limits should be set (CKV_K8S_11) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: CPU requests should be set (CKV_K8S_10) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Containers should not run with allowPrivilegeEscalation (CKV_K8S_20) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Containers should not share the host network namespace (CKV_K8S_19) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Containers should run as a high UID to avoid host conflict (CKV_K8S_40) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Ensure that Service Account Tokens are only mounted where necessary (CKV_K8S_38) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Ensure that the seccomp profile is set to docker/default or runtime/default (CKV_K8S_31) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Image Pull Policy should be Always (CKV_K8S_15) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Image should use digest (CKV_K8S_43) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Liveness Probe Should be Configured (CKV_K8S_8) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Memory limits should be set (CKV_K8S_13) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Memory requests should be set (CKV_K8S_12) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Minimize the admission of containers with capabilities assigned (CKV_K8S_37) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Minimize the admission of containers with the NET_RAW capability (CKV_K8S_28) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Minimize the admission of pods which lack an associated NetworkPolicy (CKV2_K8S_6) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Minimize the admission of root containers (CKV_K8S_23) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Readiness Probe Should be Configured (CKV_K8S_9) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: The default namespace should not be used (CKV_K8S_21) β
/k8s/pod.yaml(Pod.default.aadsec-demo) - IaC: Use read-only filesystem for containers where possible (CKV_K8S_22) β
/k8s/pod.yaml(Pod.default.aadsec-demo)
Technical Findings
P0 CRITICAL Secret detected: github-pat gitleaks
gitleaks-a495ac92e1d53ce8
SECRET
.env.demo.leak : L3
Uncovered a GitHub Personal Access Token, potentially leading to unauthorized repository access and sensitive content exposure.
An exposed credential can be used by an attacker to gain unauthorised access to the associated service, potentially leading to data breach, service abuse, or further lateral movement.
1. Revoke and rotate the exposed credential immediately. 2. Remove the secret from the source code and replace with a secrets manager reference. 3. Search CI/CD logs and build artefacts for the exposed value. 4. If the secret was committed to Git history, consider a history purge (git-filter-repo).
P1 HIGH Vulnerable dependency detected: lodash CVE-2021-23337 trivy
trivy-c20c3e919bbf9a5c
SCA
package-lock.json
lodash
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
A vulnerable dependency can be exploited by an attacker to compromise application integrity, trigger denial-of-service, or gain unauthorised access, depending on the nature of the vulnerability.
Upgrade lodash to version 4.17.21 or later.
A06:2021 - Vulnerable and Outdated Components
- https://avd.aquasec.com/nvd/cve-2021-23337
- https://access.redhat.com/security/cve/CVE-2021-23337
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://github.com/advisories/GHSA-35jh-r3h4-6jhm
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851
- https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml
P1 HIGH Vulnerable dependency detected: lodash CVE-2026-4800 trivy
trivy-0e6987c640673cef
SCA
package-lock.json
lodash
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge impoβ¦
A vulnerable dependency can be exploited by an attacker to compromise application integrity, trigger denial-of-service, or gain unauthorised access, depending on the nature of the vulnerability.
Upgrade lodash to version 4.18.0 or later.
A06:2021 - Vulnerable and Outdated Components
- https://avd.aquasec.com/nvd/cve-2026-4800
- https://access.redhat.com/errata/RHSA-2026:10131
- https://access.redhat.com/errata/RHSA-2026:10175
- https://access.redhat.com/errata/RHSA-2026:10710
- https://access.redhat.com/errata/RHSA-2026:10713
- https://access.redhat.com/errata/RHSA-2026:11454
- https://access.redhat.com/errata/RHSA-2026:11469
- https://access.redhat.com/errata/RHSA-2026:11470
- https://access.redhat.com/errata/RHSA-2026:11471
- https://access.redhat.com/errata/RHSA-2026:11493
P1 HIGH SAST: js-eval-usage semgrep
semgrep-8ea7d3c2c420f4d3
SAST
src/app.js : L3
eval() executes arbitrary JavaScript. If the argument is derived from user input or an external source, this leads to code injection.
Unsafe coding patterns can be exploited by an attacker to execute arbitrary code, inject malicious data, or bypass security controls, depending on where and how the vulnerable code is reachable.
Avoid eval(). Use JSON.parse() for data parsing, or redesign the feature to eliminate dynamic code evaluation.
A03:2021 - Injection
P1 HIGH SAST: js-child-process-exec semgrep
semgrep-054ed0f9a21a68a4
SAST
src/app.js : L4
child_process.exec() passes its argument to a shell, enabling injection if the command string contains any user-controlled data.
Unsafe coding patterns can be exploited by an attacker to execute arbitrary code, inject malicious data, or bypass security controls, depending on where and how the vulnerable code is reachable.
Use child_process.execFile() or child_process.spawn() with arguments passed as a separate array, never as a concatenated string.
A03:2021 - Injection
P2 MEDIUM Vulnerable dependency detected: lodash CVE-2020-28500 trivy
trivy-8024e95d617bc663
SCA
package-lock.json
lodash
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
A vulnerable dependency can be exploited by an attacker to compromise application integrity, trigger denial-of-service, or gain unauthorised access, depending on the nature of the vulnerability.
Upgrade lodash to version 4.17.21 or later.
A06:2021 - Vulnerable and Outdated Components
- https://avd.aquasec.com/nvd/cve-2020-28500
- https://access.redhat.com/security/cve/CVE-2020-28500
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://github.com/advisories/GHSA-29mw-wpgm-hmr9
- https://github.com/github/advisory-database/pull/6139
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/blob/npm/trimEnd.js
- https://github.com/lodash/lodash/blob/npm/trimEnd.js#L8
- https://github.com/lodash/lodash/blob/npm/trimEnd.js%23L8
- https://github.com/lodash/lodash/commit/c4847ebe7d14540bb28a8b932a9ce1b9ecbfee1a
P2 MEDIUM Vulnerable dependency detected: lodash CVE-2025-13465 trivy
trivy-07ac7ea361a3ab26
SCA
package-lock.json
lodash
Lodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the _.unsetΒ and _.omitΒ functions. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes. The issue permits deletion of properties but does not allow overwriting their original behavior. This issue is patched on 4.17.23
A vulnerable dependency can be exploited by an attacker to compromise application integrity, trigger denial-of-service, or gain unauthorised access, depending on the nature of the vulnerability.
Upgrade lodash to version 4.17.23 or later.
A06:2021 - Vulnerable and Outdated Components
- https://avd.aquasec.com/nvd/cve-2025-13465
- https://access.redhat.com/errata/RHSA-2026:11414
- https://access.redhat.com/errata/RHSA-2026:13542
- https://access.redhat.com/errata/RHSA-2026:13548
- https://access.redhat.com/errata/RHSA-2026:13829
- https://access.redhat.com/errata/RHSA-2026:14774
- https://access.redhat.com/errata/RHSA-2026:14870
- https://access.redhat.com/errata/RHSA-2026:14871
- https://access.redhat.com/errata/RHSA-2026:15091
- https://access.redhat.com/errata/RHSA-2026:17469
P2 MEDIUM Vulnerable dependency detected: lodash CVE-2026-2950 trivy
trivy-a10775dfbc4de550
SCA
package-lock.json
lodash
Impact: Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for (CVE-2025-13465: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg) only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype. The issue permits deletion of prototype properβ¦
A vulnerable dependency can be exploited by an attacker to compromise application integrity, trigger denial-of-service, or gain unauthorised access, depending on the nature of the vulnerability.
Upgrade lodash to version 4.18.0 or later.
A06:2021 - Vulnerable and Outdated Components
- https://avd.aquasec.com/nvd/cve-2026-2950
- https://access.redhat.com/security/cve/CVE-2026-2950
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
- https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
- https://nvd.nist.gov/vuln/detail/CVE-2026-2950
- https://ubuntu.com/security/notices/USN-8411-1
- https://www.cve.org/CVERecord?id=CVE-2026-2950
P2 MEDIUM IaC: Ensure S3 buckets should have event notifications enabled (CKV2_AWS_62) checkov
checkov-8ab0f74961825266
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure S3 buckets should have event notifications enabled
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure all data stored in the S3 bucket have versioning enabled (CKV_AWS_21) checkov
checkov-c3edcc6f974ae6c4
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure all data stored in the S3 bucket have versioning enabled
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that S3 bucket has a Public Access block (CKV2_AWS_6) checkov
checkov-5942a4975a2866ef
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure that S3 bucket has a Public Access block
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that S3 bucket has cross-region replication enabled (CKV_AWS_144) checkov
checkov-eb256636d801ef06
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure that S3 bucket has cross-region replication enabled
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that S3 buckets are encrypted with KMS by default (CKV_AWS_145) checkov
checkov-205f4cd89b3130e0
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure that S3 buckets are encrypted with KMS by default
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that an S3 bucket has a lifecycle configuration (CKV2_AWS_61) checkov
checkov-b17daa8ca96329fe
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure that an S3 bucket has a lifecycle configuration
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure the S3 bucket has access logging enabled (CKV_AWS_18) checkov
checkov-92db8957db052bd3
IAC_MISCONFIGURATION
/infra/main.tf : L6
aws_s3_bucket.demo
Ensure the S3 bucket has access logging enabled
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Apply security context to your containers (CKV_K8S_30) checkov
checkov-c17916a0f9fae6c5
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Apply security context to your containers
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Apply security context to your pods and containers (CKV_K8S_29) checkov
checkov-022a5e61ccf3957c
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Apply security context to your pods and containers
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: CPU limits should be set (CKV_K8S_11) checkov
checkov-638880e00bd6b4d9
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
CPU limits should be set
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: CPU requests should be set (CKV_K8S_10) checkov
checkov-e4f9751be7d2c40d
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
CPU requests should be set
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Containers should not run with allowPrivilegeEscalation (CKV_K8S_20) checkov
checkov-ad4d41450215db5d
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Containers should not run with allowPrivilegeEscalation
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Containers should not share the host network namespace (CKV_K8S_19) checkov
checkov-3ec09845edff3e84
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Containers should not share the host network namespace
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Containers should run as a high UID to avoid host conflict (CKV_K8S_40) checkov
checkov-e4b3864806ede61a
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Containers should run as a high UID to avoid host conflict
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that Service Account Tokens are only mounted where necessary (CKV_K8S_38) checkov
checkov-ff4411812248859d
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Ensure that Service Account Tokens are only mounted where necessary
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Ensure that the seccomp profile is set to docker/default or runtime/default (CKV_K8S_31) checkov
checkov-30b06403971213e6
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Ensure that the seccomp profile is set to docker/default or runtime/default
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Image Pull Policy should be Always (CKV_K8S_15) checkov
checkov-8c27de9b025e3ab2
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Image Pull Policy should be Always
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Image should use digest (CKV_K8S_43) checkov
checkov-c7188be8fcc9a20f
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Image should use digest
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Liveness Probe Should be Configured (CKV_K8S_8) checkov
checkov-dd7d8e9a1b765ab9
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Liveness Probe Should be Configured
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Memory limits should be set (CKV_K8S_13) checkov
checkov-4dcad0bd18f49f6b
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Memory limits should be set
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Memory requests should be set (CKV_K8S_12) checkov
checkov-d2530420527f4962
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Memory requests should be set
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Minimize the admission of containers with capabilities assigned (CKV_K8S_37) checkov
checkov-c08d281b07b406bb
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Minimize the admission of containers with capabilities assigned
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Minimize the admission of containers with the NET_RAW capability (CKV_K8S_28) checkov
checkov-aab395c354fa6297
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Minimize the admission of containers with the NET_RAW capability
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Minimize the admission of pods which lack an associated NetworkPolicy (CKV2_K8S_6) checkov
checkov-599df34caac4d9b5
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Minimize the admission of pods which lack an associated NetworkPolicy
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Minimize the admission of root containers (CKV_K8S_23) checkov
checkov-9673b9545de341c5
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Minimize the admission of root containers
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Readiness Probe Should be Configured (CKV_K8S_9) checkov
checkov-3946bf9492f2a59b
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Readiness Probe Should be Configured
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: The default namespace should not be used (CKV_K8S_21) checkov
checkov-408ad24e4384c8b0
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
The default namespace should not be used
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
P2 MEDIUM IaC: Use read-only filesystem for containers where possible (CKV_K8S_22) checkov
checkov-f2b50e730bb8f022
IAC_MISCONFIGURATION
/k8s/pod.yaml : L2
Pod.default.aadsec-demo
Use read-only filesystem for containers where possible
An IaC misconfiguration can result in resources being exposed to the internet, insufficient access controls, missing audit logging, or insecure defaults that may be exploited by an attacker with access to the provisioned infrastructure.
Review the IaC resource and update the configuration according to the check recommendation. Refer to the check guideline for specific remediation steps.
Methodology
This report was produced by AADSec, a local-first DevSecOps audit tool. The entire analysis runs inside a Docker container on your machine. No source code or scan data is transmitted to any external server by AADSec.
| Tool | V1 Version | Scope | Type |
|---|---|---|---|
| Gitleaks | 8.30.1 | Current files only (no Git history) | Secrets |
| Trivy | 0.72.0 | Dependencies β SCA filesystem (--scanners vuln) | SCA |
| Semgrep | 1.80.0 | Source code β local AADSec ruleset only (no Semgrep Registry) | SAST |
| Checkov | 3.2.0 | IaC files β Terraform, Kubernetes, CloudFormation, Helm | IaC |
Limitations and Disclaimers
- The absence of findings does not mean the absence of vulnerabilities.
- Git history is not scanned in V1 (scope: current files only).
- Dynamic testing (DAST) is not included in this profile.
- Results must be validated against your business and application context.
- No LLM or external service is contacted by AADSec by default.
- No source code is transmitted to any third party by AADSec.
- This report may be shared manually with an authorised consultant if desired.