Back to skill

Security audit

here.now

Security checks for vulnerabilities and agentic risk

Overview

This publishing skill needs review because a path-handling bug can expose saved site-control tokens, and some credential safeguards are incomplete.

Prefer a corrected version that normalizes paths and reliably excludes private state. Until then, publish only a clean output directory containing no credentials, .herenow state, or other private files. Explicitly choose publication and access settings, keep API destinations restricted to the documented service, and give Drive shares narrow paths, minimal permissions, and short expirations. Pin installation versions where possible. All bundled files were inspected, but live service behavior and upstream installer contents were not tested.

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
scripts/publish.sh
Finding

Trailing-slash directory inputs bypass exclusion of secret publish state

Content
View full analysis

Impact

Public publishing can expose cached anonymous-site claim tokens and claim URLs, enabling unauthorized claiming of the affected sites. The disclosure can include state for multiple previously published slugs.

Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
Findings (33)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk targets /api/v1/drives and implements a general-purpose remote storage and access-management interface. Although uploading files overlaps with the declared publishing purpose, managing Drive containers, exporting their contents, deleting them, and delegating write or token-management permissions are substantial capabilities not described by website publishing, site privacy, or team site workspaces. This chunk does not publish sites, configure domains, or purchase domains. Credential loading and direct object-storage uploads are supporting implementation details, not independent evidence of mismatch.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied commands operate on drive storage rather than publishing sites or files to here.now URLs. In particular, listing and reading drive contents and granting write access to a drive prefix are not described capabilities. Although file uploads and sharing can support web publishing, this chunk shows no connection to here.now sites, workspaces, domains, or a publishing workflow. The underlying script implementation is not provided, so the assessment is based on the visible command interfaces.

Content

No source excerpt is available for this finding.

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

md
me API is at `https://api.here.now`. Pass `--base-url https://api.here.now` to `publish.sh` and `drive.sh`; both accept it without any override flag. Nothing el

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

md
- `./scripts/publish.sh` for publishing sites

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

md
./scripts/publish.sh {file-or-dir}

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

md
./scripts/publish.sh {file-or-dir} --slug {slug}

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

md
- Anonymous: `./scripts/publish.sh {dir} --slug {slug} --claim-token {token}`. No API key is needed or used. The Site expires 24 hours after it was created unle

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

md
- In the user's account: `./scripts/publish.sh {dir} --slug {slug}` with their API key (run the sign-in flow below first if none is saved).

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

md
./scripts/publish.sh {file-or-dir} --workspace {subdomain}

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

md
./scripts/publish.sh {file-or-dir} --folder "Reports"

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

md
./scripts/publish.sh {file-or-dir} --client claude-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 211)May include surrounding context.

md
./scripts/publish.sh {file-or-dir} --client grok-bot/research-bot

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

