Session Archiver

Security checks across static analysis, malware telemetry, and agentic risk

Overview

The skill matches its archiving purpose, but it silently persists chat transcripts and modifies startup behavior so background archiving can keep running.

Install only if you intentionally want automatic session archiving. Before using it, confirm where memory files are stored, whether sensitive chats should be excluded, how AGENTS.md will be changed, how cron/background runs are enabled, and how to disable or remove the archiver later.

Static analysis

No static analysis findings were reported for this release.

VirusTotal

VirusTotal findings are pending for this skill version.

View on VirusTotal

Risk analysis

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Future sessions may keep launching archive work in the background without a visible reply or fresh approval.

Why it was flagged

The script edits AGENTS.md to add future startup instructions that spawn a background subagent, creating persistent autonomous behavior after the script runs.

Skill content
const snippet = `5. **Session Auto-Archive** — Spawn background subagent to run `session-archiver` skill auto-archive script (archival + insights extraction, no reply needed)...`; fs.appendFileSync(AGENTS_MD, ...);
Recommendation

Require explicit user approval before editing AGENTS.md or enabling cron, document how to disable it, and provide a rollback command.

What this means

Private conversation content, accidental secrets, or adversarial instructions from a prior session could be retained and later influence the agent.

Why it was flagged

The script persists extracted user and assistant transcript text into daily memory files. It strips some metadata, but does not clearly quarantine instruction-like content or redact secrets.

Skill content
return `${roleLabel} ${item.text}`; ... fs.appendFileSync(MEMORY_FILE, archiveContent + ...);
Recommendation

Add explicit opt-in, sensitive-data redaction, clear exclusions, and a review/quarantine format for archived text before it becomes reusable memory.

What this means

Daily memory archive files older than 30 days may be removed without prompting.

Why it was flagged

The cleanup is scoped to dated .md files in the memory directory and is disclosed, but it still deletes user-visible archive files automatically.

Skill content
if (mtime < cutoff) { fs.unlinkSync(filePath); cleaned++; }
Recommendation

Make retention configurable and show users how to disable cleanup or recover from it.

What this means

It may be unclear to a user how the hourly background behavior is actually installed, audited, or disabled.

Why it was flagged

The artifacts describe hourly cron behavior in SKILL.md, but the install spec does not define a scheduler setup or removal path.

Skill content
No install spec — this is an instruction-only skill.
Recommendation

Publish an explicit setup/removal spec for any cron integration and keep metadata aligned with the runtime behavior.