meltedinhex/analyst-ai-pack / skills/building-a-sample-management-workflow
building-a-sample-management-workflow
VerifiedEstablishes a disciplined malware sample repository: content-addressed storage by hash, encrypted/password-protected archiving, consistent metadata records, and chain-of-custody tracking so samples are reproducible and safe to handle. Activates for requests to organize a malware repository, manage samples, or track sample metadata and provenance.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 3.3 KB |
| references/api-reference.md | markdown | 1.1 KB |
| scripts/analyst.py | script | 2.4 KB |
references/api-reference.md
View on GitHub# API Reference: Building a Sample Management Workflow
## Overview
`scripts/analyst.py` performs idempotent content-addressed intake: it computes SHA-256, copies the
sample to a hash-derived path, writes a JSON metadata record, and appends a chain-of-custody log
entry. It reads inert bytes and never executes the sample.
## Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | hashlib, shutil, JSON, file IO |
## Core functions
### `intake(path, store, source, case, analyst)`
Stores the sample at `<store>/<aa>/<bb>/<sha256>`, writes `<sha256>.meta.json`, and appends to
`custody.log`. Returns the metadata record (with a `duplicate` flag).
## Usage
```bash
python scripts/analyst.py intake sample.bin --source "phishing-case-42" --store ./samples
```
## Sources
- NIST SP 800-86 Guide to Integrating Forensic Techniques into Incident Response —
https://csrc.nist.gov/pubs/sp/800/86/final
- MalwareBazaar sample conventions (hash-named, password-protected) — https://bazaar.abuse.ch/
- Content-addressed storage and chain-of-custody, general DFIR practice
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |