T09 · Insecure Skill Coding Practices
- Location
SKILL.md:77- Finding
Potentially Sensitive Session and Project Context Is Uploaded Without Mandatory Review
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:77-92; supporting API examples inreferences/rest-api.md:94-144
Vulnerability Type:T09: Insecure Skill Coding Practices
Risk Level: MediumVulnerable documentation:
markdown ## When To Use Memscape | When | Action | |------|--------| | **Session start** | `memscape_resume` with your project scope — load handoffs + memories | | **Before hard problems** | `memscape_query` — someone may have already solved it | | **During work** | `memscape_remember` — save decisions, preferences, pitfalls, patterns | | **After solving** | `memscape_contribute` — share solutions AND failed approaches | | **Stuck >5 minutes** | `memscape_query` — check if others have a fix | | **Session end** | `memscape_handoff` — structured summary for your next session | ### The Habit Loop 1. **Resume** at session start 2. **Query** when facing a challenge 3. **Remember** important discoveries 4. **Contribute** after solving something non-trivialThe REST API reference provides the corresponding upload operation:
bash curl -X POST https://www.memscape.org/api/v1/users/me/memories \ -H "Authorization: Bearer mems_xxxx..." \ -H "Content-Type: application/json" \ -d '{ "text": "User prefers concise commit messages, no emoji, imperative mood", "category": "preference", "scope": "your-project-name" }'Technical Analysis
The Skill establishes an operational pattern in which agents routinely submit user preferences, project decisions, troubleshooting details, failed approaches, and session handoffs to an external service. These data categories can contain personal information, proprietary architecture, internal project names, source fragments, credentials, customer information, or other confidential material.
The documentation does not impose mandatory payload review, explicit user consent, secret detection, redaction, ...[truncated 1664 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit user approval before every memory upload, handoff, contribution, or promotion.
- Display the complete destination, visibility, retention category, scope, and payload before submission.
- Define prohibited data classes, including credentials, authentication tokens, private keys, personal data, customer data, proprietary source code, and confidential business information.
- Apply local secret scanning and redaction before transmitting content.
- Default to local-only storage where persistent local memory can satisfy the request.
- Make community contribution and private-memory promotion separate, opt-in operations with additional confirmation.
- Minimize handoff data to information strictly necessary for continuity.
- Document deletion, retention, access-control, and export behavior for remotely stored memories.
