Back to skill

Security audit

Keep Me Update

Security checks for vulnerabilities and agentic risk

Overview

This news-digest skill is mostly coherent, but it needs review because it can make unrestricted HTTP requests and its README recommends an unsafe remote installer pattern.

Review before installing. The skill is not clearly malicious, but use it only in an environment where outbound requests to arbitrary URLs are acceptable, avoid adding untrusted RSS feeds, and do not run the README's curl-to-bash installer without separately inspecting and pinning the installer. Expect local config, cache, and digest files to be written, and check the configured output directory before enabling cleanup.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (3)

T03 · Remote Payload Retrieval and Execution

Error
Location
README.md:76
Finding

Unpinned Remote Installer Is Executed Directly Through Bash

Content
View full analysis
Remediation
View remediation
/scripts/install.sh echo " hermes-install.sh" | sha256sum -c - less hermes-install.sh bash hermes-install.sh ``` 5. Prefer the upstream project's signed package or documented package-manager installation method when available. 6. Clearly state that installing Hermes is optional for users who already have a compatible Agent. ]]>

T09 · Insecure Skill Coding Practices

Error
Location
scripts/search_web_stdlib.py:53
Finding

Unrestricted URL Fetching Allows SSRF and Internal-Network Probing

Content
View full analysis
dict: """Fetch a URL and extract title + main text. Strips script/style/nav/footer.""" req = urllib.request.Request(url, headers={"User-Agent": _ua()}) with urllib.request.urlopen(req, timeout=20, context=_ctx()) as r: data = r.read().decode("utf-8", "ignore") m_title = re.search(r"]*>(.*?)", data, re.S | re.I) title = html.unescape(re.sub(r"<[^>]+>", "", m_title.group(1)).strip()) if m_title else "" ``` The RSS fetcher similarly requests feed database entries without destination restrictions: ```python def fetch_url(url): """Fetch a URL and return (content_bytes, charset).""" req = Request(url, headers=REQUEST_HEADERS) resp = urlopen(req, timeout=FETCH_TIMEOUT) content_type = resp.headers.get('Content-Type', '') # Detect charset charset = 'utf-8' m = re.search(r'charset=([\w-]+)', content_type, re.I) if m: charset = m.group(1) raw = resp.read() ``` The verifier extracts arbitrary HTTP URLs from generated Markdown and performs requests to all of them: ```python urls = set(re.findall(r'https?://[^\s\)\[\]》<>\"\']+', content)) if not urls: print("No URLs fo ...[truncated 3196 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Note
Location
templates/report.en.md:46
Finding

Mandatory Template Footer Injects Persistent Branding and an Unrelated External Link

Content
View full analysis
✦ Generated by KeepMeUpdate · {datetime} · [Feedback](https://github.com/nousresearch/hermes-agent) ``` The corresponding Chinese template contains the same fixed destination: ```markdown > ✦ This report was automatically generated by KeepMeUpdate · {datetime} · [Feedback](https://github.com/nousresearch/hermes-agent) ``` The Skill directs the Agent to produce the complete output using these templates and replace all placeholders: ```markdown **terminal mode**: Print directly to stdout. Output the complete content using the template format. The template files are located at `{skill_dir}/templates/report.{language}.md`. Before writing, the agent must replace all placeholders. ``` ### Technical Analysis The output workflow requires the Agent to use a template containing permanent Skill branding and a fixed external “Feedback” link. The destination points to the Hermes Agent repository rather than this Skill's own issue tracker, despite the project README identifying a separate KeepMeUpdate repository for issue reporting. This behavior does not change safety constraints, execute code, or compromise the host. However, it predictably changes every generated digest to include promotional content and an external destination that is not necessary to satisfy the user's request for a news summary. Because the footer is embedded in both output templates and the instructions require complete template output, it is persistent for normal terminal and file-mode use rather than being an optional attribution selected by the user. ### Attack Path 1. The Agent loads the Skill and follows its report-generati ...[truncated 989 chars]
Remediation
View remediation
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 (23)

Chaining Abuse

High
Category
Tool Misuse
Confidence
97% confidence
Finding

Piping curl output directly into bash is a classic command-chaining anti-pattern that converts remote content into immediate shell execution. It removes review and integrity checkpoints, so an attacker who can modify the served content can gain arbitrary command execution on the host.

Content

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

bash
# Hermes Agent(推荐)
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# 或 OpenClaw
# 参见 https://openclaw.ai/docs/install

