security-audit-csv-reporting
Generate structured CSV security audit reports from vulnerability data with proper filtering, formatting, and field mapping.
Skill by cxcscmu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cxcscmu-security-audit-csv-reporting
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, data, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-audit-csv-reporting
What's inside
- Skill name
security-audit-csv-reporting- Description
- Generate structured CSV security audit reports from vulnerability data with proper filtering, formatting, and field mapping.
- License
- MIT
- Instructions
- 122 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Security Audit CSV Reporting
## Overview
Converting vulnerability data into CSV format for audit trails, compliance reporting, and stakeholder communication.
## CSV Schema
Standard security audit CSV columns:
```
Package,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url
```
### Field Definitions
| Column | Type | Description | Example |
|--------|------|-------------|---------|
| Package | String | Package/library name | lodash |
| Version | String | Installed version | 4.17.20 |
| CVE_ID | String | CVE identifier | CVE-2021-23337 |
| Severity | String | HIGH or CRITICAL | HIGH |
| CVSS_Score | Float/String | CVSS v3 score (0-10) | 7.5 or N/A |
| Fixed_Version | String | Version with fix or N/A | 4.17.21 |
| Title | String | Vulnerability title/description | Prototype Pollution |
| Url | String | Reference URL | https://nvd.nist.gov/vuln/detail/CVE-2021-23337 |
## Implementation Pattern
```python
import csv
import json
from typing import List, Dict
def generate_security_audit_csv(vulnerabilities: List[Dict], output_file: str):
"""
Generate security audit CSV from vulnerability data.
vulnerabilities: List of vulnerability dictionaries
output_file: Path to output CSV file
"""
fieldnames = ['Package', 'Version', 'CVE_ID', 'Severity',
'CVSS_Score', 'Fixed_Version', 'Title', 'Url']
with open(output_file, 'w', newline='') as csvfile:
writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
writer.writeheader()
for vuln in vulnerabilities:
row = {
'Package': vuln.get('package', 'N/A'),
'Version': vuln.get('version', 'N/A'),
'CVE_ID': vuln.get('cve_id', 'N/A'),
'Severity': vuln.get('severity', 'N/A'),
'CVSS_Score': vuln.get('cvss_score', 'N/A'),
'Fixed_Version': vuln.get('fixed_version', 'N/A'),
'Title': vuln.get('title', 'N/A'),
'Url': vuln.get('url', 'N/A')
}
writer.writerow(row)
```
## Filtering and Sorting
### Filter by Severity
```python
def filter_by_severity(vulnerabilities, severity_levels=['HIGH', 'CRITICAL']):
"""Filter vulnerabilities to only specified severity levels"""
return [v for v in vulnerabilities if v.get('severity') in severity_levels]
```
### Sort by Severity and CVSS
```python
def sort_vulnerabilities(vulnerabilities):
"""Sort by severity (CRITICAL first) then by CVSS score (descending)"""
severity_order = {'CRITICAL': 0, 'HIGH': 1}
def sort_key(vuln):
severity = severity_order.get(vuln.get('severity'), 2)
# Handle N/A CVSS scores
cvss = float(vuln.get('cvss_score', 0)) if vuln.get('cvss_score') != 'N/A' else 0
return (severity, -cvss)
return sorted(vulnerabilities, key=sort_key)
```
## Data Cleaning
### Sanitize CSV Fields
```python
def sanitize_field(value):
"""Sanitize field for CSV output"""
if value is None:
return 'N/A'
if isinstance(value, list):
return '; '.join(str(v) for v in value)
return str(value).strip()
def prepare_row(vuln_data):
"""Prepare vulnerability record for CSV output"""
return {k: sanitize_field(v) for k, v in vuln_data.items()}
```
## Usage
Use this skill when:
- Converting vulnerability scan results to audit format
- Creating compliance reports
- Sharing findings with stakeholders
- Building automated security audit pipelines
- Archiving vulnerability data for historical tracking
## Related Skills
- `trivy-vulnerability-scanning`: Source of vulnerability dataFrom cxcscmu/SkillLearnBench, MIT.
More from cxcscmu/SkillLearnBench
- 0.523score
skill-creator
cxcscmu
Create modular skill documents (SKILL.md files) for Claude Code.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
package-lock-parsing
cxcscmu
Parse and extract package information from npm package-lock.json files to identify dependencies and their installed versions.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
classical-poetry-peace-theme
cxcscmu
Compose classical Chinese poetry on peace themes using authentic imagery, perspective shifts, and the voice of ordinary people experiencing war's aftermath.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
github-metrics-processing
cxcscmu
Process GitHub API data to calculate PR/issue metrics including merge time averages, author rankings, and bug categorization.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
cvss-score-extraction
cxcscmu
Extract and handle CVSS scores from multiple vulnerability data sources (NVD, GHSA, RedHat) with proper fallback priority.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
trivy-vulnerability-scanning
cxcscmu
Use Trivy vulnerability scanner in offline mode to detect CVEs in npm dependencies and generate structured JSON reports.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
seven-char-regulated-verse
cxcscmu
Master the structure, tonal patterns, and rhyming requirements of classical seven-character regulated verse (七言律诗) in Chinese poetry.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
mandarin-rhyming-guide
cxcscmu
Master modern Mandarin pinyin finals and tone systems to create accurate rhymes for classical poetry following contemporary pronunciation standards.
SkillDFreshness: D★ 91Claude Code +9 - 0.512score
simpo-loss-function
cxcscmu
Implement SimPO loss with length-normalized rewards and target margin.
SkillDFreshness: D★ 91Claude Code +9 - 0.512score
python-pillow-graphics
cxcscmu
Create technical graphics, diagrams, and posters using Python Pillow library with precise color control and typography.
SkillDFreshness: D★ 91Claude Code +9 - 0.512score
jackson-deserialization-validation
cxcscmu
Securing Jackson JSON deserialization by validating input before processing and preventing unknown properties.
SkillDFreshness: D★ 91Claude Code +9 - 0.512score
scala-option-either
cxcscmu
Translating Python's None/Optional to Scala's Option, Either, and Try types
SkillDFreshness: D★ 91Claude Code +9
Signals
- Stars
- 91
- Forks
- 7
- Open issues
- 6
- Last commit (this folder)
- Apr 24, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/cxcscmu/SkillLearnBench
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cxcscmu
- 0.523score
skill-creator
cxcscmu
Create modular skill documents (SKILL.md files) for Claude Code.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
package-lock-parsing
cxcscmu
Parse and extract package information from npm package-lock.json files to identify dependencies and their installed versions.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
classical-poetry-peace-theme
cxcscmu
Compose classical Chinese poetry on peace themes using authentic imagery, perspective shifts, and the voice of ordinary people experiencing war's aftermath.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
mandarin-rhyming-guide
cxcscmu
Master modern Mandarin pinyin finals and tone systems to create accurate rhymes for classical poetry following contemporary pronunciation standards.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
cvss-score-extraction
cxcscmu
Extract and handle CVSS scores from multiple vulnerability data sources (NVD, GHSA, RedHat) with proper fallback priority.
SkillDFreshness: D★ 91Claude Code +9 - 0.515score
seven-char-regulated-verse
cxcscmu
Master the structure, tonal patterns, and rhyming requirements of classical seven-character regulated verse (七言律诗) in Chinese poetry.
SkillDFreshness: D★ 91Claude Code +9
Cite this page
security-audit-csv-reporting skill. Agent Mart. https://agentmart.dev/skills/cxcscmu-security-audit-csv-reporting (last updated 2026-10-24)