Back to skill

Security audit

公历农历与干支换算 · Lunar Calendar Converter

Security checks for vulnerabilities and agentic risk

Overview

ClawScan classifies this skill as benign with medium confidence: scanners report calendar functions plus undeclared almanac and astrology features, while some executable code was only partly inspected.

Before installing, consider whether the additional fortune and almanac features fit your needs, and whether you are comfortable running a local Node.js script whose behavior was not fully inspected. The benign verdict is based on incomplete coverage, so it does not establish that every part of the skill is safe.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (16)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

These are implemented lookup and calculation methods, not merely incidental terminology or supporting date-conversion data. In particular, NineStar exposes good/bad fortune ratings and predictive verses, while the Yi/Ji methods return recommended or prohibited activities. Those capabilities materially exceed the declared calendar-only scope and conflict with the explicit exclusion of divinatory judgments. The chunk does not establish that a skill entry point invokes these methods, and no network, filesystem, or other external resource access is visible.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The core calendar functionality matches the description, but the code's capabilities extend materially beyond it. In particular, activity recommendations/prohibitions and luck classifications are not necessary supporting details for date conversion and are not disclosed by the explicitly calculation-only, no-divinatory-judgment description. These are callable methods, and some related almanac content is directly included by Lunar.toFullString(). The mismatch concerns functional scope, not unauthorized resource access; the supplied chunk does not show personalized fortune predictions or external side effects.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

These are implemented callable capabilities, not merely translation strings: LunarTime returns activity recommendations and luck classifications, while Foto.getFestivals() retrieves objects containing explicit supernatural consequence statements. This exceeds ordinary date arithmetic and conflicts with the description's explicit exclusion of divinatory judgments. The chunk appears to be a broader calendar library; it does not establish that the skill's entry point invokes these extra APIs. The mismatch concerns the supplied code's capabilities, not evidence of malicious execution or undeclared resource access.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
需要本机有 Node.js。脚本 `scripts/convert.js`,输出 JSON。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 公历转农历、干支、生肖 | `node scripts/convert.js solar 2026-11-20` |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 农历转公历 | `node scripts/convert.js lunar 2026 10 11`(闰月在末尾加 `leap`) |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 带时辰的干支(年月日时) | `node scripts/convert.js ganzhi 2026-11-20 14` |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 农历生日未来几年对应的公历 | `node scripts/convert.js birthday 8 15 2026 5`(农历月、日、起始年、年数) |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 某年的干支与生肖 | `node scripts/convert.js zodiac 2027` |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 某个生肖的年份 | `node scripts/convert.js zodiac-years 马 2026 3` |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 两个日期相差几天 | `node scripts/convert.js diff 2026-11-20 2027-02-06` |

Obfuscated Code

High
Category
Supply Chain
Confidence
50% confidence
Finding

Code contains obfuscation (base64, hex encoding with execution). This is often used to hide malicious functionality.

Content

Scanner excerpt · scripts/lunar.js (reported line 3290)May include surrounding context.

