技能 vercel-cli-with-tokens
📦

vercel-cli-with-tokens

v1.0.0 内容修订 r2 高风险 ⚙️ 外部命令🌐 网络访问📁 文件系统访问

使用令牌部署 Vercel 项目

交互式 Vercel 登录可能会阻塞自动化代理工作流。此技能为 Claude、Codex 和 Claude Code 提供一条结构化的基于令牌的路径,用于部署、链接、环境变量、域名和故障排查。

支持: Claude Codex Code(CC)
你是维护者?认领此 Skill ⚠️ 38 差

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "vercel-cli-with-tokens" from https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens.md and its manifest at https://skillstore.io/api/skills/vercel-labs-vercel-cli-with-tokens/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

测试它

正在使用“vercel-cli-with-tokens”。 使用我环境中的令牌将此应用部署到 Vercel 预览环境。

预期结果:

代理会验证身份验证和项目范围是否可用,运行预览部署,并返回部署 URL,同时对令牌值进行脱敏。

正在使用“vercel-cli-with-tokens”。 将此仓库链接到我团队的 Vercel 项目。

预期结果:

代理会检查 git 远程信息,选择团队范围,链接项目,并报告生成的本地 Vercel 元数据且不暴露密钥。

正在使用“vercel-cli-with-tokens”。 在 Vercel 的生产环境中添加 DATABASE_URL。

预期结果:

代理会确认目标项目和环境,通过 Vercel CLI 发送该值,并总结已完成的更改。

安全审计

高风险
v6 • 2026/11/9 打开版本化报告

Most alerts identify Markdown formatting, local parsing, official Vercel links, or authorized CLI operations rather than malicious execution or reconnaissance. Credential lookup commands expose token values in captured output, while deployment guidance omits important commit, production-branch, and destructive-action safeguards. No evidence found of prompt injection or deliberate external credential exfiltration.

1
已扫描文件
354
分析行数
0
复核项
0
已忽略误报

已确认安全问题 (7)

高
Environment file access
grep '^VERCEL_TOKEN=' .env 2>/dev/null
The grep command prints the complete VERCEL_TOKEN assignment, exposing the access token to captured command output and assistant transcripts.
高
Environment file access
grep -i 'vercel' .env 2>/dev/null
Broad grep prints every matching environment assignment, including Vercel credentials, into captured output instead of silently selecting the authentication variable.
高
Environment file access
grep -i 'vercel' .env 2>/dev/null
Although this step seeks project identifiers, its broad grep also prints token assignments, unnecessarily disclosing credentials in tool output.
高
Environment file access
grep -i vercel .env 2>/dev/null
The troubleshooting command prints matching environment values, including access tokens, into captured output without redaction.
中
Deployment Commits the Entire Working Directory
The Git deployment recipe runs git add . before committing and pushing. Unreviewed changes or unignored secrets can enter the approved deployment commit.
The recipe explicitly stages all current-directory changes without reviewing the diff or selecting paths. Push approval does not establish approval for every staged file.
中
Git Deployment Omits Production Branch Verification
The preferred Git flow pushes without checking the destination branch. A production-branch push can deploy production without the separate approval required elsewhere.
The document acknowledges branch-dependent deployments but supplies no branch check before git push. General push consent does not necessarily authorize production.
中
Blanket Prompt Bypass Lacks Destructive Action Approval
The working agreement recommends -y for confirmation prompts, and the environment-variable removal example uses it. Destructive removal has no explicit user-approval requirement.
Both instructions explicitly bypass confirmation, while approval requirements only cover Git pushes, production deployment, and paid or destructive plan changes.
审计者: codex 查看审计历史 →
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/vercel-labs-vercel-cli-with-tokens/security.svg)](https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/vercel-labs-vercel-cli-with-tokens/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/vercel-labs-vercel-cli-with-tokens.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学术引用 (APA · BibTeX · CFF)

APA 引用

vercel-labs. (2026). vercel-cli-with-tokens security audit report (audit version 6) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens/audits/6

BibTeX 引用

@techreport{vercel-labs-vercel-labs-vercel-cli-with-tokens-2026, author = {vercel-labs}, title = {vercel-cli-with-tokens security audit report (audit version 6)}, institution = {Skillstore}, year = {2026}, number = {6}, url = {https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens/audits/6}, note = {Author version 1.0.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "vercel-cli-with-tokens security audit report (audit version 6)" version: "1.0.0" type: report authors: - name: "vercel-labs" date-released: "2026-11-09" url: "https://skillstore.io/skills/vercel-labs-vercel-cli-with-tokens/audits/6" identifiers: - type: other value: "skillstore:vercel-labs-vercel-cli-with-tokens:audit:6" description: "Skillstore immutable audit report identifier"

Skillstore 评分

评分依据 证据置信度: 高
55
架构
80
可维护性
87
内容
70
社区
65
规范符合性

你能构建什么

从本地代码进行预览部署

无需使用基于浏览器的登录,即可将本地项目部署到 Vercel 预览环境。

团队项目设置

使用带范围的 CLI 命令将仓库链接到正确的 Vercel 团队和项目。

环境变量维护

通过引导式 CLI 工作流列出、添加、拉取或移除 Vercel 环境变量。

试试这些提示

部署预览版本
使用 Vercel 令牌工作流将此项目部署为预览版本。对你读取或打印的任何令牌值进行脱敏。
链接团队项目
在正确的团队范围下为此仓库设置 Vercel CLI 部署。任何会改变远程状态的命令都要先询问。
更新环境变量
为预览和生产环境添加或更新我提供的 Vercel 环境变量。应用更改前确认目标项目。
排查部署失败
使用基于令牌的 CLI 命令调查这次失败的 Vercel 部署。检查身份验证、团队范围、日志和项目配置。

最佳实践

  • 在分享结果前,对命令输出中的令牌值和环境变量值进行脱敏。
  • 默认使用预览部署,并在生产变更前要求明确批准。
  • 在链接或部署前确认团队范围、项目身份和仓库状态。

避免

  • 不要将 Vercel 令牌作为命令行标志传递,也不要将其包含在 shell 历史记录中。
  • 没有明确的用户批准,不要推送 git 提交、更改域名或部署到生产环境。
  • 当更窄范围的令牌检查已经足够时,不要运行广泛的环境转储。

常见问题

此技能是否需要交互式 Vercel 登录?
不需要。它旨在通过 VERCEL_TOKEN 和相关项目变量进行基于令牌的身份验证。
它可以部署到生产环境吗?
可以,但该工作流说明生产部署只应在用户明确请求后进行。
它会读取本地 .env 文件吗?
会。它可能会检查 .env 文件以查找 Vercel 令牌和项目标识符,因此输出应进行脱敏。
它可以管理 Vercel 环境变量吗?
可以。它包含用于列出、添加、拉取和移除 Vercel 环境变量的工作流。
它是否支持团队范围的项目?
支持。它解释了如何使用团队 slug、VERCEL_ORG_ID 和 VERCEL_PROJECT_ID 进行带范围的操作。
主要安全顾虑是什么?
主要顾虑是在令牌发现过程中暴露密钥。代理应避免打印或存储令牌值。

开发者详情

许可证

未知

作者版本

v1.0.0

Skillstore 修订

r2

版本提示

可安装内容已发生变化,但作者没有更新声明的版本号。

引用

1f79e59ae427a74eab604c013e03b61f04634721

维护新鲜度

2026/11/10

使用量

12 次下载 · 200 次浏览

文件结构

📄 SKILL.md