Back to skill

Security audit

Web Search Rules

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed web-research and knowledge-base intake workflow with sensitive actions gated by user confirmation.

Install only if you want an agent to help search the web and organize findings into a local or cloud knowledge base. Review confirmations carefully before any archive, cloud upload, browser automation, deletion, migration, or persistent rule change, and prefer the local Obsidian path for sensitive research.

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
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (10)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Read `references/platform-adapters.md` and only the selected platform's operation file. Do not load all platform files by default.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Read `references/platform-adapters.md` and only the selected platform's operation file. Do not load all platform files by default.

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 · SECURITY.md (reported line 43)May include surrounding context.

md
## Path Safety / 路径安全

All local write paths must be inside either the canonical config directory or a user-confirmed Obsidian vault path.

Use resolved path containment checks, not string prefix checks:

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The description lists trigger examples such as "帮我查一下", "verify this claim", and "整理搜索结果", alongside a very wide "Use when" clause covering many common research-related requests. Although some examples are specific, others are generic enough that they could match everyday requests without clearly distinguishing when this skill should activate versus when another skill should handle the task.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill enables implicit invocation with no visible activation constraints, so the agent may trigger web-research behavior in situations broader than the user intended. Because this skill can search, verify, stage, archive, and move research into knowledge bases, over-broad activation increases the chance of unintended external browsing, source processing, or persistence of unreviewed content.

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

md
5. Open relevant sources and classify claim evidence.
6. Stage trusted/allowed and review results without treating domain trust as claim truth.
7. Ask the user to approve rule changes, archive targets, or cloud writes.
8. Write confirmed changes and append audit logs only after operations succeed.

Report template:

Persistent Context Injection

Medium
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.

Content

Scanner excerpt · references/examples.md (reported line 38)May include surrounding context.

Batch rule suggestion

When multiple useful results share a domain, propose but do not apply a persistent rule automatically. The proposal concerns future source handling, not truth of every claim:

text
Rule suggestion

Persistent Context Injection

Medium
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.

Content

Scanner excerpt · references/examples.md (reported line 45)May include surrounding context.

Domain: example.com Reason: 6 previously reviewed items from this domain Proposed action: mark domain allowed for this topic Options: apply for this run only, create a scoped persistent rule, keep reviewing one by one

text

## Cleanup dry-run

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 · references/migration-and-testing.md (reported line 27)May include surrounding context.

md
4. Copy only confirmed non-secret fields.
5. Ask before creating or writing the v4 config.
6. Do not modify or delete legacy data automatically.
7. Append a `config_migration` audit record only after the write succeeds.

## Dry-Run Report

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

SQP-3 applies to all file types and covers language or locale policy violations. The title and document structure force mixed Chinese and English presentation throughout, but do not offer the user a language preference or explain that the skill is intended for a bilingual audience.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.