archive-file-triage

Identify, inspect, and extract unknown archives into task-scoped directories.

81|14|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/guaidao2/XuanMu-RedTeam-Agent --skill archive-file-triage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: archive-file-triage
Source: https://github.com/guaidao2/XuanMu-RedTeam-Agent/tree/main/sandbox/.agents/skills/archive-file-triage
Command: npx skills add https://github.com/guaidao2/XuanMu-RedTeam-Agent --skill archive-file-triage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps safely identify, inspect, and extract provided archives or unknown files without executing untrusted content or risking uncontrolled filesystem changes.

Core Features & Use Cases

  • File Identification: Determine file types and sizes before taking further action.
  • Archive Inspection: List archive contents, extract into task-scoped directories, and check for path traversal, symlinks, nested archives, and excessive expansion.
  • Evidence Reporting: Record hashes, commands, output locations, notable paths, suspicious behavior, and investigation limitations for security reviews and forensic workflows.

Quick Start

Use the archive-file-triage skill to safely inspect the provided archive, report its type and size, list its contents, and extract it into a task-scoped directory without executing extracted files.

Frequently Asked Questions about archive-file-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely inspect an unknown archive file without executing its contents?

Safely inspecting an unknown archive involves identifying its format and size, listing contents, and extracting files into a task-scoped directory. This prevents executing untrusted content while checking for path traversal and uncontrolled filesystem changes.

What is file triage in forensic analysis and security testing?

File triage in forensic analysis is the process of identifying file types, inspecting archive contents, extracting bounded outputs, and recording evidence like hashes. It ensures suspicious artifacts are handled safely without risking uncontrolled filesystem expansion.

How do I extract archives while preventing path traversal and symlink attacks?

Preventing path traversal and symlink attacks during archive extraction requires extracting into task-scoped directories with explicit safeguards against malicious paths, nested archives, and excessive file counts. This limits uncontrolled expansion and protects the filesystem.

Does archive triage work with firmware packages and source code bundles?

Yes, archive triage works with firmware packages, source packages, evidence bundles, and suspicious artifacts. It identifies formats, inspects contents, and records relevant evidence applicable to security testing and forensic analysis workflows.

What's the best way to record evidence and hashes for extracted files?

Recording evidence for extracted files involves generating hashes, logging commands used, noting output locations and notable paths, and documenting suspicious behavior and investigation limitations for security reviews and forensic workflows.

When should I avoid extracting nested archives during file inspection?

Avoid extracting nested archives when they cause excessive file counts or uncontrolled expansion. Archive triage safeguards against these by bounding outputs and checking for nested archives to prevent uncontrolled filesystem changes during inspection.