Back to skill

Security audit

SendPulse HTML Email Templates

Security checks for vulnerabilities and agentic risk

Overview

This skill creates email templates and offers optional SendPulse integration, with no evidence of hidden or malicious behavior.

You can generate HTML without connecting an account. If connecting SendPulse, enable only the tools you need, protect and revoke API keys appropriately, and approve recipients, content, and timing before immediate or scheduled sends. Decide whether open/click tracking suits your recipients, and replace example links and images before sending.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
Findings (23)

Self-Modification

High
Category
Rogue Agent
Confidence
90% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · CHANGELOG.md (reported line 13)May include surrounding context.

md
`raw.githubusercontent.com/sendpulse/sendpulse-skills/main/sendpulse-template-skill/VERSION`.

## v1.4 — 2026-07-06
- **Self-update check.** Added a `VERSION` file and a "Keeping this skill up to date" section in
  SKILL.md: with web access, the assistant may compare the local version against the published
  `VERSION` on GitHub raw once per conversation and suggest updating; never blocks the task.
- **Skill-family cross-links.** New Output step 6 hands off out-of-scope work: campaign management

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · RESEARCH-NOTES.md (reported line 118)May include surrounding context.

md
reference. Add new reference files for the task's new requirements.
- Mode detection (beginner vs expert) inferred from the request; both modes announced to the user.
- Portable: no `allowed-tools` dependence, no Claude-only tool names, generic "save the file +
  show the code block" output instructions.

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

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

md
layout in the Gmail app when styles are stripped. Build columns and fluid widths on inline styles
  (`display:inline-block` + `max-width`) + MSO ghost tables; treat `@media` as enhancement only.
- ❌ Setting base text direction via CSS for RTL — use the `dir` attribute in markup (see i18n.md)
- ❌ Relying on agent-specific tool names — keep output instructions generic for portability
- ❌ `<div>` for small badges / number circles / chips — SendPulse's mobile reset
  (`td,div{width:100%!important}`) stretches them into full-width bars. Use
  `<span style="display:inline-block; width:..; height:..">` instead (spans escape the reset).

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
> in [references/html-rules.md](references/html-rules.md) — **read it before writing any HTML.**

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
5. **Read [references/html-rules.md](references/html-rules.md)** — always, before writing code.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
These are the load-bearing rules. **Always read [references/html-rules.md](references/html-rules.md)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
> [references/html-rules.md](references/html-rules.md) (§3).

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
in [references/html-rules.md](references/html-rules.md).

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 · references/sendpulse-api.md (reported line 74)May include surrounding context.

md
name `skyeng` → `/test/skyeng/`).
- **List:** `GET /directory//<path>` (note the double slash) — items with `path`, `name`,
  `isFolder`, `size`, `stream`, `thumb`.
- **Delete:** `DELETE /file` — JSON `{ "path": "/dir/file.ext" }`.

### 2a-bis. Easiest manual path WITH images — upload a ZIP (no API, verified working)

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 41)May include surrounding context.

Settings → API → Client credentials, then:

text
POST https://api.sendpulse.com/oauth/access_token
Content-Type: application/json

{ "grant_type": "client_credentials", "client_id": "YOUR_ID", "client_secret": "YOUR_SECRET" }

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 140)May include surrounding context.

md
## 4. Templates — create/edit

The bulk-email API stores the **HTML Base64-encoded**:
- **Create:** `POST https://api.sendpulse.com/template` — `body` (Base64 HTML, required),
  `name` (optional), `lang` (optional). Returns the new template `id`.
- **Edit:** `POST https://api.sendpulse.com/template/edit/{id}` — `body` (Base64 HTML), `id`.
- **List:** `GET https://api.sendpulse.com/templates?owner=me%60

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 142)May include surrounding context.

md
The bulk-email API stores the **HTML Base64-encoded**:
- **Create:** `POST https://api.sendpulse.com/template` — `body` (Base64 HTML, required),
  `name` (optional), `lang` (optional). Returns the new template `id`.
- **Edit:** `POST https://api.sendpulse.com/template/edit/{id}` — `body` (Base64 HTML), `id`.
- **List:** `GET https://api.sendpulse.com/templates?owner=me%60
- **Get one:** `GET https://api.sendpulse.com/template/{id}`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 143)May include surrounding context.

md
- **Create:** `POST https://api.sendpulse.com/template` — `body` (Base64 HTML, required),
  `name` (optional), `lang` (optional). Returns the new template `id`.
- **Edit:** `POST https://api.sendpulse.com/template/edit/{id}` — `body` (Base64 HTML), `id`.
- **List:** `GET https://api.sendpulse.com/templates?owner=me%60
- **Get one:** `GET https://api.sendpulse.com/template/{id}`

