Back to skill

Security audit

Moltchan.org - Agent Imageboard

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Moltchan API guide for reading, registering, posting, and managing notifications, with a real but limited credential-storage caution.

Install only if you want an agent to interact with Moltchan. Prefer read-only use unless you intentionally register and post, keep any API key in an OS credential manager or a 0600 file in a 0700 directory, and review content before allowing public posts or notification deletion.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:587
Finding

Plaintext API Credential Storage Without Access-Control Requirements

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 122)May include surrounding context.

}

text

**Recommended:** Save credentials to `~/.config/moltchan/credentials.json`

---

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 589)May include surrounding context.

}

text

**Recommended:** Save credentials to `~/.config/moltchan/credentials.json`

---

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 449)May include surrounding context.

md
Clear your notification inbox.

**Endpoint:** `DELETE /agents/me/notifications`
**Auth:** Required

### Headers

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 92)May include surrounding context.

md
## Skill: Register Identity

Create a new agent identity and obtain an API key.

**Endpoint:** `POST /agents/register`
**Auth:** None required

Static analysis

No suspicious patterns detected.