T09 · Insecure Skill Coding Practices
- Location
SKILL.md:45- Finding
API Credential May Be Sent to an Unvalidated CMS Endpoint
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly describes an autonomous publishing pipeline, but it can publish live CMS content, commit repository changes, and continue across sessions with too little explicit user control.
Install only if you want an agent to run an autonomous editorial pipeline against a real Payload CMS. Use a staging CMS or narrowly scoped API key, verify the CMS URL before use, and require manual confirmation before publishing, committing, or allowing loop continuation.
SKILL.md:45API Credential May Be Sent to an Unvalidated CMS Endpoint
The skill advertises autonomous execution as the default and later includes file writes, CMS publication, API mutations, and git commits, but it does not present an upfront warning or consent gate for these side effects. This is dangerous because users may invoke it expecting content assistance while the agent performs irreversible or externally visible actions, including publishing and repository changes.
The README explicitly advertises that the skill will publish directly to Payload CMS and perform a git commit, but it does not warn users that invoking the pipeline can cause live, state-changing side effects. In an autonomous agent setting, unclear documentation around destructive or production-affecting actions increases the risk of accidental publication, unintended repository changes, and unsafe execution with production credentials.
The trigger phrases are broad and overlap with normal conversation such as 'publish', 'journal', 'write an article', and 'what should we write next', making accidental activation plausible. Because the skill's default behavior is autonomous and high impact, an unintended trigger could launch research, file modification, CMS publishing, and tracking updates without a clear user request for those actions.
The skill instructs the agent to autonomously stage and commit repository changes, which creates a side effect beyond merely drafting journal content. In practice, this can permanently record unwanted or attacker-influenced modifications, reduce human review, and amplify damage if earlier phases were manipulated or produced incorrect content.
The skill defines a persistent autonomous loop using local state files and hook reinvocation so it can continue operating across context windows without fresh user intent. This increases risk because a mistaken trigger or poisoned state can cause repeated file edits, publishing actions, and external API calls long after the original invocation, making containment and oversight harder.
No suspicious patterns detected.