js
2188621.191481, 15.218437494,
        2322147.76
      ],
      QB:_decode('FrcFs22AFsckF2tsDtFqEtF1posFdFgiFseFtmelpsEfhkF2anmelpFlF1ikrotcnEqEq2FfqmcDsrFor22FgFrcgDscFs22FgEeFtE2sfFs22sCoEsaF2tsD1FpeE2eFsssEciFsFnmelpFcFhkF2tcnEqEpFgkrotcnEqrEtFermcDsrE222FgBmcmr22DaEfnaF222sD1FpeForeF2tssEfiFpEoeFssD1iFstEqFppDgFstcnEqEpFg11FscnEqrAoAF2ClAEsDmDtCtBaDlAFbAEpAAAAAD2FgBiBqoBbnBaBoAAAAAAAEgDqAdBqAFrBaBoACdAAf1AACgAAAeBbCamDgEifAE2AABa1C1BgFdiAAACoCeE1ADiEifDaAEqAAFe1AcFbcAAAAAF1iFaAAACpACmFmAAAAAAAACrDaAAADG0'),
      SHUO_KB:[1457698.231017, 29.53067166, 1546082.512234, 29.53085106, 1640640.735300, 29.53060000, 1642472.151543, 29.53085439, 1683430.509300, 29.53086148, 1752148.041079, 29.53085097, 1807665.420323, 29.53059851, 1883618.114100, 29.53060000, 1907360.704700, 29.53060000, 1936596.224900, 29.53060000, 1939135.675300, 29.53060000, 1947168.00],
      SB:_decode('EqoFscDcrFpmEsF2DfFideFelFpFfFfFiaipqti1ksttikptikqckstekqttgkqttgkqteksttikptikq2fjstgjqttjkqttgkqtekstfkptik

Obfuscated Code

High
Category
Supply Chain
Confidence
50% confidence
Finding

Code contains obfuscation (base64, hex encoding with execution). This is often used to hide malicious functionality.

Content

Scanner excerpt · scripts/lunar.js (reported line 3292)May include surrounding context.

js
BoAAAAAAAEgDqAdBqAFrBaBoACdAAf1AACgAAAeBbCamDgEifAE2AABa1C1BgFdiAAACoCeE1ADiEifDaAEqAAFe1AcFbcAAAAAF1iFaAAACpACmFmAAAAAAAACrDaAAADG0'),
      SHUO_KB:[1457698.231017, 29.53067166, 1546082.512234, 29.53085106, 1640640.735300, 29.53060000, 1642472.151543, 29.53085439, 1683430.509300, 29.53086148, 1752148.041079, 29.53085097, 1807665.420323, 29.53059851, 1883618.114100, 29.53060000, 1907360.704700, 29.53060000, 1936596.224900, 29.53060000, 1939135.675300, 29.53060000, 1947168.00],
      SB:_decode('EqoFscDcrFpmEsF2DfFideFelFpFfFfFiaipqti1ksttikptikqckstekqttgkqttgkqteksttikptikq2fjstgjqttjkqttgkqtekstfkptikq2tijstgjiFkirFsAeACoFsiDaDiADc1AFbBfgdfikijFifegF1FhaikgFag1E2btaieeibggiffdeigFfqDfaiBkF1kEaikhkigeidhhdiegcFfakF1ggkidbiaedksaFffckekidhhdhdikcikiakicjF1deedFhFccgicdekgiFbiaikcfi1kbFibefgEgFdcFkFeFkdcfkF1kfkcickEiFkDacFiEfbiaejcFfffkhkdgkaiei1ehigikhdFikfckF1dhhdikcfgjikhfjicjicgiehdikcikggcifgiejF1jkieFhegikggcikFegiegkfjebhigikggcikdgkaFkijcfkcikfkcifikiggkaeeigefkcdfcfkhkdgkegiei

Obfuscated Code

High
Category
Supply Chain
Confidence
60% confidence
Finding

Code contains obfuscation (base64, hex encoding with execution). This is often used to hide malicious functionality.

Content

Scanner excerpt · scripts/lunar.js (reported line 5354)May include surrounding context.

js
var _SIZE = 18;
    var _ZERO='0'.charCodeAt(0);
    var _TAG_REMOVE = '~';
    var _NAMES_IN_USE=_NAMES,_DATA='20011229002002010120011230002002010120020101012002010120020102012002010120020103012002010120020209102002021220020210102002021220020212112002021220020213112002021220020214112002021220020215112002021220020216112002021220020217112002021220020218112002021220020427302002050120020428302002050120020501312002050120020502312002050120020503312002050120020504312002050120020505312002050120020506312002050120020507312002050120020928602002100120020929602002100120021001612002100120021002612002100120021003612002100120021004612002100120021005612002100120021006612002100120021007612002100120030101012003010120030201112003020120030202112003020120030203112003020120030204112003020120030205112003020120030206112003020120030207112003020120030208102003020120030209102003020120030426302003050120030427302003050120030501312003050120030502312003050120030503312003050120030504312003050120030505312003050120

Obfuscated Code

High
Category
Supply Chain
Confidence
60% confidence
Finding

Code contains obfuscation (base64, hex encoding with execution). This is often used to hide malicious functionality.

Content

Scanner excerpt · scripts/lunar.js (reported line 5354)May include surrounding context.

js
var _SIZE = 18;
    var _ZERO='0'.charCodeAt(0);
    var _TAG_REMOVE = '~';
    var _NAMES_IN_USE=_NAMES,_DATA='20011229002002010120011230002002010120020101012002010120020102012002010120020103012002010120020209102002021220020210102002021220020212112002021220020213112002021220020214112002021220020215112002021220020216112002021220020217112002021220020218112002021220020427302002050120020428302002050120020501312002050120020502312002050120020503312002050120020504312002050120020505312002050120020506312002050120020507312002050120020928602002100120020929602002100120021001612002100120021002612002100120021003612002100120021004612002100120021005612002100120021006612002100120021007612002100120030101012003010120030201112003020120030202112003020120030203112003020120030204112003020120030205112003020120030206112003020120030207112003020120030208102003020120030209102003020120030426302003050120030427302003050120030501312003050120030502312003050120030503312003050120030504312003050120030505312003050120

Lunar.toFullString() includes auspiciousness judgments, taboos, and deity directions despite the manifest's explicit calculation-only, no-divination scope.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

At L1822-L1831, the date formatter appends stellar good/bad luck, Peng Zu prohibitions, deity directions, and clash/inauspicious-direction information to its output. The library also exposes day/hour recommended and prohibited activities (L1458-L1482) and personalized fortune-cycle calculations (L5780-L6029), exceeding the declared date-conversion and stem-branch/zodiac lookup purpose. These are callable capabilities, not evidence that every conversion invokes them.

Content

No source excerpt is available for this finding.