Tp4

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The skill claims digest-generation behavior but also includes link-verification logic that performs HTTP GET requests over extracted URLs from a file. This can create unexpected outbound requests, including to attacker-controlled URLs if untrusted content reaches the Markdown file, making the mismatch materially relevant rather than cosmetic.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill claims digest-generation behavior but also includes link-verification logic that performs HTTP GET requests over extracted URLs from a file. This can create unexpected outbound requests, including to attacker-controlled URLs if untrusted content reaches the Markdown file, making the mismatch materially relevant rather than cosmetic.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill claims digest-generation behavior but also includes link-verification logic that performs HTTP GET requests over extracted URLs from a file. This can create unexpected outbound requests, including to attacker-controlled URLs if untrusted content reaches the Markdown file, making the mismatch materially relevant rather than cosmetic.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example trigger phrases are broad enough to overlap with ordinary conversational requests like asking for current events or tech news. In an agent environment, this can cause unintended activation of the skill, which may lead to unplanned network access, local file writes, or execution of the skill workflow without clear user intent.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill instructs the agent to read and write local files, invoke shell commands, and make arbitrary network requests, but it declares no explicit tool scope or permission boundaries. That increases the blast radius of prompt injection or operator error because the runtime cannot constrain the actions this skill may attempt.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill stores persistent local configuration such as language, timezone, and output directory on disk without a clear privacy warning or consent notice. While not highly sensitive by itself, this creates unnecessary privacy and transparency risk, especially on shared systems or managed agent hosts.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The trigger phrases are overly broad and overlap with ordinary conversation, which can cause accidental invocation of a skill that performs file writes, shell execution, and network access. In a powerful agent environment, unintended activation is a real safety issue because it may start persistent configuration or external fetching without clear user intent.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The natural-language example uses a Chinese-only setup step ("交互配置") and the sample config sets language: zh, which suggests a default or enforced locale rather than offering a user choice. This can violate language/locale policy when the skill does not explicitly provide opt-in or alternative language selection.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

This code performs outbound HTTP requests to arbitrary feed URLs from the local feed database, which transmits the user's IP address and request metadata to third-party servers. While the script's purpose is to fetch feeds, there is no explicit disclosure in code comments, prompts, or usage text warning that running it will contact external services and may expose access patterns.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script performs host system discovery through OS commands and local file reads to infer the machine timezone, which goes beyond the narrowly described utility of converting a provided timezone name to an offset. In the context of a news-digest skill, this creates unnecessary environment inspection and data collection behavior that could expose host metadata without clear user need or consent.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/tz_offset.py (reported line 71)May include surrounding context.

python
# macOS
    try:
        result = subprocess.run(
            ["systemsetup", "-gettimezone"],
            capture_output=True, text=True, timeout=5
        )

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/tz_offset.py (reported line 84)May include surrounding context.

python
# Linux (timedatectl)
    try:
        result = subprocess.run(
            ["timedatectl", "show", "--value", "-p", "Timezone"],
            capture_output=True, text=True, timeout=5
        )

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This manifest is in scope for vague-trigger checks, and the description only states the skill provides a daily tech/AI/geek news digest without specifying any concrete activation phrases, context limits, or exclusion conditions. That lack of trigger specificity can make invocation criteria ambiguous and increase the chance of unintended activation for generic news-related requests.

Content

No source excerpt is available for this finding.

External Script Fetching

Low
Category
Supply Chain
Confidence
94% confidence
Finding

The README instructs users to fetch a remote script over the network and execute it immediately. This is dangerous because any compromise of the remote source, repository, distribution path, or TLS trust chain could result in arbitrary code execution on the user's machine with no opportunity for inspection before execution.

Content

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

bash
# Hermes Agent(推荐)
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# 或 OpenClaw
# 参见 https://openclaw.ai/docs/install

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The guidance says to "Always use datetime.now(TZ) for the output date" and then specifically instructs using the current CST date. This imposes a locale/timezone convention in natural language without indicating user choice or a documented region-specific requirement, which can conflict with organizational language/locale policy expectations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This JSON manifest contains feed titles in Chinese at L053-L059, and additional Chinese-language sources appear later in the file. Because SQP-3 applies to all file types and covers language/locale policy, a curated default feed set that mixes languages without any documented user choice or opt-in can violate a policy expectation that language preferences be explicit.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The fallback string '(无标题)' imposes Chinese output when an item has no title, and the same pattern appears again later in the file. This is a language policy concern because the script does not offer a locale choice or document that it is intentionally Chinese-language.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The fallback string '(无标题)' imposes Chinese output when an Atom entry lacks a title. Because the script does not provide localization settings or user opt-in, this creates an avoidable locale-specific behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The RSS 1.0 parsing branch also uses '(无标题)' as the fallback title, again forcing Chinese-language output. This is consistent with the other branches and represents the same locale policy issue.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The module documentation states that the script gets a UTC offset from a timezone name, but the no-argument path instead inspects the local host to discover timezone settings. This mismatch can mislead reviewers and users about the script's behavior, reducing informed consent and making the broader system-discovery logic easier to hide.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The manifest exposes both Chinese and English as supported languages, but sets the default language to zh. This can violate language/locale policy expectations when a skill forces a specific language absent explicit user choice or a clearly documented region-specific justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown template is entirely written in Chinese and is specifically named as a Chinese report template (report.zh.md), but the file itself does not state that language selection is optional or user-driven. That can violate language/locale policy when a skill imposes a specific language without explicit opt-in.

Content

No source excerpt is available for this finding.