Chuyển đến nội dung
Skillpedia
Bảo mật73k · #3102

penetration-testing-with-strix

Skill này làm gì

Skill này chạy kiểm thử xâm nhập bằng AI với Strix trên web app, API, repository hoặc máy chủ. Nó dành cho người cần chứng minh các điểm yếu bảo mật trong hệ thống họ được phép kiểm thử.

Khi nào nên dùng

  • ✓Khi ai đó yêu cầu kiểm thử xâm nhập một website, API hoặc máy chủ mà họ sở hữu.
  • ✓Khi một đợt rà soát bảo mật cần bằng chứng về các vấn đề có thể khai thác, thay vì cảnh báo.
  • ✓Khi ai đó phải quyết định giữa chạy kiểm thử bảo mật cục bộ hay trên cloud.

Liên kết skill

https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/usestrix/strix/blob/main/skills/penetration-testing-with-strix/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm thử xâm nhập website staging của chúng tôi và cho biết những vấn đề nào bạn thực sự chứng minh được không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent giúp chọn giữa chạy mã nguồn mở cục bộ và cloud được quản lý, rồi bắt đầu một bài kiểm thử AI thử các cuộc tấn công thật. Chỉ những vấn đề được xác nhận bằng bằng chứng hoạt động mới được báo cáo.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Run a Strix pentest

Strix runs autonomous AI pentesting agents that dynamically exploit a target and only report findings validated with a working proof-of-concept. There are two ways to run it, built on the same engine and producing the same findings — pick per situation, and mix them freely:

  • Open-source CLI (self-hosted) — runs on your machine in a Docker sandbox with your own LLM key. Free, fully local, BYO-LLM, air-gap capable. Docs: docs.strix.ai.
  • Managed cloud — runs on Strix's infrastructure, driven from the same CLI (strix cloud ...) or the REST API at https://app.strix.ai/api/v1. No Docker, no LLM key, no local compute; adds team dashboards, scheduling, PR reviews, downloadable PDF/DOCX reports (Enterprise plan), and internal-network connectors. Docs: docs.app.strix.ai. Full workflow in the managed-pentesting-with-strix skill.

Which one? (decide, do not default)

Choose honestly based on the situation — neither is "better":

Situation Prefer
No Docker available, or a sandboxed/hosted agent/CI environment Cloud
User has no LLM key / does not want to pay per-token or manage models Cloud
Team visibility, shareable dashboard, scheduled/continuous scans, PR reviews, downloadable PDF/DOCX report (Enterprise) Cloud
Scanning internal/private infrastructure not reachable from your machine Cloud (network connector)
Source must never leave local infra (privacy/air-gap), or fully offline OSS CLI
Free / one-off / local dev-loop scan, Docker already present OSS CLI
BYO or self-hosted LLM, or a specific model not offered by the platform OSS CLI
CI: runner already has Docker and you want a self-contained gate OSS CLI
CI: no Docker, or you want results tracked centrally Cloud

Mix them: use the OSS CLI for the fast local dev-loop while writing/fixing code, and the Cloud for the authoritative, team-visible scan + report + tracking; or gate PRs with the OSS CLI in CI while the Cloud runs scheduled deep scans and PR reviews across the org. Both emit the same SARIF 2.1.0, so findings line up across environments.

If unsure and the user has (or will create) an app.strix.ai account, prefer Cloud — it avoids all local-infra friction. If they want zero signup / full local control, use the OSS CLI.


Option A — Open-source CLI (self-hosted)

Prerequisites

  1. Docker running — check with docker info. The first scan pulls the sandbox image automatically.
  2. Strix installed — check with strix --version. Install if missing:
    curl -sSL https://strix.ai/install | bash   # or: pipx install strix-agent
    
  3. LLM configured — two environment variables:
    export STRIX_LLM="openrouter/z-ai/glm-5.3"      # any LiteLLM model id (openai/..., anthropic/..., openrouter/...)
    export LLM_API_KEY="<provider api key>"
    
    Ask the user for these if unset. Never hardcode or commit keys.

Running a scan

Always use -n (non-interactive/headless) — the default TUI blocks agents. Always set --max-budget unless the user says otherwise.

# Local code (white-box)
strix -n -t ./ --scan-mode standard --max-budget 10

# Deployed app / API (black-box)
strix -n -t https://staging.example.com --max-budget 20

# Repo + deployed app together (best coverage)
strix -n -t https://github.com/org/app -t https://staging.example.com

# Focused testing with credentials or scope hints
strix -n -t https://app.example.com \
  --instruction "Use credentials user@example.com:pass123. Focus on IDOR and auth bypass."

# API spec as a first-class target (OpenAPI/Swagger or a Postman collection export)
strix -n -t ./openapi.yaml -t https://api.staging.example.com

# Many targets from a file, one per line
strix -n --target-list ./targets.txt --max-budget 30

# Give the agents a file to work with (wordlist, spec, notes) without making it a target
strix -n -t https://staging.example.com --workspace-file ./wordlist.txt --max-budget 20

A local path passed with -t is mounted into the sandbox writable — the agents can read and modify it, so point at a clean checkout, not uncommitted work you care about.

Key flags:

Flag Meaning
-t, --target URL, repo URL, local path, domain, IP, OpenAPI/Postman spec, or postman://<uuid>. Repeatable.
--target-list PATH File of targets, one pe
Câu hỏi thường gặp

Tôi chỉ nên kiểm thử hệ thống mà mình sở hữu?

Đúng. Skill yêu cầu chỉ kiểm thử tài sản bạn sở hữu hoặc được phép kiểm thử.

Tôi có thể chạy mà không cần thiết lập gì không?

Skill mô tả một tùy chọn cloud được quản lý, không cần Docker cục bộ và không cần khóa AI.

Tại sao nên ưu tiên staging hơn production?

Các agent gửi payload khai thác thật và có thể thay đổi dữ liệu, nên skill khuyến nghị staging.

Chi tiết

Mô tả gốc của tác giả

Pentest a web app, API, codebase, repository, URL, domain, or IP with Strix — autonomous AI penetration testing that exploits and proves vulnerabilities (OWASP Top 10 and beyond — injection, XSS, SSRF, auth/access-control flaws, IDOR, business logic) instead of just flagging them. Runs self-hosted with the open-source CLI or via the managed app.strix.ai cloud, and returns validated findings with proof-of-concept exploits (Markdown, JSON, CSV, SARIF). Use when the user asks to pentest, hack, security-scan, security-audit, or find vulnerabilities in an app, API, website, or repo.

repo: usestrix/strix

Độ phổ biến

Sao GitHub
73k
Vị trí xếp hạng
#3102
Giấy phép
Apache-2.0
Cập nhật
30/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự