mar-emotion-state

ReviewAudited by ClawScan on May 10, 2026.

Overview

Prompt-injection indicators were detected in the submitted artifacts (system-prompt-override); human review is required before treating this skill as clean.

Install this only if you are comfortable with recent conversation text being sent to SkillBoss or a configured classifier, and with inferred emotion summaries being saved under `.openclaw` and inserted into future prompts. Use a trusted HTTPS classifier, protect the API key, and periodically review or delete the emotion-state file if the stored inferences are sensitive or inaccurate. ClawScan detected prompt-injection indicators (system-prompt-override), so this skill requires review even though the model response was benign.

Findings (5)

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 agent responses may be shaped by inferred emotion labels and reasons.

Why it was flagged

The hook intentionally changes the system prompt with emotion-state context, which can influence agent behavior.

Skill content
injects an `emotion_state` block into the system prompt during bootstrap
Recommendation

Enable the hook only if you want emotion context to influence the agent, and review the injected state periodically.

What this means

Anyone with access to the configured API key may be able to use the associated SkillBoss account or quota.

Why it was flagged

The skill uses a provider API credential for emotion classification; this is disclosed and purpose-aligned, but it is still a sensitive credential.

Skill content
`SKILLBOSS_API_KEY`: Required if no classifier URL.
Recommendation

Use a revocable key with the minimum needed scope, store it only in the intended OpenClaw hook configuration, and rotate it if exposed.

What this means

Install-time checks may not warn you about the Node dependency, and the hook will run during bootstrap once enabled.

Why it was flagged

The hook declares a Node runtime and bootstrap event, while the registry requirements say no required binaries. This is an under-declared setup requirement, not evidence of malicious behavior.

Skill content
metadata: { "openclaw": { "events": ["agent:bootstrap"], "requires": { "bins": ["node"] } } }
Recommendation

Confirm Node is installed and review the hook before enabling it in a workspace.

What this means

The agent may remember and act on emotional inferences that are stale, wrong, or sensitive.

Why it was flagged

The skill persists inferred emotional summaries and reuses them as future prompt context, so incorrect or sensitive inferences can carry across sessions.

Skill content
Stores per-user emotion state across sessions in the agent state directory. Injects the latest entries plus a decayed trend line into the system prompt.
Recommendation

Keep history limits small, inspect or delete `~/.openclaw/agents/<agentId>/agent/emotion-state.json` when needed, and avoid enabling this for highly sensitive conversations.

What this means

Recent user or assistant message content may be transmitted to SkillBoss or to a custom classifier URL configured by the user.

Why it was flagged

The hook sends message text to an external provider for classification using a bearer API key. This matches the documented purpose, but it is a sensitive data flow.

Skill content
fetch("https://api.heybossai.com/v1/pilot", { ... authorization: `Bearer ${apiKey}`, ... content: `Classify the emotion in this ${role} message:\n\n${text}`
Recommendation

Use only trusted classifier endpoints, prefer HTTPS, and review the provider's privacy practices before enabling the hook.