Skills sca-trivy
๐Ÿ“ฆ

sca-trivy

v0.1.0 Content revision r2 High Risk โš™๏ธ External commands๐ŸŒ Network access๐Ÿ“ Filesystem access

Scan Dependencies and Containers with Trivy

Security teams need consistent visibility into vulnerable components, images, and infrastructure configuration. This skill provides practical Trivy workflows for assessment, reporting, and remediation.

Supports: Claude Codex Code(CC)
โš ๏ธ 38 Poor

This skill is part of a pack

Install the whole pack to get every skill the task needs, in one command.

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "sca-trivy" from https://skillstore.io/skills/agentsecops-sca-trivy.md and its manifest at https://skillstore.io/api/skills/agentsecops-sca-trivy/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "sca-trivy". Review a Trivy container scan with critical findings.

Expected outcome:

  • Priority: replace the vulnerable base image with a patched release.
  • Next: upgrade affected packages, rebuild, and scan the immutable image digest.
  • Validation: confirm no critical findings remain before deployment.

Using "sca-trivy". Plan dependency scanning for a Node.js repository.

Expected outcome:

  • Scan the repository with the lock file present for accurate versions.
  • Report high and critical findings with installed and fixed package versions.
  • Rescan after updates and preserve the report as restricted CI evidence.

Using "sca-trivy". Prepare an SBOM workflow for a release image.

Expected outcome:

  • Generate CycloneDX and SPDX documents from the immutable release image.
  • Record the image digest and scanner database date with each artifact.
  • Restrict access because SBOMs can reveal internal component details.

Security Audit

High Risk
v9 โ€ข 7/23/2026 Open versioned report

All 73 static findings are false positives caused by Markdown code fences, inline code, reference links, and documented configuration paths. Semantic review found mutable CI references, credential exposure guidance, and an ineffective custom-policy gate. These examples require hardening before publication.

1
Files scanned
458
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (3)

High
Mutable CI Action References
The CI example uses mutable action references, including aquasecurity/trivy-action@master. A changed upstream ref could execute unreviewed code inside trusted CI.
The example directly uses a mutable master branch and mutable major-version action tags in a CI job.
Medium
Registry Credential Exposure Guidance
Authentication guidance exports TRIVY_PASSWORD and passes --password pass. Real substitutions can leak through shell history, process inspection, logs, or CI traces.
The documented commands explicitly place a password in an environment variable and command-line argument, both common credential exposure paths.
Medium
Ineffective Custom Policy Gate
The policy example labels --ignore-policy as enforcement but omits a failing exit code. Pipelines may report success while unacceptable findings remain.
The shown command filters with an ignore policy and provides no nonzero exit threshold, despite claiming to deny vulnerable images.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/agentsecops-sca-trivy/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/agentsecops-sca-trivy/security.svg)](https://skillstore.io/skills/agentsecops-sca-trivy?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/agentsecops-sca-trivy?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/agentsecops-sca-trivy/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/agentsecops-sca-trivy.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

AgentSecOps. (2026). sca-trivy security audit report (audit version 9) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/agentsecops-sca-trivy/audits/9

BibTeX citation

@techreport{agentsecops-agentsecops-sca-trivy-2026, author = {AgentSecOps}, title = {sca-trivy security audit report (audit version 9)}, institution = {Skillstore}, year = {2026}, number = {9}, url = {https://skillstore.io/skills/agentsecops-sca-trivy/audits/9}, note = {Author version 0.1.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "sca-trivy security audit report (audit version 9)" version: "0.1.0" type: report authors: - name: "AgentSecOps" date-released: "2026-07-23" url: "https://skillstore.io/skills/agentsecops-sca-trivy/audits/9" identifiers: - type: other value: "skillstore:agentsecops-sca-trivy:audit:9" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: Medium
55
Architecture
100
Maintainability
87
Content
72
Community
91
Spec Compliance

What You Can Build

Review Project Dependencies

Scan application manifests, prioritize vulnerable packages, and identify fixed versions before release.

Build a CI Security Gate

Add Trivy scanning, SARIF reporting, severity thresholds, and controlled exceptions to a delivery pipeline.

Prepare Supply Chain Evidence

Generate SBOMs and summarize vulnerability or license findings for governance reviews.

Try These Prompts

Scan a Project
Scan the current project with Trivy for HIGH and CRITICAL dependency vulnerabilities. Summarize affected packages, fixed versions, and recommended updates.
Assess a Container Image
Assess container image [image:tag] with Trivy. Prioritize exploitable vulnerabilities and recommend patched packages or a safer base image.
Review Infrastructure Configuration
Review [IaC path] with Trivy configuration scanning. Group misconfigurations by severity and propose precise changes without modifying files.
Design an Advanced CI Gate
Design a CI security gate for [platform] using Trivy SARIF output, immutable action references, severity thresholds, exceptions, and artifact retention.

Best Practices

  • Scan immutable image digests and record the Trivy database version.
  • Treat scan reports and SBOMs as sensitive artifacts with restricted retention.
  • Validate every suppression with ownership, expiration, and documented compensating controls.

Avoid

  • Do not rely only on severity while ignoring exploitability and deployment context.
  • Do not pass registry passwords on command lines or store them in project files.
  • Do not use mutable CI action branches or unpinned container tags in security gates.

Frequently Asked Questions

Does this skill install Trivy?
No. Install Trivy separately and confirm the command is available before using the workflows.
Can it scan private container images?
Yes, when Trivy can access the registry through a secure credential helper or protected CI secret.
Which report formats are covered?
The guide covers JSON, SARIF, CycloneDX, and SPDX output workflows.
Which programming languages are supported?
Trivy supports multiple ecosystems when recognized manifests and lock files are available. Coverage depends on the installed Trivy version.
Does the skill fix vulnerabilities automatically?
No. It helps prioritize updates and validation, but maintainers must review and apply changes.
Can Trivy run in an air-gapped environment?
Yes. Transfer a trusted database cache, use offline scanning, and maintain a controlled update process.

Developer Details

License

MIT

Author version

v0.1.0

Skillstore revision

r2

Ref

181fdefcafd96b041926e61c4b2e306ca7e7820e

Maintenance freshness

7/24/2026

Usage

12 downloads ยท 317 views

File structure

๐Ÿ“„ SKILL.md

More from AgentSecOps

View all
View all