extension-openai
Build Secure OpenAI Features on Caffeine
Direct OpenAI calls from Internet Computer canisters can expose credentials and multiply charges. This skill provides typed Motoko patterns for safer chat integration.
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "extension-openai" from https://skillstore.io/skills/caffeinelabs-extension-openai.md and its manifest at https://skillstore.io/api/skills/caffeinelabs-extension-openai/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“extension-openai”。 Add OpenAI chat to a signed-in application with several independent users.
预期结果:
- Selected the per-user key model because the application has login and multiple users.
- Planned authenticated key setup, configuration status, key removal, and chat screens.
- Required non-replicated calls and typed openai-client requests.
正在使用“extension-openai”。 Audit an administrator-funded chat endpoint.
预期结果:
- High risk: authenticated users can submit unlimited operator-funded requests.
- Recommended per-user quotas, request throttling, usage monitoring, and a global spending limit.
- Confirmed that no endpoint returns the stored key.
正在使用“extension-openai”。 Use real-time streaming responses with the pinned connector.
预期结果:
- The pinned connector does not support Realtime or streaming.
- Use a supported non-streaming flow or choose another reviewed integration.
安全审计
高风险All 154 static detections are false positives for their reported patterns; they are Markdown formatting, reference URLs, fixed imports, or ordinary prose. Semantic review found overbroad orchestrator directives, an unauthenticated key and chat variant, and missing usage controls in the operator-funded example. These issues can force dependency choices or enable credential replacement, denial of service, and unbounded OpenAI charges.
已确认安全问题 (3)
风险因素
⚙️ 外部命令 (50)
🌐 网络访问 (8)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/caffeinelabs-extension-openai/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/caffeinelabs-extension-openai?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/caffeinelabs-extension-openai?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/caffeinelabs-extension-openai/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/caffeinelabs-extension-openai.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 引用
caffeinelabs. (2026). extension-openai security audit report (audit version 1) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/caffeinelabs-extension-openai/audits/1BibTeX 引用
@techreport{caffeinelabs-caffeinelabs-extension-openai-2026,
author = {caffeinelabs},
title = {extension-openai security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/caffeinelabs-extension-openai/audits/1},
note = {Author version 0.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "extension-openai security audit report (audit version 1)"
version: "0.1.0"
type: report
authors:
- name: "caffeinelabs"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/caffeinelabs-extension-openai/audits/1"
identifiers:
- type: other
value: "skillstore:caffeinelabs-extension-openai:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Per-user AI chat
A Motoko developer adds signed-in chat where each user supplies and funds a separate OpenAI key.
Operator-funded assistant
A SaaS operator configures one protected key for authenticated users and adds application-level spending controls.
Integration security review
A security engineer checks key exposure, caller gates, replication settings, and unsupported API requirements before deployment.
试试这些提示
Add OpenAI chat to my Caffeine AI project. Use per-user keys, typed openai-client bindings, and a settings page.
Choose an API-key ownership model for this project: [requirements]. Compare per-user, administrator-funded, and anonymous options with security and billing tradeoffs.
Design an administrator-funded OpenAI chat feature for [application]. Include role gates, per-user quotas, rate limits, cost ceilings, and configuration status.
Audit this Motoko OpenAI integration for raw HTTP calls, key exposure, replicated outcalls, missing caller checks, unsupported APIs, and unbounded spending.
最佳实践
- Default to per-user keys when ownership and billing responsibility are not explicit.
- Keep keys server-side, expose only configuration status, and never log or return credentials.
- Enforce non-replicated outcalls, usage limits, and cost monitoring before production deployment.
避免
- Do not build raw OpenAI HTTP requests or hand-written response parsing.
- Do not expose API-key getters, browser storage, logs, or telemetry containing credentials.
- Do not deploy anonymous or shared-key access without strict quotas and explicit risk acceptance.
常见问题
Which projects does this skill support?
Does the skill call OpenAI automatically?
Which key ownership models are included?
Does the connector support streaming?
Which dependency is required?
Is the anonymous variant suitable for production?
开发者详情
作者
caffeinelabs许可证
MIT
作者版本
v0.1.0
Skillstore 修订
r1
引用
f32f934280aa94e399d875d7cf7b2ed16d1b82a3
维护新鲜度
2026/7/23
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md