Commit f302335
committed
security(deps): harden all remaining examples — exact pins, lockfiles, audit clean
Node.js (17 examples): pnpm-lock.yaml generated, all ^ and ~ ranges replaced
with exact versions, packageManager@10.30.3 pinned, .npmrc save-exact=true added.
Vulnerabilities found and fixed:
- 090-expo: 7 HIGH CVEs (tar <7.5.11, @xmldom/xmldom <0.8.12 via expo-cli)
Fixed via pnpm.overrides: tar@7.5.13, @xmldom/xmldom@0.9.9
- 110-cloudflare: 2 HIGH CVEs (undici <6.24.0 via wrangler)
Fixed by upgrading wrangler 3.x -> 4.80.0
- 230-n8n: 1 HIGH CVE (lodash code injection via n8n-workflow)
Fixed via pnpm.overrides: lodash@4.18.1
Python (11 examples): all >= and ~= ranges replaced with exact == pins
resolved from fresh Python 3.11 venv installs. All pip-audit clean.
Instructions:
- engineer.md: add hard rule — partner integrations must route audio through
the partner's interface, not bypass it with a raw DeepgramClient(). No raw
ws/fetch for audio. Tests must exercise the partner interface.
- lead-review.md: add bypass check and raw protocol check to Step 4 integration
genuineness check. Update Node test commands to use pnpm/bun/deno.1 parent 133b66d commit f302335
64 files changed
Lines changed: 18077 additions & 106 deletions
File tree
- examples
- 010-getting-started-node
- 020-twilio-media-streams-node
- 021-twilio-voice-agent-node
- 030-livekit-agents-python
- 040-langchain-stt-tool-python
- 050-vercel-ai-sdk-node
- 051-nextjs-vercel-ai-sdk-streaming
- 060-discord-bot-node
- 070-vonage-voice-websocket-node
- 080-pipecat-voice-pipeline-python
- 090-expo-live-transcription-js
- 100-fastapi-audio-transcription-python
- 110-cloudflare-worker-transcription-js
- 120-slack-transcribe-bot-node
- 130-telegram-bot-python
- 140-audio-to-subtitles-python
- 160-llamaindex-audio-loader-python
- 170-electron-live-transcription-node
- 180-zoom-recording-transcription-node
- 190-daily-co-transcription-node
- 210-openai-agents-voice-python
- 220-django-channels-live-stt-python
- 230-n8n-deepgram-community-node-typescript
- 290-aws-lambda-python-transcription
- 350-asterisk-freeswitch-deepgram-stt-python
- 400-riverside-node
- 420-signalwire-realtime-transcription-node
- 430-telnyx-texml-stream-node
- instructions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments