Back to skill

Security audit

合同一致性AI核对(免费)

Security checks for vulnerabilities and agentic risk

Overview

This skill locally checks user-provided contracts for consistency issues and does not show hidden networking, persistence, or unrelated access.

Install only if you want a local Chinese-oriented contract consistency checker. Keep in mind it is not legal advice, and using the optional website mentioned in the documentation would be separate from the local no-network workflow.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (9)

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
node scripts/run.mjs --sample
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
脚本本身不做判断,真正的检查在同目录的 `scripts/engine/contract-consistency.js`(纯 Node 标准库,CommonJS),可以直接引用:
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Ae1

High
Category
analysis-evasion
Content
脚本本身不做判断,真正的检查在同目录的 `scripts/engine/contract-consistency.js`(纯 Node 标准库,CommonJS),可以直接引用:
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Vague Triggers

Medium
Confidence
95% confidence
Finding
The skill description includes broad trigger phrases such as “合同自查” and generic issue names like “日期矛盾” and “条款引用失效”, which can plausibly appear in ordinary user requests unrelated to explicitly invoking this skill. That increases the chance of accidental activation, causing the agent to run the wrong workflow or expose contract-processing behavior when the user intended something else.

Natural-Language Policy Violations

Medium
Confidence
88% confidence
Finding
At L0078, monetary values are formatted with `toLocaleString('en-US', ...)`, which forces a specific locale in output behavior. The file states support for both Chinese and English contracts, but it does not provide user opt-in or justification for always using U.S. formatting.

Natural-Language Policy Violations

Medium
Confidence
95% confidence
Finding
The file’s user-facing description, usage text, and runtime messages are entirely in Chinese, which imposes a language choice on users without any opt-in or alternative locale. Under the policy, forcing a specific language is a natural-language policy violation unless the locale constraint is explicitly justified or optional.

Natural-Language Policy Violations

Medium
Confidence
95% confidence
Finding
This JSON manifest/text content is entirely in Chinese and provides no indication that language selection is optional or limited to a justified region-specific use case. Under the policy, forcing a specific language or locale without user opt-in is a natural-language policy violation.

Static analysis

No suspicious patterns detected.