Base64-encode the fragment before sending, e.g.:

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 144)May include surrounding context.

name (optional), lang (optional). Returns the new template id.

Base64-encode the fragment before sending, e.g.:

bash

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 154)May include surrounding context.

md
## 5. Address books & campaigns — send

- **Create list:** `POST https://api.sendpulse.com/addressbooks` — `bookName`.
- **Get lists:** `GET https://api.sendpulse.com/addressbooks` (`limit`, `offset`).
- **Add emails:** `POST https://api.sendpulse.com/addressbooks/{id}/emails` — `emails` array
  (with `variables` for personalization), optional `tags`.
- **Create campaign:** `POST https://api.sendpulse.com/campaigns` — `sender_name`, `sender_email`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 54)May include surrounding context.

md
## 2. File Manager — upload assets (verified endpoint)

> ⚠️ **Two important, field-verified facts:**
> 1. The working File Manager endpoint is on **`https://api.sendpulse.com/fm/public/v1`** (the same
>    host + Bearer token as the rest of the API). The `login.sendpulse.com/api/file-manager-service`
>    path does **not** work for API uploads.
> 2. **File Manager is NOT the store for email `<img>` images.** Generic-FM files (used for CRM

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 64)May include surrounding context.

md
>    editor's `userfiles` store** (`https://s<ACCOUNT_ID>.sendpul.se/files/emailservice/userfiles/<hash>/…`),
>    populated by the email editor's image picker. See §2b for what to actually do for email images.

**File Manager API (for CRM/store/chatbot assets), base `https://api.sendpulse.com/fm/public/v1`:**
- **Upload:** `POST /file` — multipart fields: `content[]` (binary file; repeatable) and
  `pathToStore` (an **existing** directory, no leading slash, e.g. `jewelry` or `test/skyeng`).
  Returns an array of `{path, name, stream, thumb, extension, size, date}`. The target directory

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 153)May include surrounding context.

md
## 5. Address books & campaigns — send

- **Create list:** `POST https://api.sendpulse.com/addressbooks` — `bookName`.
- **Get lists:** `GET https://api.sendpulse.com/addressbooks` (`limit`, `offset`).
- **Add emails:** `POST https://api.sendpulse.com/addressbooks/{id}/emails` — `emails` array
  (with `variables` for personalization), optional `tags`.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 155)May include surrounding context.

md
- **Create list:** `POST https://api.sendpulse.com/addressbooks` — `bookName`.
- **Get lists:** `GET https://api.sendpulse.com/addressbooks` (`limit`, `offset`).
- **Add emails:** `POST https://api.sendpulse.com/addressbooks/{id}/emails` — `emails` array
  (with `variables` for personalization), optional `tags`.
- **Create campaign:** `POST https://api.sendpulse.com/campaigns` — `sender_name`, `sender_email`
  (must be a verified sender), `subject`, `body` (Base64 HTML) **or** `template_id`, `list_id`.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 · references/sendpulse-api.md (reported line 157)May include surrounding context.

md
- **Get lists:** `GET https://api.sendpulse.com/addressbooks` (`limit`, `offset`).
- **Add emails:** `POST https://api.sendpulse.com/addressbooks/{id}/emails` — `emails` array
  (with `variables` for personalization), optional `tags`.
- **Create campaign:** `POST https://api.sendpulse.com/campaigns` — `sender_name`, `sender_email`
  (must be a verified sender), `subject`, `body` (Base64 HTML) **or** `template_id`, `list_id`.
  Optional `send_date` (schedule), `segment_id`, `attachments`.
- **Campaign info/list:** `GET /campaigns/{id}`, `GET /campaigns` (`status`, `planed`, `limit`).

The workflow instructs enabling open/click tracking without warning about recipient privacy implications.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The workflow unconditionally instructs enabling open/click tracking without checking recipient privacy preferences or applicable disclosure and consent requirements. Although campaign analytics are relevant to this skill, automatically enabling behavioral tracking can expose recipient activity and create privacy or compliance risks; confirming the sender and recipient list does not address this.

Content

No source excerpt is available for this finding.

The skill recommends enabling recipient tracking without warning about its privacy implications.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The skill recommends enabling open and click tracking without checking applicable privacy requirements or recipient preferences. Tracking pixels and wrapped links can expose recipient engagement and associated metadata to the mailing platform and potentially connected analytics services, creating privacy and compliance risks when used without appropriate notice or a required legal basis. Campaign analytics are legitimate in this context, which reduces suspicion of malicious intent, but unsubscribe guidance does not address tracking-specific safeguards.

Content

No source excerpt is available for this finding.