md
yet**, so this works the first time; the script reports the result as `publish_result.folder`. It requires an API key (anonymous Sites have no account to file in) and works with `--slug` (moves an existing Site) and `--workspace` (the workspace's folders).

Without the script, the same field is `folder` on `POST /api/v1/publish`, `PUT /api/v1/publish/{slug}`, and `PATCH /api/v1/publish/{slug}/metadata` (the way to file a Site without publishing a new version; `"folder": null` moves it back to the root). `GET /api/v1/folders` lists the account's folders; `GET /api/v1/publishes?folder={name-or-id}` lists one folder's Sites. Rename and delete are `PATCH`/`DELETE /api/v1/folders/{id}` (deleting a folder unfiles its Sites and deletes nothing else). Up to 50 folders per account, names up to 60 characters.

**Never invent folders or file Sites the user did not ask to file.** The folder structure is theirs; every folder appears as a tile in their dashboard. See https://here.now/docs.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Triggers such as "generate a URL" and "build a chatbot" do not establish that the user wants here.now hosting or publication.

Medium
Category
Trigger Abuse
Confidence
92% confidence
Finding

Requests such as 'build a chatbot' or 'generate a URL' do not necessarily authorize uploading files to an external hosting service. Combining these broad activation triggers with the default public publishing workflow risks unintended disclosure if an agent treats skill selection as permission to publish.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The installation command invokes an unpinned npm executable and retrieves a skill from a mutable repository reference. A compromised or malicious upstream release could execute code during installation or introduce instructions and helpers with access to local files and credentials; this is a supply-chain issue, not an MCP-server issue.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The fallback installation repeats the unpinned installer and mutable skill source, exposing environments without bundled scripts to the same upstream supply-chain risk. The documented skill version does not constrain what this command actually downloads.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
version anyway. Before editing local files for an authenticated Site you haven't touched recently, check for drift first: `GET /api/v1/publish/{slug}` returns `currentVersionId` plus `currentVersionSource` and `currentVersionCreatedAt` (what changed it and when, e.g. `editor`) — if the id differs from your state file's `versionId`, read the live files before editing. The published version is the shared truth; never fetch the public URL to read an owned Site (it is gated for protected Sites) and never ask the user for a visitor password to read their own Site. Anonymous Sites can't call these endpoints; they rely on the saved state and server enforcement. Omitting `baseVersionId` (or using `--overwrite`) is an unchecked full replacement — today's default for raw API callers.

Every publish records an immutable version. If the user asks to see earlier versions of a Site, undo a publish, or roll back: list history with `GET /api/v1/publish/{slug}/versions` and restore instantly with `POST

The skill adds general-purpose private agent storage and writable sharing beyond its declared website-publishing scope.

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

The manifest describes publishing websites and files, controlling Site access, team workspaces, and domain registration. L184 explicitly introduces persistent storage for agent memory, context, code, and other files without publishing them, while L189–L196 provide storage operations and writable token-based agent handoff; these are independent cloud-storage capabilities rather than implementation requirements for publishing Sites.

Content

No source excerpt is available for this finding.

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

To store a key, write it to the credentials file:

bash
mkdir -p ~/.herenow && echo "{API_KEY}" > ~/.herenow/credentials && chmod 600 ~/.herenow/credentials

IMPORTANT: After receiving an API key, save it immediately — run the command above yourself. Do not ask the user to run it manually. Avoid passing the key via CLI flags (e.g. --api-key) in interactive sessions; the credentials file is the preferred storage method.

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

  1. Save the returned apiKey yourself (do not ask the user to do this):
bash
mkdir -p ~/.herenow && echo "{API_KEY}" > ~/.herenow/credentials && chmod 600 ~/.herenow/credentials

State file

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

mkdir -p ~/.herenow && echo "{API_KEY}" > ~/.herenow/credentials && chmod 600 ~/.herenow/credentials

text

**IMPORTANT**: After receiving an API key, save it immediately — run the command above yourself. Do not ask the user to run it manually. Avoid passing the key via CLI flags (e.g. `--api-key`) in interactive sessions; the credentials file is the preferred storage method.

Never commit credentials or local state files (`~/.herenow/credentials`, `.herenow/state.json`) to source control.

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

  1. Request a one-time sign-in code. Send X-HereNow-Client with the same platform name you pass as --client (see "Client attribution"): the code email names your platform, and the account is attributed to it.
bash
curl -sS https://here.now/api/auth/agent/request-code \
  -H "content-type: application/json" \
  -H "X-HereNow-Client: claude-code" \
  -d '{"email": "user@example.com"}'

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

If you cannot set headers, pass the same value as "client" in the JSON body of either call.

  1. Save the returned apiKey yourself (do not ask the user to do this):
bash
mkdir -p ~/.herenow && echo "{API_KEY}" > ~/.herenow/credentials && chmod 600 ~/.herenow/credentials

Behavior Manipulation

Medium
Category
Prompt Injection
Confidence
75% confidence
Finding

Subtle instructions detected that may alter agent decision-making or introduce hidden biases.

Content

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

md
- When `publish_result.folder` is non-empty, mention that the Site is filed in that folder in their dashboard.
- When `publish_result.auth_mode=authenticated`: tell the user the site is **permanent** and saved to their account. No claim URL is needed.
- When `publish_result.auth_mode=anonymous`: tell the user the site **expires in 24 hours**. Share the claim URL (if `publish_result.claim_url` is non-empty and starts with `https://`) so they can keep it permanently. Copy it byte-for-byte as a clickable link — never shorten, redact, summarize, or replace any part of it with `...`; a modified claim link will not work. Warn that claim tokens are only returned once and cannot be recovered.
- Never tell the user to inspect `.herenow/state.json` for claim URLs or auth status.

For Drives: