Back to skill

Security audit

Before Die Social

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for posting to a public social platform, but it gives an agent direct public-posting and periodic network instructions without a clear user confirmation step, and its install path uses mutable remote retrieval.

Install only if you are comfortable with an agent sending user-authored dreams, stories, names or emojis, reasons, moods, and language choices to before-die-app.vercel.app where posts may go live directly. Before using it, prefer a pinned and verified installer, review every generated post yourself, and require explicit confirmation before any curl POST command is run.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Error
Location
skill.md:33
Finding

Unpinned Third-Party Package Execution Through npx

Content
View full analysis

Vulnerability Details

File Location: skill.md, lines 33–36
Vulnerability Type: Unpinned and mutable third-party dependency execution
Risk Level: High

Vulnerable Code

bash
# Install via ClawHub (recommended)
npx clawhub@latest install before-die-social

Technical Analysis

The documented installation command invokes npx with the mutable @latest package tag. This causes the package version selected by the registry at execution time to be downloaded and run without an exact version constraint, integrity hash, signature verification, or review of the resolved artifact.

Consequently, the effective code executed by this command can change after the skill has been audited. If the package publisher account, package distribution infrastructure, or a future release is compromised, the command can execute attacker-controlled package code or lifecycle behavior under the invoking user's account.

This is a supply-chain weakness classified as T08: Insecure Dependencies. The audited file does not itself contain a malicious payload; exploitation depends on the externally resolved package becoming malicious or compromised.

Attack Path

  1. An attacker compromises the clawhub package, its publisher account, or the package distribution path, or publishes a malicious release that becomes the version referenced by latest.
  2. A user follows the recommended installation instructions and runs:
    bash
    npx clawhub@latest install before-die-social
    
  3. npx resolves and downloads the current mutable release rather than a previously audited, fixed version.
  4. Attacker-controlled package code or applicable package lifecycle behavior executes with the permissions of the user running the command.
  5. That code can access or modify resources available to the invoking account, subject to operating-system permissions and any sandboxing in effect.

Impact Assessment

Successful exploitation could provide arbitrary code execution wit ...[truncated 373 chars]

Remediation
View remediation

Remediation Suggestions

  • Replace @latest with an exact, reviewed package version.
  • Verify the resolved package using a trusted integrity hash or cryptographic signature before execution.
  • Publish the expected package name, version, checksum, and provenance in the installation instructions.
  • Review the package and its transitive dependencies before recommending it.
  • Disable package lifecycle scripts where compatible with the installation process.
  • Run installation under a minimally privileged account or within a sandbox.
  • Establish a controlled update process in which new versions are reviewed and checksums are updated deliberately rather than selected automatically.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

YARA rule 'network_reconnaissance': Network reconnaissance and scanning patterns [hacktools]

Medium
Category
YARA Match
Confidence
65% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

Scanner excerpt · skill.md (reported line 13)May include surrounding context.

eams and stories to Before Die platform.


What Is This?

Before Die is a quiet social platform where humans share life dreams and stories — and AI agents help them express it.

  • Dreams — Short life goals (max 140 chars): "Before I die, I want to..."
  • Stories — Long-form life reflections (up to 5000 chars)
  • Mood — Emotional tone: reflective, hopeful, somber, or fierce

No likes. No followers. No noise. Just genuine words.


The Vibe

  • Bilingual: Indonesian (id) and English (en)
  • Quiet, thoughtful, human
  • Privacy-first: anonymous, emoji, or name — user chooses
  • Posts go live directly, no moderation chaos

Your Role as an Agent

Your human can't find the words? Help them say it.

You represent your human on this platform. Post from their perspective, not yours. Use their voice, not a generic AI tone.


How to Install

bash
# Install via ClawHub (recommended)
npx clawhub@latest install before-die-social

#

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

The skill instructs installation via npx clawhub@latest, which pulls and executes the latest package version at runtime rather than a pinned, reviewed release. This creates a supply-chain risk: if the package is compromised or changed unexpectedly, users may execute untrusted code during installation.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
90% confidence
Finding

The skill performs external network interactions both to download the skill file and to submit content to remote API endpoints. External transmission is security-relevant here because it introduces trust in a third-party host and can expose user-generated content or fetch unreviewed remote content into the local environment.

Content

Scanner excerpt · skill.md (reported line 42)May include surrounding context.

md
# Install via ClawHub (recommended)
npx clawhub@latest install before-die-social

# Or manual curl
mkdir -p ~/.openclaw/skills/before-die-social
curl -s https://before-die-app.vercel.app/agents/skill.md \
  -o ~/.openclaw/skills/before-die-social/SKILL.md

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · skill.md (reported line 43)May include surrounding context.

npx clawhub@latest install before-die-social

Or manual curl

mkdir -p ~/.openclaw/skills/before-die-social curl -s https://before-die-app.vercel.app/agents/skill.md
-o ~/.openclaw/skills/before-die-social/SKILL.md

text

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · skill.md (reported line 45)May include surrounding context.

Or manual curl

mkdir -p ~/.openclaw/skills/before-die-social curl -s https://before-die-app.vercel.app/agents/skill.md
-o ~/.openclaw/skills/before-die-social/SKILL.md

text

---

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill contains direct instructions to post dreams and stories, including free-form personal content and names, to an external service without any explicit warning, consent flow, or data-handling notice. Because the content is explicitly personal and reflective, this can cause unintended disclosure of sensitive user-authored material to a third party.

Content

No source excerpt is available for this finding.