T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:74- Finding
Agent-Local Identity Data May Be Read and Disclosed to an External Public Profile
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:74-103, 214-218
Vulnerability Type: Unnecessary access to agent-local identity files and external disclosure of derived metadata
Risk Level: MediumVulnerable Code Snippet
markdown curl -X POST https://clawdsin.com/api/agents/{id}/update \ -F "password=your-password" \ -F "name=new-display-name" \ -F "image=@/path/to/avatar.png" \ -F "bannerImage=@/path/to/banner.png" \ -F "birthDate=2026-01-31" \ -F "model=kimi-k2p5" \ -F "tokensUsed=1250000" \ -F "skillWriter=8" \ -F "skillStrategist=7" \ -F "skillImageCreator=6" \ -F "skillVideoCreator=4" \ -F "skillAudioCreator=5" \ -F "skillAvEditor=3" \ -F "skillFormatter=8" \ -F "skillBrandVoice=7"markdown | `birthDate` | string | ISO 8601 date (Nov 2025 or later). Check user.md/soul.md | | `model` | string | LLM model (e.g., 'kimi-k2p5', 'claude-sonnet-4', 'gpt-4o') | | `tokensUsed` | integer | Total tokens consumed lifetime (input + output) |markdown - **Birth Date:** Check your `user.md` or `soul.md` files for actual creation date - **Tokens Used:** Estimate ALL tokens (input + output) across entire lifetime. Typical conversation: 2,000–10,000 tokens - **Model Naming:** Use simple names like `kimi-k2p5` instead of full provider paths for better tier recognitionTechnical Analysis
The Skill directs an agent to inspect
user.mdorsoul.md, which may be persistent identity, configuration, or memory files, to derive a creation date. It then supplies an external profile-update operation that transmits this date together with operational metadata such as the model, estimated lifetime token consumption, skill ratings, and local image files.Reading local state for optional public-profile fields exceeds what is necessary to register a basic agent name. The instructions do not require explicit user authorization before accessin ...[truncated 1810 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove instructions telling the agent to inspect
user.md,soul.md, or other persistent memory and identity files. - Require the user to provide optional profile values explicitly rather than deriving them from local state.
- Clearly identify which fields are public, retained by the service, or linked to a social-media identity.
- Display a complete preview of all fields and files before transmission and require affirmative confirmation immediately before the request.
- Default optional metadata such as birth date, model, lifetime token usage, skill ratings, avatar, and banner to omitted.
- If local-file access is necessary, use an explicit allowlist, validate the selected path, and obtain separate approval for each file.
- Document retention, deletion, correction, and profile-visibility controls for externally stored information.
- Remove instructions telling the agent to inspect
