Toolverse
All skills

langchain-security-basics

by jeremylongshore

Apply LangChain security best practices for production.\nUse when securing API keys, preventing prompt injection,\nor implementing safe LLM interactions.\nTrigger with phrases like \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Testing
Views
17

About this skill

Apply LangChain security best practices for production.\nUse when securing API keys, preventing prompt injection,\nor implementing safe LLM interactions.\nTrigger with phrases like \

How to use

  1. Zainstaluj skill w swoim środowisku Claude Code, Codex lub OpenClaw, upewniając się, że masz dostęp do narzędzi Read, Write i Edit.

  2. Aktywuj skill, wpisując frazy takie jak "langchain security", "langchain API key safety", "prompt injection", "langchain secrets" lub "secure langchain" w zależności od tego, co chcesz zabezpieczyć.

  3. Aby zabezpieczyć klucze API, zamiast umieszczać je na stałe w kodzie, załaduj je ze zmiennych środowiskowych za pomocą biblioteki dotenv lub z systemu zarządzania sekretami (np. Google Cloud Secret Manager w produkcji).

  4. Aby zapobiec atakom prompt injection, oddziel instrukcje systemowe od danych wejściowych użytkownika. Użyj ChatPromptTemplate z LangChain, aby bezpiecznie łączyć wiadomości bez bezpośredniego wstawiania tekstu użytkownika do promptu systemowego.

  5. Sprawdź dokumentację skill, aby poznać dodatkowe praktyki, takie jak bezpieczne wykonywanie narzędzi i walidacja danych wejściowych, które chronią aplikację przed typowymi zagrożeniami bezpieczeństwa LLM.

  6. Testuj swoje implementacje w środowisku deweloperskim przed wdrożeniem w produkcji, aby upewnić się, że wszystkie mechanizmy bezpieczeństwa działają prawidłowo.

Related skills

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

playwright-cli

by microsoft

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

Testing
45103

playwright

by BloomBooks

How to make good playwright (e2e) tests for this project.

Testing
1298

langchain

by zechenzhangAGI

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering

Testing
21123

dependency-upgrade

by wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

Testing
17138

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994