Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

output-validation-sandbox

/output-validation-sandbox

Sprawdza wyniki modeli w odizolowanym środowisku przed wykonaniem kodu, wywołań API lub działań.

Repozytorium
prodsec-skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
15.07.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.07.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Sprawdza wyniki modeli w odizolowanym środowisku przed wykonaniem kodu, wywołań API lub działań.

Oryginalny opis (EN)

Validate model outputs in an isolated sandbox before execution or delivery. Use when designing AI systems that generate executable code, API calls, or actions that require safety validation.

Jak działa

  1. Security Recommendation
  2. Use Cases
  3. Critical Requirement: True Isolation
  4. Isolation Mechanisms
  5. Implementation Checklist
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 345 słów
Podgląd SKILL.md
---
name: output-validation-sandbox
description: Validate model outputs in an isolated sandbox before execution or delivery. Use when designing AI systems that generate executable code, API calls, or actions that require safety validation.
category: "secure_development"
subcategory: "eval-sandbox"
---

# Model Output Validation Sandbox

## Security Recommendation

A model response evaluation sandbox MAY be deployed to validate model outputs by performing checks that carry higher risk and must be done in isolation. This is especially relevant when model outputs are executed or trigger actions.

## Use Cases

| Scenario | What the Sandbox Does |
|---|---|
| **Generated source code** | Executes the code in isolation to validate it is safe and correct |
| **Generated API calls** | Validates the target endpoint and parameters are safe before executing |
| **Generated commands** | Tests OS commands in a contained environment before execution |
| **Generated configurations** | Validates configurations won't introduce security misconfigurations |

## Critical Requirement: True Isolation

The sandbox MUST be truly isolated so that it does not represent a risk for the system. A compromised sandbox must not be able to:

- Access production data or services
- Modify the host system
- Communicate with external networks (unless explicitly required for validation)
- Escalate privileges beyond the sandbox boundary

## Isolation Mechanisms

| Mechanism | Description |
|---|---|
| **Containers** (rootless, read-only) | Lightweight isolation with limited capabilities |
| **MicroVMs** (Firecracker, gVisor) | Stronger isolation with hardware-level boundaries |
| **seccomp + namespaces** | Restrict syscalls and isolate PID/network/mount/user |
| **Network isolation** | No network access or allowlist-only egress |
| **Resource limits** | CPU, memory, disk, and time limits to prevent resource exhaustion |

## Implementation Checklist

- [ ] Evaluate whether model outputs in your system require sandbox validation
- [ ] Deploy sandbox infrastructure with true isolation (containers, microVMs, or equivalent)
- [ ] Enforce no network access from the sandbox by default
- [ ] Set strict resource limits (CPU, memory, time) on sandbox executions
- [ ] Define validation criteria for each output type (code, API calls, commands)
- [ ] Return validation results to the caller without exposing sandbox internals
- [ ] Log all sandbox executions and their results for audit
- [ ] Monitor sandbox health and detect escape attempts

Wersje

W bazie nie ma innych skilli o nazwie output-validation-sandbox.

Migawka bazy z 13.11.2026 · wersja paczki b5743c7206f6 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100code-execution
    Pokazuje, jak narzędzie wykonywania kodu w API Claude pozwala modelowi uruchamiać Basha i Pythona w piaskownicy.
  • 91sandbox
    Tworzy izolowane maszyny MicroVM z Linuksem przez Vercel Sandbox SDK do uruchamiania kodu i testów.
  • 90Sandbox Routing
    Zmniejsza zalew kontekstu: zamiast czytać długi plik lub wynik polecenia, korzysta z narzędzia sandbox, które zwraca tylko podsumowanie.
  • 98session-sandbox-workflow
    Pomaga zapisywać pliki, uruchamiać kod w Pythonie, Node lub shellu w piaskownicy sesji i naprawiać zarządzane środowisko wykonawcze.
  • 91sandbox
    Tworzy izolowane mikromaszyny wirtualne Linux przez Vercel Sandbox SDK do uruchamiania niezaufanego kodu, serwerów deweloperskich i testów w izolacji.
  • 95app-platform-sandbox
    Tworzy izolowane kontenery na tymczasowe środowiska, w których agent uruchamia niezaufany kod i testuje przepływy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.