Back to skill

Security audit

Today in History - 历史上的今天

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Today-in-History query tool that uses a documented third-party API and does not show hidden, destructive, persistent, or deceptive behavior.

Install only if you are comfortable using JisuAPI and providing a JISU_API_KEY. Each query sends your app key and the requested month/day to JisuAPI; no evidence showed broader local data access or persistence.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding
Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Lp3

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding
The skill declares required environment access and implicitly requires network access to call a third-party API, but it does not declare an explicit tool scope such as permissions or allowed-tools. This weakens sandboxing and reviewability because the runtime capabilities exceed what the manifest clearly authorizes, increasing the chance of unintended data access or outbound requests.

Natural-Language Policy Violations

Medium
Confidence
93% confidence
Finding
技能名称与描述完全以中文给出,并直接规定用户以中文提问的示例,但未说明这是面向特定中文用户群或提供其他语言选项。按规则,这构成未经用户选择的语言/locale 限制。

Vague Triggers

Medium
Confidence
89% confidence
Finding
The trigger description includes broad natural-language examples that overlap with ordinary conversation, making accidental invocation more likely. Misfires can cause unneeded third-party API calls and unnecessary disclosure of user query context, especially when the skill is configured to contact an external service.

External Transmission

Medium
Category
Data Exfiltration
Content
import requests


TODAY_HISTORY_URL = "https://api.jisuapi.com/todayhistory/query"


def query_todayhistory(appkey: str, req: dict):
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Low
Confidence
88% confidence
Finding
The documentation does not clearly warn that user-provided date inputs will be sent to a third-party API provider. While the data involved is low sensitivity in normal use, lack of transparency undermines informed consent and creates privacy/compliance risk if user context is forwarded unexpectedly.

Natural-Language Policy Violations

Low
Confidence
88% confidence
Finding
This code file contains natural-language descriptions and CLI usage text in Chinese, including the module docstring and command help, without offering a language choice or documenting a locale-specific constraint. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy concern.

Static analysis

No suspicious patterns detected.