Janitor

PendingStatic analysis audit pending.

Overview

No static analysis result has been recorded yet. Pattern checks will appear here once the artifact has been analyzed.

Findings (0)

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

Files may be moved, archived, deleted, or rewritten as part of cleanup before the user has reviewed the exact changes.

Why it was flagged

The skill directs the agent to perform broad workspace cleanup actions, not just produce a report, and does not require user approval before most mutations.

Skill content
Workflow
1. Receive maintenance task or run scheduled check
2. Scan workspace against checklists
3. Execute cleanup actions
Recommendation

Run this skill in dry-run/report-only mode by default, require explicit approval for every archive/delete/edit, and limit it to specific directories with clear exclusions.

ConcernMedium Confidence
ASI03: Identity and Privilege Abuse
What this means

Sensitive API key or configuration details could be read into agent context or accidentally included in maintenance reports.

Why it was flagged

The skill asks the agent to inspect API key/config information, but the metadata declares no credential contract and the instructions do not define secret redaction or output boundaries.

Skill content
- [ ] TOOLS.md — API keys and configs still accurate?
Recommendation

Restrict credential checks to non-secret metadata, require user confirmation before opening credential files, and explicitly redact secrets from reports and memory.

What this means

Incorrect, stale, or private information from daily notes could become part of future agent context.

Why it was flagged

The skill intentionally persists summarized information into reusable agent memory, which is purpose-aligned but can carry mistakes or sensitive details into future tasks.

Skill content
- [ ] Update MEMORY.md with distilled learnings from daily notes
Recommendation

Review memory diffs before saving, cite source notes, avoid secrets, and keep a reversible archive of prior MEMORY.md versions.

NoteMedium Confidence
ASI10: Rogue Agents
What this means

Cleanup could happen when the user is not actively supervising the workspace.

Why it was flagged

The skill is designed for background/scheduled maintenance; this is disclosed and purpose-aligned, but it increases risk when combined with file mutation authority.

Skill content
Don't use for urgent tasks — Janitor handles background hygiene.
Recommendation

Disable autonomous scheduling unless desired, and require interactive confirmation for any mutating background run.