返回 Skills 目录
usestrix/strix已通过检查

SKILL DETAIL

application-security-testing

usestrix/strix/application-security-testing

该技能用于处理“让我的应用安全”的请求,此时目标尚未明确为单个 URL 或仓库。其任务是针对每个资产选择合适的测试,运行测试,并生成一个统一的、按优先级排序的修复计划,而不是对所有内容进行最大深度的扫描。 首先,映射资产:源代码(仓库、monorepo、服务)、运行环境(暂存、生产、本地)、API 类型(REST、GraphQL、gRPC)以及认证要求(例如,跨租户测试账户)。确认授权,并优先使用暂存环境而非生产环境,因为代理会发送真实的利用载荷。 根据资产类型选择相应的技能:代码审查使用 find-security-vulnerabilities-in-code,实时 Web 应用使用 web-app-penetration-testing,API 使用 api-security-testing,OWASP 映射使用 owasp-top-10-testing,持续集成使用 ci-security-scanning-with-strix,托管服务使用 managed-pentesting-with-strix。建议的顺序是:先进行代码审查,然后对暂存环境进行渗透测试,最后添加 CI 扫描。 每次运行后,将结果合并到一个列表中,并根据已证明的影响进行排序(未认证的利用、跨租户/权限提升、已认证的利用、未证实的观察)。对重复发现进行去重。明确说明未测试的内容(例如,没有暂存环境、黑盒无法覆盖的类别、因预算或轮次限制而截断的运行)。最后,使用 fix-security-vulnerabilities-with-strix 进行修复,该工具会重新运行 Strix 以验证漏洞已修复。

安装量 · 287查看来源

Installation

npx skills add https://github.com/usestrix/strix --skill application-security-testing

技能文件

SKILL.md

最近同步 · 2026年10月21日

SKILL.md›
---
name: application-security-testing
description: Application security testing (AppSec) across a whole product with Strix — decide which asset needs which test (source code, running web app, API, CI pipeline), run it, and turn the results into a ranked remediation plan. Autonomous agents exploit and prove each issue instead of emitting static-analysis alerts, so the plan is ordered by what is actually reachable. Use when the user asks for an application security review or audit, an appsec assessment, vulnerability scanning across their stack, a security review before a launch or a customer security questionnaire, or does not yet know which kind of security test they need.
license: Apache-2.0
metadata:
  author: usestrix
  homepage: https://docs.strix.ai
---

# Application security testing

Entry point for "make my application secure" requests, where the target is not yet a single URL or repo. The job here is to pick the right test per asset, run it, and produce one ranked plan — not to run everything at maximum depth.

Install, LLM setup, all CLI flags, and the managed-cloud path live in the **penetration-testing-with-strix** skill. Read it first if `strix --version` fails. For a run with no Docker and no LLM key, the same binary drives the managed platform: `strix cloud login`, then `strix cloud scans start ...` (details in **managed-pentesting-with-strix**).

Only test assets the user owns or is authorized to test. Confirm authorization before the first run, and prefer staging over production, because the agents send real exploit payloads and can change data.

## 1. Map the assets

Ask (or read from the repo) and write the answers down before scanning:

- **Source** — one repo, a monorepo, several services? Which languages/frameworks?
- **Running environments** — is there a staging deployment? A public production site? A local dev server only?
- **APIs** — REST, GraphQL, gRPC? Is there an OpenAPI/GraphQL schema?
- **Authentication** — can you get two test accounts in different tenants? Most high-impact bugs need them.
- **Constraints** — out-of-scope paths, whether production may be touched, budget and wall-clock limits.

If there is no staging environment and production is off limits, say so early. A code-only review is still valuable, but it cannot prove exploitability against a live app.

## 2. Pick the right test per asset

| Asset | Skill to use |
| --- | --- |
| Repository or working tree | **find-security-vulnerabilities-in-code** |
| Live web app or staging site | **web-app-penetration-testing** |
| REST/GraphQL/gRPC API | **api-security-testing** |
| Assessment mapped to OWASP categories | **owasp-top-10-testing** |
| Every pull request, continuously | **ci-security-scanning-with-strix** |
| No Docker, no LLM key, or a report an auditor will accept | **managed-pentesting-with-strix** |

Those skills carry the flags, credential handling, and result-reading details. Do not duplicate their instructions here.

Sequence for a first assessment:

1. Review the code. It is the cheapest run and it maps the authorization model.
2. Pentest staging with credentials, and pass the repo as a second target so the agents keep source context.
3. Add CI scanning, so later regressions are caught without another manual pass.

Run one asset at a time and read each report before starting the next. Findings from the code review make the live run sharper.

## 3. Consolidate into one plan

Findings arrive per run in `strix_runs/<run>/`. Merge them into a single list and rank by **proven impact**, not by scanner severity:

1. Validated exploits reachable without authentication.
2. Validated cross-tenant or privilege-escalation issues.
3. Validated issues needing an authenticated account.
4. Unproven observations (configuration, dependency, and hardening notes) — flag as such, and never present them as confirmed vulnerabilities.

Deduplicate: the same root cause often surfaces in both the code review and the live pentest.

## 4. Be honest about coverage

State plainly what was *not* tested — assets with no staging environment, categories a black-box run cannot reach (logging and alerting, supply-chain integrity, insecure design), and any run that hit its budget or turn cap before finishing. Check `run.json` status and cost against `--max-budget` for each run. An empty result set from a truncated scan is not a clean bill of health.

Then remediate with **fix-security-vulnerabilities-with-strix**, which re-runs Strix against each fix to prove the exploit no longer works.