china-law-search

Fail

Audited by Socket on Aug 22, 2026

3 alerts found:

Anomalyx2Malware
AnomalyLOW
SKILL.md

整体目的与主要能力大体一致:这是一个面向官方中国法规库的查询/下载技能,网络目标也基本限于官方政府域名。主要风险来自为绕过动态认证而安装并调用 Playwright、拦截并缓存 athenaappkey,以及允许代理自动修改 skill 文件;这些行为使其比普通检索技能更高风险,但当前证据不足以认定为恶意。

Confidence: 87%Severity: 61%
AnomalyLOW
lib/gov_api.py

The code is primarily a regulations-search/scraping utility. However, it exhibits high supply-chain risk and credential-handling concerns: it auto-installs a global Node.js package (@playwright/cli) at runtime via npm and executes playwright-cli to harvest an 'athenaappkey' from browser output, then caches that key locally and reuses it in Authorization-like headers. There is no clear malware payload (no reverse shell/crypto/keylogging), and the code is mostly readable (no intentional obfuscation). Overall, treat as a security-sensitive package and review/lock dependency versions and execution behavior.

Confidence: 72%Severity: 66%
MalwareHIGH
lib/refresh_gov_key.js

This code fragment performs targeted interception of a custom, credential-like request header ('athenaappkey') from matching requests and then exposes the captured value by writing it into document.title ('GOVKEY:<value>'). Even without explicit network exfiltration in the snippet, the behavior is strongly consistent with credential/secret harvesting and leakage through observable page metadata. Surrounding context is not provided, so malicious intent cannot be proven with certainty, but the security risk is high and warrants removal/review.

Confidence: 78%Severity: 85%
Audit Metadata
Analyzed At
Aug 22, 2026, 11:31 PM
Package URL
pkg:socket/skills-sh/nigo81%2Fnigo-skills%2Fchina-law-search%2F@6fcdbe6a544a20bba66b92996a5b73376cc4df192b406904943bb9e3c20e4b2e
Security Audit — socket — china-law-search