auth-nodejs-cloudbase
构建 CloudBase Node 身份验证流程
服务端 CloudBase 身份验证工作可能会涉及调用方身份、用户查找和自定义登录细节。此技能指导 Node.js agent 使用正确的 SDK 方法和安全的后端模式。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "auth-nodejs-cloudbase" from https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase.md and its manifest at https://skillstore.io/api/skills/tencentcloudbase-auth-nodejs-cloudbase/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“auth-nodejs-cloudbase”。 开发者询问 CloudBase 函数如何知道是谁调用了它。
预期结果:
回答会解释何时使用 getUserInfo、哪些标识符重要,以及如何在服务端应用授权检查。
正在使用“auth-nodejs-cloudbase”。 平台团队需要为现有账户数据库中的用户提供 CloudBase 登录。
预期结果:
回答会概述后端票据签发流程、凭据处理规则和 Web 客户端移交。
正在使用“auth-nodejs-cloudbase”。 管理工具必须检查用户资料,同时不能向客户端暴露原始资料数据。
预期结果:
回答会推荐受信任的后端查找方法、最小化的响应塑形,以及谨慎的生产日志记录。
安全审计
安全The static score is driven by Markdown code spans, documentation URLs, sibling-skill path references, and private-key handling guidance in SKILL.md. I found no prompt injection, executable scripts, outbound callbacks, path traversal behavior, or embedded secrets.
风险因素
⚡ 包含脚本 (1)
⚙️ 外部命令 (50)
🌐 网络访问 (5)
📁 文件系统访问 (3)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tencentcloudbase-auth-nodejs-cloudbase/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/tencentcloudbase-auth-nodejs-cloudbase.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 引用
tencentcloudbase. (2026). auth-nodejs-cloudbase security audit report (audit version 2) [Author version 2.23.8]. Skillstore. https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase/audits/2BibTeX 引用
@techreport{tencentcloudbase-tencentcloudbase-auth-nodejs-cloudbase-2026,
author = {tencentcloudbase},
title = {auth-nodejs-cloudbase security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase/audits/2},
note = {Author version 2.23.8}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "auth-nodejs-cloudbase security audit report (audit version 2)"
version: "2.23.8"
type: report
authors:
- name: "tencentcloudbase"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/tencentcloudbase-auth-nodejs-cloudbase/audits/2"
identifiers:
- type: other
value: "skillstore:tencentcloudbase-auth-nodejs-cloudbase:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
授权 Cloud Functions
在 CloudBase 函数中读取调用方身份,并使用 uid 或 customUserId 进行访问检查。
检查用户记录
从受信任的服务端管理工具查询 CloudBase 终端用户资料。
桥接现有账户
在外部用户系统完成用户身份验证后创建自定义登录票据。
试试这些提示
使用 auth-nodejs-cloudbase 技能展示我的 Node CloudBase 函数如何读取当前调用方身份并选择正确的用户标识符。
使用 auth-nodejs-cloudbase 技能设计一个受信任的 Node 后端流程,用于通过 uid、phone、email 或自定义用户 ID 查找 CloudBase 用户。
使用 auth-nodejs-cloudbase 技能为由我现有账户系统完成身份验证的用户创建 Node 端自定义登录票据流程。
使用 auth-nodejs-cloudbase 技能审查我的 CloudBase Node 身份验证方案,关注仅后端职责、敏感日志记录和客户端移交边界。
最佳实践
- 在后端授权检查中使用 uid 作为主要的 CloudBase 用户标识符。
- 仅在受信任的服务器或 CloudBase 函数上保存自定义登录凭据文件。
- 只返回客户端需要的用户字段,并避免完整资料日志记录。
避免
- 将此技能用于前端登录 UI,而不是使用 Web 身份验证指导。
- 将 getEndUserInfo 或 queryUserInfo 结果直接暴露给不受信任的客户端。
- 在外部用户完成身份验证之前创建自定义登录票据。
常见问题
这个技能能帮助我构建什么?
它能配置 CloudBase 登录提供商吗?
它能构建 Web 登录页面吗?
后端代码应优先使用哪个用户标识符?
自定义登录票据如何处理?
它能替代官方 SDK 文档吗?
开发者详情
许可证
MIT
作者版本
v2.23.8
Skillstore 修订
r1
引用
24b2fe42a456262f3fd0fb3df72e12d9ed2c32ec
维护新鲜度
2026/7/18
使用量
1 次下载 · 0 次浏览
文件结构
📄 SKILL.md