跳转到正文
报告库
用途分类 / 其他用途

Gsap Plugins Skill 安全审计

作者说它能做什么(原文)

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.

第三方安全检查结论

发现低风险问题

已检查文件
1
发现的风险
1
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。未发现风险
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。未发现风险
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。发现 1 项风险
低风险

安装命令没有固定依赖版本

原文依据:1 处
发现了什么

安装命令没有指定依赖版本。同样的命令以后可能下载不同代码,你实际安装的内容可能与这次检查时不同。

为什么需要注意

即使命令和报告没变,以后安装时也可能下载到另一份代码。

这是实际的安装指令,`npm install gsap` 未指定版本;用户执行时,npm 会解析当时可用的版本,因此不同时间安装的代码可能不同,降低可复现性,并使未来版本或供应链变更进入项目。该证据不表示软件包已恶意。用户可要求作者注明已验证的版本,并在项目中使用锁文件及锁定安装。

SKILL.md:19来自说明文档打开原文件
- ✅ Install everything from the public `gsap` npm package: `npm install gsap`. All plugins are included — import them as `gsap/SplitText`, `gsap/MorphSVGPlugin`, etc.- ❌ Do **not** generate an `.npmrc` with a GreenSock auth token, suggest the private `npm.greensock.com` registry, or tell users to sign up for Club GSAP to access a plugin. Those instructions are outdated.
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

8 个说明模块

该 Skill 是 GSAP 插件的使用指南;唯一明确的安装步骤是从公共 npm 包安装 `gsap`,并明确反对创建含认证令牌的 `.npmrc` 或使用私有注册表。

查看原文
SKILL.md:19来自说明文档打开原文件
- ✅ Install everything from the public `gsap` npm package: `npm install gsap`. All plugins are included — import them as `gsap/SplitText`, `gsap/MorphSVGPlugin`, etc.- ❌ Do **not** generate an `.npmrc` with a GreenSock auth token, suggest the private `npm.greensock.com` registry, or tell users to sign up for Club GSAP to access a plugin. Those instructions are outdated.

其主要指令是在项目中导入并注册所需插件,然后通过示例代码操作页面动画;所提供源码中没有脚本、命令下载器、凭据读取或数据上传逻辑。

查看原文
SKILL.md:24来自说明文档打开原文件
Register each plugin once so GSAP (and bundlers) know to include it. Use **gsap.registerPlugin()** with every plugin used in the project:```javascriptimport gsap from "gsap";import { ScrollToPlugin } from "gsap/ScrollToPlugin";import { Flip } from "gsap/Flip";import { Draggable } from "gsap/Draggable";gsap.registerPlugin(ScrollToPlugin, Flip, Draggable);```

部分插件会按其动画用途修改当前网页的滚动位置或 DOM;这些是公开描述的示例行为,而非隐藏的文件或账户操作。

查看原文
SKILL.md:47来自说明文档打开原文件
gsap.to(window, { duration: 1, scrollTo: { y: 500 } });gsap.to(window, { duration: 1, scrollTo: { y: "#section", offsetY: 50 } });gsap.to(scrollContainer, { duration: 1, scrollTo: { x: "max" } });```
SKILL.md:84来自说明文档打开原文件
const state = Flip.getState(".item");// change DOM (reorder, add/remove, change classes)Flip.from(state, { duration: 0.5, ease: "power2.inOut" });```

该 Skill 将 GSDevTools 标为仅限开发阶段,并明确要求不要将其发布到生产环境。

查看原文
SKILL.md:398来自说明文档打开原文件
### GSDevToolsUI for scrubbing timelines, toggling animations, and debugging. Use during development only; do not ship. Register and create an instance with a timeline reference.
SKILL.md:426来自说明文档打开原文件
## Do Not- ❌ Use a plugin in a tween or API without registering it first (**gsap.registerPlugin()**).- ❌ Ship GSDevTools or development-only plugins to production.
从这里开始 · 工作说明SKILL.md
gsap-plugins
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。 另有 5 个章节,可在原文件中查看。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。

  • SKILL.md已纳入全文

这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。

  • SKILL.md工作说明

代码和说明中提到的操作

连接外部网站
SKILL.md:17来自说明文档打开原文件
Every GSAP plugin is **free**, including for commercial use. Since [Webflow's acquisition of GSAP](https://gsap.com/blog/webflow-GSAP/), Club GSAP is no longer a paid tier and **no plugin requires a membership, license key, or auth token** — this includes formerly Club-only plugins (**SplitText**, **MorphSVG**, etc.).
SKILL.md:101来自说明文档打开原文件
https://gsap.com/docs/v3/Plugins/Flip
SKILL.md:220来自说明文档打开原文件
**Learn more:** [SplitText](https://gsap.com/docs/v3/Plugins/SplitText/)
安装其他软件包
SKILL.md:19来自说明文档打开原文件
- ✅ Install everything from the public `gsap` npm package: `npm install gsap`. All plugins are included — import them as `gsap/SplitText`, `gsap/MorphSVGPlugin`, etc.- ❌ Do **not** generate an `.npmrc` with a GreenSock auth token, suggest the private `npm.greensock.com` registry, or tell users to sign up for Club GSAP to access a plugin. Those instructions are outdated.
读取了多少行
434
文件校验值(用于核对版本)
6ebc51dbce9b4ccec78916ffc41d535360c2f8bca3a2c207bc443389d365f45e