Skip to content

codacy issues fix commit 2

41cedbc
Select commit
Loading
Failed to load commit list.
Draft

feature: container-scan command to trivy scan containers #191

codacy issues fix commit 2
41cedbc
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 20, 2026 in 0s

2 new security issues (0 max.).

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- cli-v2.go  1
- cmd/container_scan.go  63
         

Clones added
============
- cmd/container_scan.go  2
         

See the complete overview on Codacy

Annotations

Check failure on line 182 in cmd/container_scan.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

cmd/container_scan.go#L182

Detected non-static command inside Command.

Check failure on line 182 in cmd/container_scan.go

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

cmd/container_scan.go#L182

OS command injection is a critical vulnerability that can lead to a full system compromise as it may allow an adversary to pass in arbitrary commands or arguments to be executed.