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.
توقف واطلب التأكيد قبل التثبيت.
راجع الخطة واحصل على موافقة صريحة من المستخدم قبل تغيير الملفات.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
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 عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "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)
📁 الوصول إلى نظام الملفات (8)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/caffeinelabs-extension-openai/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](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/1اقتباس BibTeX
@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
حداثة الصيانة
٢٣/٧/٢٠٢٦
الاستخدام
0 تنزيلات · 0 مشاهدات
بنية الملفات
📄 SKILL.md