@ericrisco/rsc 4.0.4 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/manifest.json +78 -84
- package/package.json +1 -1
- package/scripts/lib/default-skill-floor.js +5 -1
- package/scripts/lib/domains.js +1 -1
- package/scripts/lib/recommend.js +1 -1
- package/scripts/lib/retired-skills.js +4 -0
- package/scripts/skill-migration-brief.md +1 -1
- package/skills/accessibility/evals/README.md +1 -1
- package/skills/accessibility/evals/cases.yaml +1 -1
- package/skills/agent-safety/SKILL.md +2 -2
- package/skills/agent-safety/evals/README.md +1 -1
- package/skills/agent-safety/evals/cases.yaml +1 -1
- package/skills/analyze/evals/README.md +1 -1
- package/skills/analyze/evals/cases.yaml +2 -2
- package/skills/angular/SKILL.md +1 -1
- package/skills/api-connector-builder/SKILL.md +1 -1
- package/skills/api-design/SKILL.md +3 -3
- package/skills/api-design/evals/cases.yaml +1 -1
- package/skills/asdd/SKILL.md +3 -1
- package/skills/automation-strategy/SKILL.md +1 -1
- package/skills/automation-strategy/evals/README.md +1 -1
- package/skills/automation-strategy/evals/cases.yaml +2 -2
- package/skills/automation-strategy/references/orchestration-and-antipatterns.md +1 -1
- package/skills/aws-essentials/SKILL.md +3 -3
- package/skills/aws-essentials/evals/cases.yaml +2 -2
- package/skills/backups/SKILL.md +2 -2
- package/skills/backups/evals/cases.yaml +2 -2
- package/skills/bash-scripting/SKILL.md +1 -1
- package/skills/building-agents/SKILL.md +2 -2
- package/skills/building-agents/evals/cases.yaml +2 -2
- package/skills/chrome-extension/SKILL.md +1 -1
- package/skills/cloudflare/SKILL.md +1 -1
- package/skills/code-review/SKILL.md +2 -2
- package/skills/code-review/evals/cases.yaml +2 -2
- package/skills/compliance/SKILL.md +3 -3
- package/skills/compliance/evals/cases.yaml +1 -1
- package/skills/constitution/SKILL.md +2 -2
- package/skills/constitution/evals/README.md +2 -2
- package/skills/constitution/evals/cases.yaml +2 -2
- package/skills/constitution/references/constitution-template.md +1 -1
- package/skills/cpp/SKILL.md +2 -2
- package/skills/cpp/evals/README.md +1 -1
- package/skills/cpp/evals/cases.yaml +2 -2
- package/skills/csharp-dotnet/SKILL.md +3 -3
- package/skills/csharp-dotnet/evals/cases.yaml +1 -1
- package/skills/csharp-dotnet/references/aspnetcore.md +1 -1
- package/skills/data-policy/SKILL.md +2 -2
- package/skills/data-policy/evals/README.md +1 -1
- package/skills/data-policy/evals/cases.yaml +1 -1
- package/skills/debug/SKILL.md +1 -1
- package/skills/debug/evals/README.md +1 -1
- package/skills/decision-challenge/SKILL.md +2 -2
- package/skills/decision-challenge/evals/cases.yaml +1 -1
- package/skills/deployment/SKILL.md +2 -2
- package/skills/deployment/evals/README.md +1 -1
- package/skills/deployment/evals/cases.yaml +2 -2
- package/skills/django/SKILL.md +2 -2
- package/skills/django/evals/README.md +1 -1
- package/skills/django/evals/cases.yaml +1 -1
- package/skills/django/references/security.md +1 -1
- package/skills/docker/SKILL.md +3 -3
- package/skills/docker/evals/cases.yaml +1 -1
- package/skills/dynamodb/SKILL.md +2 -2
- package/skills/electron/SKILL.md +1 -1
- package/skills/electron/references/packaging-and-updates.md +1 -1
- package/skills/email-connector/SKILL.md +2 -2
- package/skills/email-deliverability/SKILL.md +1 -1
- package/skills/error-handling/SKILL.md +1 -1
- package/skills/expo/SKILL.md +2 -2
- package/skills/fastapi/SKILL.md +4 -4
- package/skills/fastapi/evals/README.md +2 -2
- package/skills/fastapi/evals/cases.yaml +2 -2
- package/skills/fastapi/references/security.md +2 -2
- package/skills/firebase/SKILL.md +1 -1
- package/skills/flutter/SKILL.md +1 -1
- package/skills/flutter/evals/cases.yaml +2 -2
- package/skills/fly-io/SKILL.md +1 -1
- package/skills/gamedev-multiplayer/SKILL.md +1 -1
- package/skills/gamedev-multiplayer/evals/README.md +1 -1
- package/skills/gamedev-multiplayer/evals/cases.yaml +2 -2
- package/skills/gamedev-shipping/SKILL.md +1 -1
- package/skills/gcp-essentials/SKILL.md +2 -2
- package/skills/gcp-essentials/evals/README.md +1 -1
- package/skills/gcp-essentials/evals/cases.yaml +2 -2
- package/skills/gdpr-privacy/SKILL.md +2 -2
- package/skills/gdpr-privacy/evals/cases.yaml +1 -1
- package/skills/github-actions/SKILL.md +2 -2
- package/skills/go/SKILL.md +4 -4
- package/skills/go/evals/README.md +1 -1
- package/skills/go/evals/cases.yaml +2 -2
- package/skills/google-workspace/SKILL.md +2 -2
- package/skills/hetzner/SKILL.md +1 -1
- package/skills/htmx/SKILL.md +4 -4
- package/skills/htmx/evals/cases.yaml +2 -2
- package/skills/implement/SKILL.md +2 -2
- package/skills/init/SKILL.md +2 -2
- package/skills/init/evals/cases.yaml +2 -2
- package/skills/init/references/discovery.md +1 -1
- package/skills/init/references/recommend-skills.md +5 -5
- package/skills/java/SKILL.md +3 -3
- package/skills/java/evals/README.md +1 -1
- package/skills/java/evals/cases.yaml +2 -2
- package/skills/laravel/SKILL.md +3 -3
- package/skills/laravel/evals/README.md +1 -1
- package/skills/laravel/evals/cases.yaml +1 -1
- package/skills/marketing/evals/README.md +1 -1
- package/skills/marketing/evals/cases.yaml +1 -1
- package/skills/mongodb/SKILL.md +2 -2
- package/skills/mongodb/evals/README.md +1 -1
- package/skills/mongodb/evals/cases.yaml +2 -2
- package/skills/nextjs/SKILL.md +3 -3
- package/skills/nextjs/evals/cases.yaml +2 -2
- package/skills/nextjs/references/security.md +2 -2
- package/skills/notion-connector/SKILL.md +3 -3
- package/skills/notion-connector/evals/README.md +1 -1
- package/skills/notion-connector/evals/cases.yaml +2 -2
- package/skills/php/SKILL.md +4 -4
- package/skills/php/evals/README.md +1 -1
- package/skills/php/evals/cases.yaml +1 -1
- package/skills/plan/evals/README.md +1 -1
- package/skills/postgresdb/SKILL.md +1 -1
- package/skills/postgresdb/evals/README.md +1 -1
- package/skills/postgresdb/evals/cases.yaml +2 -2
- package/skills/presentations/evals/README.md +1 -1
- package/skills/python/SKILL.md +3 -3
- package/skills/python/evals/README.md +1 -1
- package/skills/python/evals/cases.yaml +2 -2
- package/skills/rag/scripts/verify.sh +1 -1
- package/skills/review/SKILL.md +2 -2
- package/skills/review/evals/cases.yaml +3 -3
- package/skills/ruby/SKILL.md +1 -1
- package/skills/rust/SKILL.md +2 -2
- package/skills/rust/evals/README.md +1 -1
- package/skills/rust/evals/cases.yaml +2 -2
- package/skills/security-audit/SKILL.md +186 -0
- package/skills/security-audit/evals/cases.yaml +95 -0
- package/skills/security-audit/references/auditor-safety.md +69 -0
- package/skills/security-audit/references/classes/README.md +225 -0
- package/skills/security-audit/references/classes/ai-and-llm.md +247 -0
- package/skills/security-audit/references/classes/client-side.md +181 -0
- package/skills/security-audit/references/classes/cloud-and-deployment.md +167 -0
- package/skills/security-audit/references/classes/data-isolation.md +161 -0
- package/skills/security-audit/references/classes/desktop-mobile-ipc.md +167 -0
- package/skills/security-audit/references/classes/memory-and-binary.md +230 -0
- package/skills/security-audit/references/classes/protocols-and-messaging.md +151 -0
- package/skills/security-audit/references/classes/resource-exhaustion.md +141 -0
- package/skills/security-audit/references/classes/supply-chain.md +147 -0
- package/skills/security-audit/references/classes/web-and-auth.md +238 -0
- package/skills/security-audit/references/coverage-ledger.md +172 -0
- package/skills/security-audit/references/fixes-by-stack.md +972 -0
- package/skills/security-audit/references/fixing.md +200 -0
- package/skills/security-audit/references/hunting.md +146 -0
- package/skills/security-audit/references/isolated-execution.md +85 -0
- package/skills/security-audit/references/platforms.md +650 -0
- package/skills/security-audit/references/reconnaissance.md +73 -0
- package/skills/security-audit/references/resuming.md +55 -0
- package/skills/security-audit/references/scanners.md +347 -0
- package/skills/{secure-coding → security-audit}/references/secrets-and-supply-chain.md +78 -34
- package/skills/security-audit/references/secrets-discipline.md +173 -0
- package/skills/{secure-coding → security-audit}/references/threat-modeling.md +80 -32
- package/skills/security-audit/references/verification.md +118 -0
- package/skills/security-audit/schema/findings.schema.json +178 -0
- package/skills/security-audit/scripts/render-report.mjs +311 -0
- package/skills/security-audit/scripts/validate-findings.mjs +508 -0
- package/skills/skill-scout/scripts/verify.sh +1 -1
- package/skills/source-grounded-development/evals/cases.yaml +1 -1
- package/skills/specify/evals/README.md +1 -1
- package/skills/spring-boot/SKILL.md +3 -3
- package/skills/spring-boot/evals/README.md +1 -1
- package/skills/spring-boot/evals/cases.yaml +1 -1
- package/skills/spring-boot/references/security.md +1 -1
- package/skills/stripe/SKILL.md +2 -2
- package/skills/suggest/evals/cases.yaml +2 -2
- package/skills/supabase/SKILL.md +1 -1
- package/skills/tauri/SKILL.md +2 -2
- package/skills/testing-go/SKILL.md +1 -1
- package/skills/typescript/SKILL.md +2 -2
- package/skills/verify/SKILL.md +3 -3
- package/skills/verify/evals/README.md +2 -2
- package/skills/verify/evals/cases.yaml +2 -2
- package/skills/vue-nuxt/SKILL.md +2 -2
- package/skills/webhooks/SKILL.md +2 -2
- package/skills/wordpress/SKILL.md +2 -2
- package/skills/wordpress/evals/README.md +1 -1
- package/skills/wordpress/evals/cases.yaml +1 -1
- package/skills/worktrees/evals/README.md +1 -1
- package/targets/claude.js +23 -1
- package/targets/clone-bootstrap.mjs +1 -1
- package/targets/commands.js +1 -1
- package/skills/secure-coding/SKILL.md +0 -336
- package/skills/secure-coding/evals/README.md +0 -68
- package/skills/secure-coding/evals/cases.yaml +0 -55
- package/skills/secure-coding/references/authn-authz.md +0 -249
- package/skills/secure-coding/references/owasp-by-stack.md +0 -574
- package/skills/secure-coding/scripts/verify.sh +0 -208
- package/skills/security-scan/SKILL.md +0 -219
- package/skills/security-scan/evals/README.md +0 -14
- package/skills/security-scan/evals/cases.yaml +0 -50
- package/skills/security-scan/references/tools.md +0 -97
- package/skills/security-scan/references/triage.md +0 -92
- package/skills/security-scan/scripts/verify.sh +0 -108
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# Triage — ranking, dedupe, severity, report schema
|
|
2
|
-
|
|
3
|
-
The value of this skill lives here: scanner output is high-noise, and the job is
|
|
4
|
-
turning four overlapping logs into one ranked, gate-able report.
|
|
5
|
-
|
|
6
|
-
## Exploitability ranking rubric
|
|
7
|
-
|
|
8
|
-
Score each finding on three axes, then sort. Count of findings is irrelevant —
|
|
9
|
-
one reachable RCE outranks fifty theoretical lib advisories.
|
|
10
|
-
|
|
11
|
-
| Axis | High | Low |
|
|
12
|
-
|---|---|---|
|
|
13
|
-
| **Reachable** | the vulnerable code/dep is actually called (govulncheck-confirmed, in the import graph) | present but unused / behind a disabled flag |
|
|
14
|
-
| **Exposed** | on an untrusted path (HTTP handler, CLI arg, file upload, deserialization) | internal-only, dev-only, test fixture |
|
|
15
|
-
| **Sink sensitivity** | auth, money, PII, RCE, secret material | logging, cosmetic, info-leak of non-sensitive data |
|
|
16
|
-
|
|
17
|
-
- **Critical:** reachable **+** exposed **+** sensitive sink. Or any **verified
|
|
18
|
-
live secret** (TruffleHog confirmed) — those are critical by definition.
|
|
19
|
-
- **High:** two of three axes high, or a reachable CVE with a public exploit.
|
|
20
|
-
- **Medium:** one axis high; present-but-not-clearly-reachable CVEs.
|
|
21
|
-
- **Low / informational:** theoretical, unreachable, or test-only.
|
|
22
|
-
|
|
23
|
-
Report criticals first with the concrete remediation (rotate / bump to fixed
|
|
24
|
-
version / parameterize), then summarize the rest. Do not emit a flat list.
|
|
25
|
-
|
|
26
|
-
## Cross-tool dedupe
|
|
27
|
-
|
|
28
|
-
Tools overlap: osv-scanner and Trivy both flag the same CVE; gitleaks and
|
|
29
|
-
TruffleHog both flag the same key.
|
|
30
|
-
|
|
31
|
-
- **Dedupe key:** `(class, normalized-id, path, line)`.
|
|
32
|
-
- `normalized-id`: CVE/GHSA for SCA; rule id for SAST; secret fingerprint
|
|
33
|
-
(provider + redacted last-4 + location) for secrets.
|
|
34
|
-
- **Keep the richest record** when two tools collide: prefer the one carrying
|
|
35
|
-
**verification** (TruffleHog `verified: true`) or **reachability**
|
|
36
|
-
(govulncheck), and merge the `tool` field into a list of contributors.
|
|
37
|
-
|
|
38
|
-
## Severity normalization
|
|
39
|
-
|
|
40
|
-
SARIF `level` (`error`/`warning`/`note`/`none`) and tool-native severities
|
|
41
|
-
disagree. Map everything to one scale before ranking or gating:
|
|
42
|
-
|
|
43
|
-
| Source signal | Normalized |
|
|
44
|
-
|---|---|
|
|
45
|
-
| SARIF `error` / CVSS ≥ 9.0 / verified secret | `critical` |
|
|
46
|
-
| SARIF `error` / CVSS 7.0–8.9 / Semgrep `ERROR` | `high` |
|
|
47
|
-
| SARIF `warning` / CVSS 4.0–6.9 / Semgrep `WARNING` | `medium` |
|
|
48
|
-
| SARIF `note` / CVSS < 4.0 / `INFO` | `low` |
|
|
49
|
-
|
|
50
|
-
Where a tool gives both CVSS and a label, take the **higher** of the two.
|
|
51
|
-
|
|
52
|
-
## Suppression discipline
|
|
53
|
-
|
|
54
|
-
A suppression is a per-finding record, not a silent ignore-file. Each one carries
|
|
55
|
-
`who`, `why`, and `expiry` so it surfaces again instead of hiding the next bug.
|
|
56
|
-
Use the tool-native suppression (osv-scanner.toml `ignoreUntil`, `.trivyignore`,
|
|
57
|
-
gitleaks allowlist, `// nosemgrep`) and set `status: "suppressed"` in the report.
|
|
58
|
-
|
|
59
|
-
## Report schema — `security-scan-report.json`
|
|
60
|
-
|
|
61
|
-
This is the contract `scripts/verify.sh` gates on.
|
|
62
|
-
|
|
63
|
-
```json
|
|
64
|
-
{
|
|
65
|
-
"schemaVersion": "1.0",
|
|
66
|
-
"scannedAt": "<ISO-8601 UTC>",
|
|
67
|
-
"target": "<path or repo>",
|
|
68
|
-
"tools": [{ "name": "<tool>", "version": "<pinned>" }],
|
|
69
|
-
"summary": {
|
|
70
|
-
"critical": 0, "high": 0, "medium": 0, "low": 0, "suppressed": 0
|
|
71
|
-
},
|
|
72
|
-
"findings": [
|
|
73
|
-
{
|
|
74
|
-
"class": "sast | sca | secrets | misconfig",
|
|
75
|
-
"ruleId": "<CVE / GHSA / rule-id / secret-fingerprint>",
|
|
76
|
-
"path": "<file>",
|
|
77
|
-
"line": 0,
|
|
78
|
-
"severity": "critical | high | medium | low",
|
|
79
|
-
"status": "open | suppressed | fixed",
|
|
80
|
-
"tool": "<tool name>",
|
|
81
|
-
"exploitability": "reachable | exposed | theoretical",
|
|
82
|
-
"title": "<short human description>"
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
- `summary` counts must agree with `findings` (verify.sh tolerates an empty
|
|
89
|
-
`findings` array as a clean pass).
|
|
90
|
-
- **Gate:** any `findings[]` with `status: "open"` and `severity: "critical"`
|
|
91
|
-
→ fail. Strict mode also fails on `open` + `high`. `suppressed`/`fixed` never
|
|
92
|
-
fail. An empty/clean report exits `0`.
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -euo pipefail
|
|
3
|
-
|
|
4
|
-
# ============================================================================
|
|
5
|
-
# NAME
|
|
6
|
-
# verify.sh — security-scan gate over security-scan-report.json
|
|
7
|
-
#
|
|
8
|
-
# USAGE
|
|
9
|
-
# ./verify.sh [path/to/security-scan-report.json]
|
|
10
|
-
# Defaults to ./security-scan-report.json in the current directory.
|
|
11
|
-
#
|
|
12
|
-
# WHAT IT DOES (read-only — never writes, never auto-fixes, never runs scanners)
|
|
13
|
-
# 1. Locates the report. If it is ABSENT, exits 0 with a notice — the gate is
|
|
14
|
-
# vacuously clean (nothing scanned yet is not a failure).
|
|
15
|
-
# 2. Parses it as JSON (requires jq).
|
|
16
|
-
# 3. Validates the schema: schemaVersion, summary object, findings array, and
|
|
17
|
-
# that each finding carries class/ruleId/path/severity/status.
|
|
18
|
-
# 4. Enforces the gate: any finding with status "open" at severity "critical"
|
|
19
|
-
# fails (exit 1). With STRICT=1, "open" + "high" also fails.
|
|
20
|
-
#
|
|
21
|
-
# An empty/clean report (no open criticals, or an empty findings array)
|
|
22
|
-
# exits 0 — no false failure.
|
|
23
|
-
#
|
|
24
|
-
# ENV TOGGLES
|
|
25
|
-
# STRICT=1 Also fail on open HIGH findings (default: criticals only).
|
|
26
|
-
# NO_COLOR=1 Disable ANSI color.
|
|
27
|
-
#
|
|
28
|
-
# EXIT CODES
|
|
29
|
-
# 0 Clean: report missing, empty, or no open critical (/high under STRICT).
|
|
30
|
-
# 1 At least one open critical (or open high under STRICT).
|
|
31
|
-
# 2 Usage / schema / tooling error (jq missing, malformed JSON, bad schema).
|
|
32
|
-
# ============================================================================
|
|
33
|
-
|
|
34
|
-
REPORT="${1:-./security-scan-report.json}"
|
|
35
|
-
STRICT="${STRICT:-0}"
|
|
36
|
-
|
|
37
|
-
if [ -n "${NO_COLOR:-}" ]; then
|
|
38
|
-
RED=""; YEL=""; GRN=""; RST=""
|
|
39
|
-
else
|
|
40
|
-
RED=$'\033[31m'; YEL=$'\033[33m'; GRN=$'\033[32m'; RST=$'\033[0m'
|
|
41
|
-
fi
|
|
42
|
-
|
|
43
|
-
note() { printf '%s\n' "$*" >&2; }
|
|
44
|
-
|
|
45
|
-
# --- 1. report absent => vacuously clean -----------------------------------
|
|
46
|
-
if [ ! -e "$REPORT" ]; then
|
|
47
|
-
note "${YEL}notice:${RST} no report at '$REPORT' — nothing to gate. Clean."
|
|
48
|
-
exit 0
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
|
-
# --- tooling ---------------------------------------------------------------
|
|
52
|
-
if ! command -v jq >/dev/null 2>&1; then
|
|
53
|
-
note "${RED}error:${RST} jq is required to validate the report."
|
|
54
|
-
exit 2
|
|
55
|
-
fi
|
|
56
|
-
|
|
57
|
-
# --- 2. valid JSON ---------------------------------------------------------
|
|
58
|
-
if ! jq -e . "$REPORT" >/dev/null 2>&1; then
|
|
59
|
-
note "${RED}error:${RST} '$REPORT' is not valid JSON."
|
|
60
|
-
exit 2
|
|
61
|
-
fi
|
|
62
|
-
|
|
63
|
-
# --- 3. schema -------------------------------------------------------------
|
|
64
|
-
schema_ok=$(jq -e '
|
|
65
|
-
(has("schemaVersion"))
|
|
66
|
-
and (has("summary") and (.summary | type == "object"))
|
|
67
|
-
and (has("findings") and (.findings | type == "array"))
|
|
68
|
-
and (
|
|
69
|
-
.findings
|
|
70
|
-
| all(
|
|
71
|
-
(has("class")) and (has("ruleId")) and (has("path"))
|
|
72
|
-
and (has("severity")) and (has("status"))
|
|
73
|
-
)
|
|
74
|
-
)
|
|
75
|
-
' "$REPORT" 2>/dev/null || echo "false")
|
|
76
|
-
|
|
77
|
-
if [ "$schema_ok" != "true" ]; then
|
|
78
|
-
note "${RED}error:${RST} '$REPORT' does not conform to the schema"
|
|
79
|
-
note " (need schemaVersion, summary{}, findings[] with"
|
|
80
|
-
note " class/ruleId/path/severity/status on every finding)."
|
|
81
|
-
exit 2
|
|
82
|
-
fi
|
|
83
|
-
|
|
84
|
-
# --- 4. gate ---------------------------------------------------------------
|
|
85
|
-
open_crit=$(jq '[.findings[] | select(.status == "open" and .severity == "critical")] | length' "$REPORT")
|
|
86
|
-
open_high=$(jq '[.findings[] | select(.status == "open" and .severity == "high")] | length' "$REPORT")
|
|
87
|
-
total=$(jq '.findings | length' "$REPORT")
|
|
88
|
-
suppressed=$(jq '[.findings[] | select(.status == "suppressed")] | length' "$REPORT")
|
|
89
|
-
|
|
90
|
-
note "Report: $REPORT (findings: ${total}, suppressed: ${suppressed}, open-critical: ${open_crit}, open-high: ${open_high})"
|
|
91
|
-
|
|
92
|
-
fail=0
|
|
93
|
-
if [ "$open_crit" -gt 0 ]; then
|
|
94
|
-
note "${RED}FAIL:${RST} ${open_crit} open CRITICAL finding(s) — resolve or suppress with justification before merge."
|
|
95
|
-
jq -r '.findings[] | select(.status=="open" and .severity=="critical") | " - [\(.class)] \(.ruleId) \(.path) \(.title // "")"' "$REPORT" >&2
|
|
96
|
-
fail=1
|
|
97
|
-
fi
|
|
98
|
-
if [ "$STRICT" = "1" ] && [ "$open_high" -gt 0 ]; then
|
|
99
|
-
note "${RED}FAIL (STRICT):${RST} ${open_high} open HIGH finding(s)."
|
|
100
|
-
jq -r '.findings[] | select(.status=="open" and .severity=="high") | " - [\(.class)] \(.ruleId) \(.path) \(.title // "")"' "$REPORT" >&2
|
|
101
|
-
fail=1
|
|
102
|
-
fi
|
|
103
|
-
|
|
104
|
-
if [ "$fail" -eq 0 ]; then
|
|
105
|
-
note "${GRN}PASS:${RST} no open critical$([ "$STRICT" = "1" ] && echo "/high") findings."
|
|
106
|
-
exit 0
|
|
107
|
-
fi
|
|
108
|
-
exit 1
|