Repository Analysis

kubescape/kubescape

Kubescape is an open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters. It includes risk analysis, security, compliance, and misconfiguration scanning, saving Kubernetes users and administrators precious time, effort, and resources.

4.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kubescape/kubescape, a Go project with 11,531 GitHub stars. SynthScan v2.0 examined 122,504 lines of code across 613 source files, recording 144 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
11.5K
Stars
Go
Language
122.5K
Lines of Code
613
Files
144
Pattern Hits
2026-07-14
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 58HIGH 0MEDIUM 11LOW 75

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 144 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators58 hits · 390 pts
SeverityFileLineSnippetContext
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml84 object.kind != kind) || object.spec.template.spec.volumes.all(vol, !(has(vol.hostPath)))'CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml86 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.volumes.all(vol,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml138 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml142 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, params.settings.iCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml216 ['Deployment','ReplicaSet','DaemonSet','StatefulSet', 'Job'].all(kind, object.kind != kind) || object.spec.templatCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml224 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, !(has(container.sCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml282 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml285 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml341 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml345 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml401 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml405 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, has(container.resCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml458 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml462 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml517 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml522 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml575 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml578 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml671 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || !has(object.spec.temCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml712 object.kind != 'CronJob' || !has(object.spec.jobTemplate.spec.volumes) || object.spec.jobTemplate.spec.template.spCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1007 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1019 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, !has(container.poCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1079 object.kind != kind) || !object.spec.template.spec.containers.exists(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1082 - expression: object.kind != 'CronJob' || !object.spec.jobTemplate.spec.template.spec.containers.exists(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1139 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1147 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.volumes.all(vol, !(has(vol.hostPath)) || obCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1207 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1211 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, params.settings.iCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1263 object.kind != kind) || !has(object.spec.template.spec.volumes) || object.spec.template.spec.volumes.all(vol,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1267 || object.spec.jobTemplate.spec.template.spec.volumes.all(vol, !(has(vol.hostPath)))CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1322 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1326 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1378 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || (has(object.spec.temCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1381 object.kind != 'CronJob' || (has(object.spec.jobTemplate.metadata.annotations) && object.spec.jobTemplate.metadataCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1431 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1434 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1491 ['Deployment','ReplicaSet','DaemonSet','StatefulSet', 'Job'].all(kind, object.kind != kind) || object.spec.templatCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1499 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, !(has(container.sCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1604 object.kind != kind) || object.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1607 - expression: object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container,CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1688 ['Deployment','ReplicaSet','DaemonSet','StatefulSet', 'Job'].all(kind, object.kind != kind) || !(has(object.spec.tCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1696 object.kind != 'CronJob' || !(has(object.spec.jobTemplate.spec.volumes)) || object.spec.jobTemplate.spec.template.CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1760 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1771 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, !(CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1847 !(object.spec.template.metadata.labels.all(label, params.settings.recommendedLabels.all(CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1862 !(object.spec.jobTemplate.metadata.labels.all(label, params.settings.recommendedLabels.all(CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1935 !(object.spec.template.metadata.labels.all(label, params.settings.k8sRecommendedLabels.all(CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml1950 !(object.spec.jobTemplate.metadata.labels.all(label, params.settings.k8sRecommendedLabels.all(CODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2013 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2021 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, params.settings.iCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2081 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2085 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2141 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2145 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2201 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2205 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2261 ['Deployment','ReplicaSet','DaemonSet','StatefulSet','Job'].all(kind, object.kind != kind) || object.spec.templateCODE
CRITICAL…l/vapdata/kubescape-validating-admission-policies.yaml2265 object.kind != 'CronJob' || object.spec.jobTemplate.spec.template.spec.containers.all(container, (!(!(has(containeCODE
Over-Commented Block50 hits · 50 pts
SeverityFileLineSnippetContext
LOWcore/core/patch_integration_test.go1//go:build integration_patchCOMMENT
LOWcore/cautils/operatorscaninfo.go121COMMENT
LOWcore/cautils/scancoverage.go21 // PolicyDegradations records policy inputs (control configurations,COMMENT
LOWcore/cautils/scancoverage.go121// ResourceToControlsMap, timedOutControls, and any partial GVR pull failuresCOMMENT
LOW…/testdata/kustomize/helm/charts/test-chart/values.yaml1# Empty default values for test-chart fixture used by TestKustomizeDirectoryWithHelmCharts.COMMENT
LOWcore/cautils/getter/doc.go1// Package getter provides functionality to retrieve policy objects.COMMENT
LOWcore/cautils/helmprovenance/helmprovenance.go1// Package helmprovenance recovers a best-effort link from a rendered HelmCOMMENT
LOWcore/cautils/helmprovenance/helmprovenance.go21 "strings"COMMENT
LOWcore/cautils/helmprovenance/helmprovenance.go41 // TemplateLine is the 1-based line of the first apiVersion: occurrenceCOMMENT
LOWcore/cautils/helmprovenance/helmprovenance.go81 // .Values.foo.bar — captures the trailing ".foo.bar" segment.COMMENT
LOWcore/pkg/opaprocessor/cel/env.go1// Package cel implements the CEL evaluation engine for Kubescape. It compilesCOMMENT
LOWcore/pkg/opaprocessor/cel/env.go21// breaking the equivalence guarantee. Always extend the base set; never replaceCOMMENT
LOWcore/pkg/opaprocessor/cel/env.go41 // A standard, first-class VAP variable; the apiserverCOMMENT
LOWcore/pkg/opaprocessor/cel/catalog.go1package celCOMMENT
LOWcore/pkg/opaprocessor/cel/loader.go41COMMENT
LOWcore/pkg/opaprocessor/cel/loader.go81// bundle never changes at runtime.COMMENT
LOWcore/pkg/opaprocessor/cel/loader.go161// else. The bundle is a mixed stream synced from cel-admission-library, whichCOMMENT
LOWcore/pkg/opaprocessor/cel/evaluator.go21COMMENT
LOWcore/pkg/opaprocessor/cel/evaluator.go81}COMMENT
LOWcore/pkg/opaprocessor/cel/evaluator.go101// - a variable that errors but is never referenced does not affect the objectCOMMENT
LOWcore/pkg/opaprocessor/cel/stub.go21// - namespaceObject is the resource's Namespace object, or nil when theCOMMENT
LOWcore/pkg/opaprocessor/cel/stub.go41//COMMENT
LOWcore/pkg/containerscan/gojayunmarshaller.go201 return 0COMMENT
LOWcore/pkg/containerscan/datastructures.go21var KnownSeverities = map[string]bool{COMMENT
LOWcore/pkg/containerscan/datastructures.go41// fmt.Println(result) // Output: 1COMMENT
LOWcore/pkg/reportcrypto/decrypt.go41 masterKey,COMMENT
LOWcore/pkg/reportcrypto/decrypt.go241//COMMENT
LOWcore/pkg/anonymizer/anonymizer.go41// The DEK is wrapped using the supplied master key (KEK)COMMENT
LOWcore/pkg/policyhandler/cache_bug_test.go261//COMMENT
LOWhttphandler/docs/docs.go1// Package classification Kubescape MicroserviceCOMMENT
LOWhttphandler/handlerequests/v1/requestparser.go21 // Do not delete results after returning (relevant only for synchronous requests)COMMENT
LOWhttphandler/handlerequests/v1/requestparser.go41 //COMMENT
LOWhttphandler/handlerequests/v1/requestshandler_test.go141 }COMMENT
LOWhttphandler/handlerequests/v1/requestshandler_test.go161// httpHandler.Status(nil, request)COMMENT
LOWhttphandler/handlerequests/v1/results_handler_test.go21// completely uncovered. Those branches govern:COMMENT
LOWexamples/helm_chart/Chart.yaml21# to the chart and its templates, including the app version.COMMENT
LOWexamples/helm_chart/values.yaml1# Default values for kubescape.COMMENT
LOWexamples/online-boutique/emailservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/checkoutservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/recommendationservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/frontend.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/paymentservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/productcatalogservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/cartservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/loadgenerator.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/currencyservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/shippingservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/redis.yaml1# Copyright 2018 Google LLCCOMMENT
LOWexamples/online-boutique/adservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOW.github/workflows/scorecard.yml41 with:COMMENT
Decorative Section Separators6 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMexamples/helm_chart/values.yaml6# ┌────────────── timezone (optional)COMMENT
MEDIUMexamples/helm_chart/values.yaml7# | ┌───────────── minute (0 - 59)COMMENT
MEDIUMexamples/helm_chart/values.yaml8# | │ ┌───────────── hour (0 - 23)COMMENT
MEDIUMexamples/helm_chart/values.yaml9# | │ │ ┌───────────── day of the month (1 - 31)COMMENT
MEDIUMexamples/helm_chart/values.yaml10# | │ │ │ ┌───────────── month (1 - 12)COMMENT
MEDIUMexamples/helm_chart/values.yaml11# | │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;COMMENT
Redundant / Tautological Comments16 hits · 16 pts
SeverityFileLineSnippetContext
LOWcore/cautils/getter/testdata/NSA.json617 "rule": "package armo_builtins\n\n\n# Check if container has limits\ndeny[msga] {\n \tpods := [pod | pod = inCODE
LOWcore/cautils/getter/testdata/NSA.json1687 "rule": "package armo_builtins\n\ndeny[msga] {\n\tdeployment := input[_]\n\tdeployment.kind == \"Deployment\"\CODE
LOWcore/cautils/getter/testdata/NSA.json1747 "rule": "package armo_builtins\nimport data.cautils as cautils\n\n# Check if audit logs is enabled for GKE\ndeCODE
LOWcore/cautils/getter/testdata/NSA.json1790 "rule": "package armo_builtins\nimport data.cautils as cautils\n\n# Check if audit logs is enabled for nativeCODE
LOWcore/cautils/getter/testdata/NSA.json1850 "rule": "package armo_builtins\n\n\n# Check if encryption in etcd in enabled for EKS\ndeny[msga] {\n\tcluster_CODE
LOWcore/cautils/getter/testdata/NSA.json1893 "rule": "package armo_builtins\n\nimport data.cautils as cautils\n\n# Check if encryption in etcd is enabled fCODE
LOWcore/cautils/getter/testdata/NSA.json1955 "rule": "package armo_builtins\n\n\n# Check if PSP is enabled for GKE\ndeny[msga] {\n\tcluster_config := inputCODE
LOWcore/cautils/getter/testdata/NSA.json1998 "rule": "package armo_builtins\n\n\n# Check if psp is enabled for native k8s\ndeny[msga] {\n\tapiserverpod := CODE
LOWcore/cautils/getter/testdata/MITRE.json2251 "rule": "package armo_builtins\n\ndeny[msga] {\n\tdeployment := input[_]\n\tdeployment.kind == \"Deployment\"\CODE
LOWcore/cautils/getter/testdata/MITRE.json2311 "rule": "package armo_builtins\nimport data.cautils as cautils\n\n# Check if audit logs is enabled for GKE\ndeCODE
LOWcore/cautils/getter/testdata/MITRE.json2354 "rule": "package armo_builtins\nimport data.cautils as cautils\n\n# Check if audit logs is enabled for nativeCODE
LOWcore/cautils/getter/testdata/MITRE.json2414 "rule": "package armo_builtins\n\n\n# Check if encryption in etcd in enabled for EKS\ndeny[msga] {\n\tcluster_CODE
LOWcore/cautils/getter/testdata/MITRE.json2457 "rule": "package armo_builtins\n\nimport data.cautils as cautils\n\n# Check if encryption in etcd is enabled fCODE
LOWcore/cautils/getter/testdata/MITRE.json2517 "rule": "package armo_builtins\n\n\n# Check if PSP is enabled for GKE\ndeny[msga] {\n\tcluster_config := inputCODE
LOWcore/cautils/getter/testdata/MITRE.json2560 "rule": "package armo_builtins\n\n\n# Check if psp is enabled for native k8s\ndeny[msga] {\n\tapiserverpod := CODE
LOWsmoke_testing/test_version.py24 # Check if RELEASE (with or without 'v' prefix) is in the outputCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcmd/vap/vap.go32 # Create a policy binding by Kubescape control IDCOMMENT
MEDIUMcmd/vap/vap.go34 # Create a policy binding by ValidatingAdmissionPolicy nameCOMMENT
MEDIUMexamples/cloud-vendor-integration/aws.sh35# Create a kubescape policyCOMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOWcore/pkg/reportcrypto/decrypt_test.go63 "John Doe",CODE
LOWcore/pkg/reportcrypto/decrypt_test.go164 "John Doe",CODE
LOWcore/pkg/reportcrypto/decrypt_test.go356 "John Doe",CODE
LOWcore/pkg/reportcrypto/decrypt_test.go452 "John Doe",CODE
LOWcore/pkg/anonymizer/session_test.go840 CommitterName: "John Doe",CODE
LOWcore/pkg/anonymizer/session_test.go956 CommitterName: "John Doe",CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcore/pkg/hostsensorutils/utils_test.go57 // Essentially, unless we hit some extreme edge case, we never get an error to be added to the map.COMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsmoke_testing/smoke_utils.py17 except Exception as e:CODE
MEDIUMsmoke_testing/smoke_utils.py7def run_command(command, stdin=subprocess.PIPE, stderr=subprocess.STDOUT):CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcore/core/initutils_test.go450 }, // TODO: Add test "If CloudReportURL is set"CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsmoke_testing/test_scan.py52def scan_all_format_pretty_printer(kubescape_exec: str):CODE