You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Add or update a fixture under `tests/fixtures/`.
20
+
2. Add an assertion in `tests/test_scan.py`.
21
+
3. Update `references/detection-rules.md`.
22
+
4. Run `python scripts/scan.py .` and confirm the repository still rates `A`.
23
+
24
+
Rules should be conservative. Direct `F` findings should be limited to patterns that are clearly dangerous, such as exfiltration, tunneling, destructive commands, reverse shells, or remote script execution.
25
+
26
+
## Pull Requests
27
+
28
+
Please keep pull requests focused. Good PRs usually include:
29
+
30
+
- a clear rule or scanner behavior change
31
+
- a fixture showing the expected behavior
32
+
- updated documentation when scoring or output changes
It performs a deterministic 7-dimension scan, assigns an A-F rating, reports confidence levels, and gives remediation guidance. The CLI is implemented in Python standard library only, so it runs on Windows, macOS, and Linux without project dependencies.
7
+
Static security scanner for agent skill packages.
6
8
7
-
> OpenClaw Skill — works with [OpenClaw](https://github.com/openclaw/openclaw) AI agents and can also be used as a standalone scanner.
9
+
`skill-security-guard` performs a deterministic 7-dimension scan, assigns an A-F risk rating, reports confidence levels, and gives remediation guidance. The CLI uses only the Python standard library, so it runs on Windows, macOS, and Linux without project dependencies.
10
+
11
+
It can be used as an OpenClaw skill or as a standalone scanner for local skill packages.
8
12
9
13
## What It Scans
10
14
@@ -46,6 +50,38 @@ Ignore a reviewed rule for one run:
Directory and zip scans include `SKILL.md` and files under `scripts/` by default. Reference docs are skipped to reduce false positives; use `--include-references` when you explicitly want to scan reference markdown too.
59
95
96
+
## Requirements
97
+
98
+
- Python 3.10+
99
+
- No runtime package dependencies
100
+
101
+
The CI workflow currently tests Python 3.11 and 3.12 on Ubuntu.
This is a static scanner. It does not execute skills, monitor runtime behavior, prove package provenance, or replace human security review. Findings are intentionally conservative and should be reviewed before blocking a skill.
104
153
154
+
## Contributing
155
+
156
+
Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for local development and rule-design guidance.
157
+
158
+
For vulnerability reports, see [SECURITY.md](SECURITY.md).
Please do not open a public issue for a vulnerability that could help attackers abuse skill packages.
6
+
7
+
Report security issues through GitHub private vulnerability reporting if it is available on this repository. If private reporting is unavailable, open a minimal public issue that says a security report is available without including exploit details.
8
+
9
+
Useful report details include:
10
+
11
+
- affected rule or input path
12
+
- sample input that triggers the issue
13
+
- expected vs actual scanner behavior
14
+
- whether the issue causes a false negative, false positive, crash, or unsafe extraction
15
+
16
+
## Scope
17
+
18
+
In scope:
19
+
20
+
- unsafe zip handling
21
+
- false negatives for high-risk patterns
22
+
- crashes on reasonable skill inputs
23
+
- output that could mislead users into installing a clearly unsafe skill
24
+
25
+
Out of scope:
26
+
27
+
- requests to classify organization-specific policy without sample rules
28
+
- runtime behavior of third-party skills after installation
29
+
- vulnerabilities in external tools that are not bundled by this project
Copy file name to clipboardExpand all lines: SKILL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
name: skill-security-guard
3
-
description: "Scan OpenClaw/Codex-style skill packages for static security risks. Use for skill audit, security check, prompt-injection review, suspicious scripts, unsafe dependencies, zip package review, and pre-install skill review. Not for runtime monitoring."
3
+
description: "Scan agent skill packages for static security risks. Use for skill audit, security check, prompt-injection review, suspicious scripts, unsafe dependencies, zip package review, and pre-install skill review. Not for runtime monitoring."
0 commit comments