๐Ÿฆ Shrink โ€” Three-Tier Multimodal Context Optimizer

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

Overview

Shrink appears purpose-aligned and disclosed, but it legitimately uses Anthropic credentials, sends session images/context to Anthropic, and rewrites OpenClaw session history, so users should review the scope before running it.

Before installing, make sure you are comfortable with the skill reading OpenClaw session files and Anthropic credentials, sending selected images and context to Anthropic, and modifying session history. Use dry-run first, keep backups enabled, avoid all-sessions unless intended, and verify generated descriptions for important or sensitive images.

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.

#
ASI03: Identity and Privilege Abuse
Medium
What this means

The skill may spend or use Anthropic account credentials already stored for an OpenClaw agent.

Why it was flagged

The skill can use local Anthropic credentials from OpenClaw auth profiles, not only an explicit environment variable. This is disclosed and purpose-aligned for the vision API, but it is still sensitive account access.

Skill content
If not set, the script reads keys from ~/.openclaw/agents/<agentId>/agent/auth-profiles.json
Recommendation

Prefer a dedicated Anthropic API key with limited intended use, confirm the target agent, and review/rotate stored credentials if you are uncomfortable with this access.

#
ASI06: Memory and Context Poisoning
Medium
What this means

Private screenshots or conversation details may be shared with Anthropic, and future agent behavior may rely on the generated replacement descriptions.

Why it was flagged

The skill sends potentially private session images and nearby conversation text to an external model, then stores generated descriptions back into the persistent session history.

Skill content
Images and surrounding conversation context (up to 10 preceding messages) are sent to the Anthropic vision API for description generation.
Recommendation

Use dry-run first, avoid processing highly sensitive images unless acceptable, consider the --redact option, and keep backups until you verify the generated descriptions.

#
ASI02: Tool Misuse and Exploitation
Medium
What this means

Running live shrink changes what agents will later see in their session history.

Why it was flagged

The skill has file-mutation authority over OpenClaw session history. The behavior is disclosed, scoped to the stated purpose, and mitigated by backups and dry-run/confirmation flow.

Skill content
writes modified JSONL files (replaces image blocks with text) ... creates .bak backup files before writing
Recommendation

Review dry-run output, keep backups enabled, and use --all-sessions only when you intentionally want broader changes.

#
ASI08: Cascading Failures
Low
What this means

Choosing Apply Now can briefly interrupt all agents.

Why it was flagged

The optional apply step restarts the gateway and affects all agents, not only the shrunk session. The artifact explicitly says this is user-initiated and must be warned about.

Skill content
Apply Now โ†’ run `openclaw gateway restart` (~5 sec downtime, all agents reload clean)
Recommendation

Only use Apply Now when a short all-agent reload is acceptable; otherwise choose Apply Later.

#
ASI09: Human-Agent Trust Exploitation
Low
What this means

A user might overtrust generated descriptions and rely on them instead of verifying important visual details.

Why it was flagged

The documentation strongly claims lossless preservation even though replacing images with model-generated descriptions can miss or misstate details. Backups reduce the risk, but users should not treat the descriptions as guaranteed perfect.

Skill content
96-99% token reduction. Zero information loss.
Recommendation

Keep .bak files, inspect important outputs, and retain original images/session backups when accuracy matters.

#
ASI04: Agentic Supply Chain Vulnerabilities
Info
What this means

It is harder to independently verify the publisher or compare the installed files to an upstream release.

Why it was flagged

The registry metadata does not provide a verified source or homepage, although the supplied artifacts include the local script and no remote install mechanism.

Skill content
Source: unknown; Homepage: none
Recommendation

Install only if you trust the ClawHub package and publisher; if needed, compare the package contents with the project links in the README.