Back to skill

Security audit

Redteam Suite Pub

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious with medium confidence because Skillspector reports that its benchmark can claim success when a reviewer fails or required scores are missing, weakening the reliability of its stated purpose.

Consider the suspicious verdict and the benchmark reliability findings before installing. Skillspector reports that analysis was partial: all nine listed components were scanned, but three local references could not be resolved, so the evidence is incomplete. AIG completed with no reported findings, but that does not resolve the Skillspector concerns.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (10)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The finding overstates the mismatch: the supplied suite does implement reproducibility-based judgment, while the demo merely displays results. However, the suite can still report successful blocking when required scores are missing or reviewer execution fails, undermining the documented meaning of a successful benchmark exit and potentially giving downstream users false assurance.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_write, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · demo/run_demo.py (reported line 59)May include surrounding context.

python
open(os.path.join(pkg, "demo", "run_demo.py"), "w",
             encoding="utf-8").write("print('ok')\n")

        r = subprocess.run([sys.executable, reviewer, pkg, "--run"],
                           capture_output=True, text=True, encoding="utf-8", timeout=300)
        out = (r.stdout or "") + (r.stderr or "")
        total = [l for l in out.splitlines() if "总分" in l or "total" in l.lower()][:1]

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · run_suite.py (reported line 79)May include surrounding context.

python
def score(reviewer, pkg):
    p = subprocess.run([sys.executable, reviewer, pkg, "--run"],
                       capture_output=True, text=True, encoding="utf-8", timeout=300)
    out = (p.stdout or "") + (p.stderr or "")
    total = re.search(r"(?:总分|total)[::]\s*(\d+)/100", out)

Tainted flow: 'reviewer' from os.environ.get (line 46, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · demo/run_demo.py (reported line 59)May include surrounding context.

python
open(os.path.join(pkg, "demo", "run_demo.py"), "w",
             encoding="utf-8").write("print('ok')\n")

        r = subprocess.run([sys.executable, reviewer, pkg, "--run"],
                           capture_output=True, text=True, encoding="utf-8", timeout=300)
        out = (r.stdout or "") + (r.stderr or "")
        total = [l for l in out.splitlines() if "总分" in l or "total" in l.lower()][:1]

The suite reports probes as blocked when the required reproducible-score check cannot be performed.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

judge() treats a missing total as blocked and leaves the result successful when the required reproducible score is absent. Combined with ignoring the reviewer's return code, this allows a crashing, incompatible, or deliberately evasive reviewer to produce ALL PROBES BLOCKED and exit zero without demonstrating the required checks.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · tests/run_tests.py (reported line 35)May include surrounding context.

python
if reviewer is None:
        sys.stderr.write("KEYS INCOMPLETE: no reviewer found; set REDTEAM_REVIEWER\n")
        return 3
    r = subprocess.run([sys.executable, SUITE, "--reviewer", reviewer],
                       capture_output=True, text=True, encoding="utf-8", timeout=300)
    out = (r.stdout or "") + (r.stderr or "")
    m = re.search(r"probes:\s*(\d+)", out)

Tainted flow: 'reviewer' from os.environ.get (line 31, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · tests/run_tests.py (reported line 35)May include surrounding context.

python
if reviewer is None:
        sys.stderr.write("KEYS INCOMPLETE: no reviewer found; set REDTEAM_REVIEWER\n")
        return 3
    r = subprocess.run([sys.executable, SUITE, "--reviewer", reviewer],
                       capture_output=True, text=True, encoding="utf-8", timeout=300)
    out = (r.stdout or "") + (r.stderr or "")
    m = re.search(r"probes:\s*(\d+)", out)

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · probes.json (reported line 11)May include surrounding context.

json
is software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
   "path": "shape/SKILL.md",

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · probes.json (reported line 47)May include surrounding context.

json
software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
   "path": "vacuity/SKILL.md",