Back to skill

Security audit

Agentic Commerce News

Security checks for vulnerabilities and agentic risk

Overview

This skill mostly gathers public news, but it also tells agents how to create recurring background jobs through undeclared schedulers or system cron, which deserves review before installation.

Before installing, be comfortable with public web searches and source fetching. Do not let it create a recurring digest unless the agent shows the exact scheduler, command or prompt, schedule, expiration, and cancellation steps first; prefer platform-managed schedulers and avoid the system crontab fallback unless you explicitly want a local persistent job.

Vulnerability Patterns
  • System PersistenceInstalls backdoors, hooks, services, or scheduled tasks that survive the run
  • 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)

T06 · System Persistence

Warning
Location
SKILL.md:32
Finding

Persistent Scheduled Execution Through Remote Triggers, OpenClaw, or System Crontab

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 32–52
Vulnerability Type: Persistent scheduled-task creation
Risk Level: Medium

Vulnerable Code

markdown
**Claude Code — Session-scoped (CronCreate):**
If the user says something like "set up a daily digest at 8am" or "push it to me every morning", and they're running in Claude Code:

Use the `CronCreate` tool with:
- `cron`: an appropriate expression that avoids the :00 mark (e.g., `"3 8 * * *"` for ~8am daily, nudge a few minutes off the round hour to avoid API pile-ups)
- `prompt`: `"Run the agentic-commerce-news skill: scan the past 7 days of agentic commerce activity and generate the weekly briefing."`
- `recurring`: `true`

Tell the user:
- Scheduled jobs live in the current Claude session memory (not persisted to disk by default — pass `durable: true` if they want it to survive restarts)
- Recurring tasks auto-expire after 7 days of this session
- Jobs only fire while the REPL is idle

**Claude Code — Persistent (remote triggers):**
If the user wants a schedule that runs even when their laptop is closed, suggest they use the `/schedule` skill to create a remote trigger (managed by claude.ai). This runs on Anthropic's infrastructure, not locally.

**OpenClaw:**
If the environment has `openclaw` CLI available (check with `which openclaw`), use `openclaw cron add` instead. OpenClaw jobs run 24/7 as a persistent agent.

**Other runtimes:**
If none of the above is available, fall back to system `crontab` with a script that invokes the CLI (advanced).

Technical Analysis

The Skill instructs the agent to establish recurring execution using durable Claude tasks, remote triggers, OpenClaw cron jobs, or an operating-system crontab entry. These mechanisms can survive the initiating interaction and repeatedly launch an agent or CLI with network access.

Scheduling is related to the declared digest functionality and is conditioned on a user request, which reduces the likelihood ...[truncated 2430 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the system crontab fallback and avoid generating local wrapper scripts.
  2. Restrict scheduling to a platform-managed scheduler that provides task visibility, revocation, audit logs, and expiration controls.
  3. Require explicit confirmation immediately before creating any persistent task, including the exact schedule, execution environment, command or prompt, destination, expiration date, and expected network activity.
  4. Default all recurring tasks to a short expiration period. Require separate confirmation for durable or indefinite execution.
  5. Provide the task identifier and exact cancellation instructions after creation.
  6. Run scheduled jobs under a dedicated least-privilege identity with a restricted environment, fixed executable paths, and only the network permissions required for public news retrieval.
  7. Pin the invoked Skill or prompt version so that later changes are not automatically executed by an existing schedule without review.
  8. Add scheduling tools to allowed-tools only if persistent scheduling is intentionally supported and enforceable by the runtime. Otherwise, retain WebSearch and WebFetch only and limit the Skill to on-demand execution.
  9. Clearly disclose recurring API usage, network requests, resource consumption, and whether the task survives restarts before obtaining consent.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
85% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

Scanner excerpt · README.md (reported line 122)May include surrounding context.

cp -r agentic-commerce-news ~/.claude/skills/

Verify frontmatter

cat ~/.claude/skills/agentic-commerce-news/SKILL.md | head -5

text

Restart your Claude Code session to pick it up.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.md (reported line 122)May include surrounding context.

cp -r agentic-commerce-news ~/.claude/skills/

Verify frontmatter

cat ~/.claude/skills/agentic-commerce-news/SKILL.md | head -5

text

Restart your Claude Code session to pick it up.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger text is very broad, including generic requests like 'what's new in agentic commerce this week' and 'set up a daily digest of agentic commerce updates' even when the user does not invoke the skill by name. Overbroad activation increases the chance the skill runs in unintended contexts, especially because it also contains instructions for scheduling and persistence-related behavior, expanding the blast radius of accidental invocation.

Content

No source excerpt is available for this finding.

Scope Creep

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill instructs the agent to use undeclared capabilities such as CronCreate, checking for local binaries with which openclaw, invoking openclaw cron add, and falling back to system crontab. These actions exceed the manifest's declared tools (WebSearch, WebFetch) and create a permission boundary mismatch: if a host runtime or another layer grants broader execution/scheduling abilities, the skill could cause persistent background actions the user did not expect from this manifest.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 12)May include surrounding context.

text
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE

Scope Creep

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill tells the agent to read a local briefings/ directory to deduplicate prior outputs, but local filesystem access is not declared in the manifest. This can encourage the agent to reach beyond its stated tool scope and, in environments with ambient file access, may expose local data or create confusion about what files the skill is allowed to inspect.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.