Executive Summary

βš‘ Decision: Not recommended for production
36
Unique Findings
1
P0 β€” Critical
4
P1 β€” High
31
P2 β€” Medium
0
P3 β€” Low

Risk Overview

By Priority

PriorityFindings
P01
P14
P231
P30

By Severity

SeverityFindings
CRITICAL1
HIGH4
MEDIUM31
LOW0
INFO0

By Category

CategoryFindings
SECRET1
SCA5
SAST2
IaC28
CONTAINER0

By Tool

ToolFindings
Gitleaks1
Trivy5
Semgrep2
Checkov28

Top Risks

PrioritySeverityCategoryTitleFileTool
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

P0 Immediate action β€” 24-48h
  • Secret detected: github-pat β€” .env.demo.leak
P1 Priority treatment β€” 7 days
  • 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
P2 Planned treatment β€” 30 days
  • 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)
⚠️ AADSec does not automatically fix vulnerabilities. Remediations are general guidelines to be validated according to your application context.

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.

redacted

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.

installed=4.17.20 fixed=4.17.21 vulnerability=CVE-2021-23337

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

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…

installed=4.17.20 fixed=4.18.0 vulnerability=CVE-2026-4800

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

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.

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.

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.

installed=4.17.20 fixed=4.17.21 vulnerability=CVE-2020-28500

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

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

installed=4.17.20 fixed=4.17.23 vulnerability=CVE-2025-13465

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

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…

installed=4.17.20 fixed=4.18.0 vulnerability=CVE-2026-2950

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

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

check=CKV2_AWS_62 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV_AWS_21 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV2_AWS_6 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV_AWS_144 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV_AWS_145 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV2_AWS_61 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV_AWS_18 resource=aws_s3_bucket.demo file=/infra/main.tf

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

check=CKV_K8S_30 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_29 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_11 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_10 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_20 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_19 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_40 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_38 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_31 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_15 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_43 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_8 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_13 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_12 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_37 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_28 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV2_K8S_6 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_23 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_9 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_21 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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

check=CKV_K8S_22 resource=Pod.default.aadsec-demo file=/k8s/pod.yaml

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.

ToolV1 VersionScopeType
Gitleaks8.30.1Current files only (no Git history)Secrets
Trivy0.72.0Dependencies β€” SCA filesystem (--scanners vuln)SCA
Semgrep1.80.0Source code β€” local AADSec ruleset only (no Semgrep Registry)SAST
Checkov3.2.0IaC files β€” Terraform, Kubernetes, CloudFormation, HelmIaC

Limitations and Disclaimers

⚠️ This report is the result of an automated analysis. It does not replace a manual penetration test performed by a security expert.
  • 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.