upstash-redis-js
Build Serverless Redis Features with Upstash
Serverless Redis work requires correct command patterns, serialization, expiration, and concurrency choices. This skill provides focused Upstash Redis guidance for implementation, migration, search, and optimization.
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "upstash-redis-js" from https://skillstore.io/skills/upstash-upstash-redis-js.md and its manifest at https://skillstore.io/api/skills/upstash-upstash-redis-js/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“upstash-redis-js”。 Create a cache for user profiles with a one-hour lifetime.
预期结果:
A cache-aside design with namespaced keys, one-hour expiration, database fallback, and explicit invalidation after profile updates.
正在使用“upstash-redis-js”。 Reduce latency for fetching profile data for many users.
预期结果:
A pipeline strategy that batches related reads, preserves result ordering, and defines handling for partial failures.
正在使用“upstash-redis-js”。 Add product search with price and category filters.
预期结果:
An Upstash Redis Search plan covering schema fields, exact category matching, numeric price filters, pagination, and index readiness.
安全审计
高风险Most static findings are false positives caused by JavaScript template literals, Redis pipeline exec methods, environment-based configuration, and search keyword fields. One static network finding is confirmed because the skill directs agents to provision an external database. Semantic review also found an authentication bypass placeholder and an unsafe simple lock-release example.
已确认安全问题 (3)
能力复核项 (1)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
⚙️ 外部命令 (50)
🔑 环境变量 (42)
⚡ 包含脚本 (15)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/upstash-upstash-redis-js/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/upstash-upstash-redis-js?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/upstash-upstash-redis-js?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/upstash-upstash-redis-js/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/upstash-upstash-redis-js.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 引用
upstash. (2026). upstash-redis-js security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/upstash-upstash-redis-js/audits/1BibTeX 引用
@techreport{upstash-upstash-upstash-redis-js-2026,
author = {upstash},
title = {upstash-redis-js security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/upstash-upstash-redis-js/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "upstash-redis-js security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "upstash"
date-released: "2026-08-25"
url: "https://skillstore.io/skills/upstash-upstash-redis-js/audits/1"
identifiers:
- type: other
value: "skillstore:upstash-upstash-redis-js:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Add Application Caching
Design cache keys, expiration rules, serialization, and invalidation for a TypeScript service.
Optimize Redis Traffic
Choose batching, pipelines, transactions, retries, and timeouts for serverless workloads.
Plan a Redis Migration
Translate node-redis or ioredis usage into Upstash Redis patterns and identify behavior changes.
试试这些提示
Show how to configure Upstash Redis in my [framework] project using environment variables and TypeScript.
Design a cache-aside flow for [data type] with key naming, TTL, invalidation, and error handling.
Convert my [node-redis or ioredis] module to Upstash Redis and explain serialization, pipelines, and connection changes.
Design an atomic [workflow] using transactions or Lua, with concurrency assumptions, failure cases, and production safeguards.
最佳实践
- Keep Redis credentials in environment variables and never place tokens in source code.
- Namespace keys and apply expiration rules that match each data lifecycle.
- Use token-checked locks and production libraries for concurrency-sensitive workflows.
避免
- Do not treat all Redis values as strings when native serialization is available.
- Do not use unbounded keys or sessions without expiration and cleanup rules.
- Do not provision external resources or execute destructive commands without explicit user confirmation.