Back to skill

Security audit

Publisher

Security checks for vulnerabilities and agentic risk

Overview

This publishing skill is mostly purpose-aligned, but it needs Review because it may persist plaintext account secrets and has conflicting visibility rules that could expose a project publicly.

Install only if you are comfortable using PushWebly as a remote publishing service for your project zips. Avoid reusing an important password, review or delete ~/.publisher/config.json after use, and explicitly choose public or private before any publish action; do not rely on the skill's default visibility behavior.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:219
Finding

Plaintext Storage of Account Passwords and Bearer Tokens

Content
View full analysis
``` Delete the temp login file after use. Optional local credential file: ```json { "baseUrl": "https://ai-pub.pushwebly.com", "username": "alice", "password": "plain-text-password", "authorization": "Bearer ", "userId": 1 } ``` On Linux/macOS, set mode `600` after writing. ``` ### Technical Analysis The Skill instructs the agent to persist both the account password and an active bearer token in `~/.publisher/config.json` as plaintext. File mode `600` limits access by other local operating-system users, but it does not encrypt the secrets or protect them from processes running as the same user, malware, compromised development tools, home-directory backups, accidental archive inclusion, or diagnostic collection. The temporary `login.json` file also contains the plaintext password. Although the Skill says to delete it after use, it does not require secure temporary-file creation, restrictive permissions before writing, cleanup through an error-safe mechanism, or avoidance of predictable paths. An interrupted operation could leave the file behind. A stolen password may remain useful beyond the current session, whi ...[truncated 1525 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:53
Finding

Conflicting Visibility Instructions Can Cause Unintended Public Publication

Content
View full analysis
The publishing process is a blocking finite-state machine. As long as the current step lacks user input, the model must stop advancing, only pose one question for the current step, and wait for the user's response. Guessing answers based on context is prohibited. Automatic selection of public/private is prohibited. Automatic generation of access passwords is prohibited, unless the user explicitly chooses to have the system generate them. It is prohibited to call the release interface before completing all necessary steps. Each response can contain at most one user-facing question. ``` The later release instructions conflict with that mandatory gate: ```markdown Calling the publishing interface is only allowed if one of the following conditions is met: - `visibility=public` - `visibility=private` and the user has selected a custom password or a system-generated password Release Parameters: Public Application: ```json { "visibility": "public" } Private application, custom password: { Default to `public` if the user does not specify visibility. A private access password must match `^[A-Za-z0-9]{6}$`; otherwise ask for a valid password or let the backend generate one. ``` ### Technical Analysis The Skill first prohibits automatic selection of project visibility and requires explicit user input through a blocking finite-state machine. It later instructs the agent to default to `public` when visibility is unspecified. These rules cannot both be followed. Agent behavior may vary according to instruction ordering, context selection, or implementation details. If the later default is applied, the publication workflow fails open: absence of an explicit access-control choice becomes public access rather than a blocked opera ...[truncated 1618 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:76
Finding

Unvalidated Server-Controlled Software Update Links

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The top-level description does not clearly warn that project archives and credentials may be sent to remote PushWebly services. Users or upstream agents may therefore invoke the skill without informed consent, increasing the risk of inadvertent disclosure of source files or account secrets.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
88% confidence
Finding

The skill instructs storage of plaintext username/password and bearer authorization data in a local config file for session persistence. Local credential caching increases the blast radius of workstation compromise and may expose reusable secrets to other processes, backups, or misconfigured permissions.

Content

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

md
- Do not require Python. Optional scripts, if present, are for CLI/CI users only.
- Ask only for genuinely missing information: credentials, zip path, project
  name, public/private visibility, or private access password preference.
- Never write credentials into a project zip or repository file. Store them only
  in the user's local `~/.publisher/config.json` after consent.
- On Windows/PowerShell, use a temp JSON file for request bodies instead of
  shell-escaping inline JSON.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger examples are broad enough that normal phrases like 'sharing applications' or 'launching' may route unrelated tasks into this skill. Because this skill uploads local zip files and may request credentials, accidental invocation can lead to unintended data transmission or confusing credential prompts.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

  1. Query the latest platform version (no login required):

    bash
    curl -s https://ai-pub.pushwebly.com/api/skill/latest-version
    

    The response data contains: version (latest), downloadUrl (cross-platform doc package, unzip-and-use), downloadUrlWindows (Windows installer .exe), and downloadUrlMac (macOS installer .zip).

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

md
- macOS → use `downloadUrlMac`
     - OS unknown, or the matching field is empty → fall back to the generic `downloadUrl`

     Notice text (**output it in the SAME language the user is conversing in** — Chinese if they write Chinese, English if English; do not hard-code one language; the example below is English only as a template; replace the URL with the real selected one; **write the download URL as a clickable Markdown link `[URL](URL)` — do NOT wrap it in backticks as inline code, or the user cannot click it**; never leave a placeholder, never say "a new version exists" without giving the link):

     > Note: a newer Publisher skill version `<version>` is available (you are on `<local version>`). Download: [https://ai-pub.pushwebly.com/downloads/AI_Publisher_skill.exe](https://ai-pub.pushwebly.com/downloads/AI_Publisher_skill.exe) (updating does not affect the current publish).

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill defines a blocking finite-state flow that forbids automatic selection of public/private visibility, but later instructs the agent to default to public if the user does not specify visibility. That contradiction can cause the agent to publish a project publicly without explicit user consent, exposing uploaded content unintentionally.

Content

No source excerpt is available for this finding.