trace-collection-assistant — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited trace-collection-assistant (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill helps collect, normalize, and structure execution traces produced by instrumented programs (strace, ltrace), making them suitable for downstream analysis such as debugging, reproduction, or verification. It converts raw trace output into structured JSON format and provides tools for filtering, cleaning, and extracting relevant information.
# 1. Capture trace
strace -o trace.txt python buggy_program.py
# 2. Parse to JSON
python scripts/parse_strace.py trace.txt -o trace.json --pretty
# 3. Extract errors
python scripts/extract_debug_info.py trace.json --category errors --pretty
# 4. Filter to relevant operations
python scripts/filter_trace.py trace.json --error-only --remove-noise -o filtered.json --pretty# 1. Capture trace
ltrace -o trace.txt ./program
# 2. Parse to JSON
python scripts/parse_ltrace.py trace.txt -o trace.json --pretty
# 3. Analyze specific functions
python scripts/filter_trace.py trace.json --include-calls "malloc,free,strlen" --prettyConvert raw trace output to normalized JSON format.
For strace:
python scripts/parse_strace.py <input_file> [--output <output_file>] [--pretty]For ltrace:
python scripts/parse_ltrace.py <input_file> [--output <output_file>] [--pretty]Both parsers produce the same normalized JSON structure (see references/json_schema.md for details).
Remove noise and focus on relevant operations.
Common filtering operations:
# Show only errors
python scripts/filter_trace.py trace.json --error-only --pretty
# Remove common noise syscalls
python scripts/filter_trace.py trace.json --remove-noise --pretty
# Include specific calls
python scripts/filter_trace.py trace.json --include-calls "open,read,write,close" --pretty
# Exclude specific calls
python scripts/filter_trace.py trace.json --exclude-calls "gettimeofday,clock_gettime" --pretty
# Filter by argument pattern
python scripts/filter_trace.py trace.json --arg-pattern "config.json" --pretty
# Combine filters
python scripts/filter_trace.py trace.json --error-only --remove-noise --arg-pattern "/etc" -o filtered.json --prettyExtract structured information for specific analysis tasks.
Extract all debug info:
python scripts/extract_debug_info.py trace.json --prettyExtract specific categories:
# File operations only
python scripts/extract_debug_info.py trace.json --category file --pretty
# Network operations only
python scripts/extract_debug_info.py trace.json --category network --pretty
# Process operations only
python scripts/extract_debug_info.py trace.json --category process --pretty
# Errors only
python scripts/extract_debug_info.py trace.json --category errors --prettyWhen debugging a failing program:
See references/analysis_guide.md for detailed debugging patterns.
When reproducing a bug:
See references/analysis_guide.md for reproduction workflows.
All tools produce JSON output following the normalized schema:
{
"trace_type": "strace",
"source_file": "trace.txt",
"total_calls": 1234,
"traces": [
{
"syscall": "open",
"arguments": ["\"/etc/passwd\"", "O_RDONLY"],
"return_value": "3",
"line_number": 42,
"raw_line": "open(\"/etc/passwd\", O_RDONLY) = 3"
}
]
}See assets/schema_template.json for the complete JSON schema definition.
--pretty flag for human-readable JSON output--remove-noise to filter out common irrelevant syscallsreferences/analysis_guide.md for common debugging patternsline_number field preserves execution order for sequence analysis~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.