po4yka/llm-wiki-skills / skills/llm-wiki-threat-model
llm-wiki-threat-model
VerifiedBuild a formal security architecture threat model for an LLM-Wiki system. Use when the user asks for STRIDE, LINDDUN, PASTA, data-flow diagrams, trust boundaries, attack-surface mapping, abuse cases, risk matrices, red-team scenarios, or control baselines; route existing-config safety reviews to llm-wiki-security-review.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.0 KB |
| references/docs/19-security-threat-model.md | markdown | 23.0 KB |
| references/policies/redaction-retention-policy.md | markdown | 3.7 KB |
| references/policies/review-incident-response.md | markdown | 3.1 KB |
| references/templates/llm-wiki-security.github-actions.yml | config | 2.9 KB |
| references/templates/mcp-security-profile.yaml | config | 3.6 KB |
| references/templates/promptfoo-llm-wiki-redteam.yaml | config | 3.8 KB |
| references/templates/security-scorecard.yaml | config | 4.0 KB |
references/templates/llm-wiki-security.github-actions.yml
View on GitHubname: llm-wiki-security
on:
pull_request:
paths:
- "raw/**"
- "wiki/**"
- "skills/**"
- "templates/**"
- "policies/**"
- ".github/**"
- "package-lock.json"
- "requirements*.txt"
- "pyproject.toml"
push:
branches: [main]
# Enable only after the first manual run succeeds.
# schedule:
# - cron: "23 3 * * *"
workflow_dispatch:
permissions:
contents: read
pull-requests: read
security-events: write
jobs:
secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Gitleaks scan
uses: gitleaks/gitleaks-action@v2
- name: detect-secrets baseline check
run: |
python -m pip install --upgrade pip
pip install detect-secrets
if [ -f .secrets.baseline ]; then
git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
else
detect-secrets scan --all-files
fi
dependency-review:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependency review
uses: actions/dependency-review-action@v4
osv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: OSV Scanner
uses: google/osv-scanner-action@v1
with:
scan-args: |-
--recursive
./
semgrep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Semgrep scan
run: |
python -m pip install --upgrade pip
pip install semgrep
semgrep scan --config auto
llm-redteam:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Run promptfoo LLM-Wiki red-team
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
if [ -f evals/redteam.yaml ]; then
redteam_config=evals/redteam.yaml
else
redteam_config=templates/promptfoo-llm-wiki-redteam.yaml
fi
npx promptfoo@0.121.17 redteam run \
--config "$redteam_config"
pii-and-export-policy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: PII/export policy placeholder
run: |
echo "Replace with Presidio/scrubadub/custom export-manifest checks."
test ! -d exports || echo "Check exports/ against redaction manifests."
governance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Governance placeholder
run: |
echo "Replace with CODEOWNERS, branch protection, review-state and MCP profile checks."
test -f templates/mcp-security-profile.yaml || echo "Missing MCP security profile template."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |