---
canonical: "https://firewall.lpm.dev/npm/postboi/v/0.68.1"
markdown: "https://firewall.lpm.dev/npm/postboi/v/0.68.1.md"
package: "postboi"
report_status: "published"
title: "postboi@0.68.1 npm security report"
verdict: "suspicious"
version: "0.68.1"
---

# postboi@0.68.1 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 0.68.1
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The CLI has a concrete agent-configuration capability that runs through an explicit user command, so a warning is appropriate. The credential-related source instead shows Turnstile verification, and the manifest’s prepare command is Svelte synchronization.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-10-13T11:20:59.439Z
- **Finished:** 2026-10-13T11:29:51.902Z
- **Download time:** 513 ms
- **Static scan time:** 3101 ms
- **AI review time:** 528848 ms
- **Total time:** 532463 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** The CLI can set up Postboi agent guidance in a project. This is a real agent-configuration capability, but the inspected route is an explicit CLI command.

- **Trigger:** A user invokes the postboi skill command.

- **Impact:** Project agent guidance can be added or updated, influencing how coding agents handle the project’s email-related work.

- **Evidence paths:** dist/cli.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-13T11:29:51.902Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The command installs or refreshes skill files and may append a Postboi pointer to an existing AGENTS.md file.

- **Rationale:** The CLI has a concrete agent-configuration capability that runs through an explicit user command, so a warning is appropriate. The credential-related source instead shows Turnstile verification, and the manifest’s prepare command is Svelte synchronization.

- **Files touched:** .claude/skills/postboi/SKILL.md, .agents/skills/postboi/SKILL.md, AGENTS.md

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json defines prepare as a Svelte sync command; the agent-file setup is exposed through the CLI., The CLI maps the explicit skill command to the skill setup function., The skill setup targets project agent skill files and may add a Postboi section to AGENTS.md., When AGENTS.md exists and lacks a Postboi reference, the helper appends a pointer to the skill., The inspected credential path verifies a Turnstile token and forwards it to the verification flow.

- **Evidence against:** The inspected CLI route requires an explicit skill command; the manifest does not assign agent-file setup to its prepare script., The credential-related excerpts show captcha verification, not credential harvesting or disclosure.

## Affected versions and remediation

This report applies to postboi@0.68.1.

- Review the evidence and your use of postboi@0.68.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/cli.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L814: } from "node:fs";
L815: import { spawnSync } from "node:child_process";
L816: import { join as join12, delimiter, dirname as dirname7 } from "node:path";
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/cli.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L7781: const child = spawn2(command, {
L7782: shell: true,
L7783: env: { ...env, ...exec_env(mail) },
```

### 5. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/workers\_env.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/workers_env.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L14: * Isolated in its own module so the bundler-hostile import has one home. The specifier is
L15: * assembled at runtime on purpose: a literal `import("cloudflare:workers")` makes bundlers
L16: * targeting Node try to resolve it and fail the build.
```

### 6. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 7. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 8. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/cli.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L41: // src/library/encoding.ts
L42: function base64_decode(value) {
L43: const binary = atob(value);
...
L125: const { pathToFileURL } = await import("node:url");
L126: let dir = process.cwd();
L127: for (;; ) {
...
L277: if (this.#hooks.before?.send) {
L278: return this.#hooks.before.send({
L279: provider: this.provider,
...
L326: async send_request(url, init) {
L327: return fetch(url, init);
L328: }
```

### 10. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/cli.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L41: // src/library/encoding.ts
L42: function base64_decode(value) {
L43: const binary = atob(value);
...
L125: const { pathToFileURL } = await import("node:url");
L126: let dir = process.cwd();
L127: for (;; ) {
...
L277: if (this.#hooks.before?.send) {
L278: return this.#hooks.before.send({
L279: provider: this.provider,
...
L326: async send_request(url, init) {
L327: return fetch(url, init);
L328: }
```

### 11. Critical: Browser Credential Phishing
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/postboi@0.68.1/dist/cli.js>)

Source appears to collect browser login credentials for exfiltration.

Public source snippet (untrusted):

```javascript
L41: // src/library/encoding.ts
L42: function base64_decode(value) {
L43: const binary = atob(value);
...
L125: const { pathToFileURL } = await import("node:url");
L126: let dir = process.cwd();
L127: for (;; ) {
...
L277: if (this.#hooks.before?.send) {
L278: return this.#hooks.before.send({
L279: provider: this.provider,
...
L326: async send_request(url, init) {
L327: return fetch(url, init);
L328: }
```

### 12. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 13. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 14. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepare
- **Dependencies:** 2
- **Optional dependencies:** 0
- **Peer dependencies:** 7
- **Development dependencies:** 49
- **Published dependency-graph edges:** 9

### Published dependency entries
- @fontsource-variable/archivo 5.3.0 (Dependency)
- @fontsource-variable/golos-text 5.3.0 (Dependency)
- @maizzle/framework ^6.0.0 (PeerDependency)
- @sveltejs/kit ^3.0.0 (PeerDependency)
- expo-constants \>=15 (PeerDependency)
- expo-notifications \>=0.20 (PeerDependency)
- react \>=18 (PeerDependency)
- svelte ^5.7.0 (PeerDependency)
- vue \>=3.3 (PeerDependency)

## Package metadata
- **Package:** postboi
- **Ecosystem:** npm
- **Version:** 0.68.1
- **License:** MIT
- **Version published:** 2026-10-13T11:18:22.897Z
- **Package first seen:** 2026-07-01T12:53:16.259Z
- **Package last seen:** 2026-10-29T15:14:24.044Z
- **Known versions:** 58
- **Latest version:** 0.77.0
- **Appeal under review:** No
- **Description:** Postboi is an email provider and TypeScript SDK. Send email with one token and no DNS setup, plus SMS, WhatsApp, push and chat from the same API. You can also use your own provider (Resend, SES, Postmark and more) if you want to.
- **Maintainers:** darbymanning
- **Keywords:** email, email-api, email-provider, email-service, transactional-email, send-email, resend-alternative, sendgrid-alternative, nodemailer-alternative, sms, whatsapp, push-notifications
- **Artifact files:** 391
- **Artifact unpacked size:** 5,052,639 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/postboi/v/0.68.1>)
- [Repository](<https://github.com/postboi-mail/postboi>)
- [Homepage](<https://postboi.app/>)
- [Issues](<https://github.com/postboi-mail/postboi/issues>)
