Back to skill

Security audit

Agent Skills Main

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed local transcript-redaction workflow, but users should carefully review any generated transcript before publishing it to GitHub.

Install only if you are comfortable with the agent reading local session logs to prepare a redacted public transcript. Before publishing, review the final rendered transcript for secrets, private paths, unrelated work, and tool output; also verify the installed package actually includes the referenced agent-transcript helper script.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (115)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The workflow includes opening generated preview files via the operating system browser command. If file paths or generated content are not carefully controlled, this can expose users to local command/path abuse or to rendering of untrusted active content, especially because transcript logs are treated as potentially sensitive and may contain attacker-influenced text.

Content

No source excerpt is available for this finding.

External Model or Provider Selection

High
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · agent-skills-main/skills/autoreview/SKILL.md (reported line 318)May include surrounding context.

bash
# Codex with explicit model and reasoning
"$AUTOREVIEW" --engine codex --model gpt-5.6-sol --thinking high

# Codex fast mode (priority service tier); needs a model whose catalog lists the tier, silently standard otherwise
"$AUTOREVIEW" --engine codex --codex-speed fast

External Model or Provider Selection

High
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · agent-skills-main/skills/autoreview/SKILL.md (reported line 327)May include surrounding context.

md
"$AUTOREVIEW" --engine codex --codex-config 'service_tier="fast"'

# Claude Code aliases or full model names, with optional availability fallback
"$AUTOREVIEW" --engine claude --model claude-fable-5 --thinking max
"$AUTOREVIEW" --engine claude --model claude-fable-5 --fallback-model claude-opus-4-8,claude-sonnet-4-6

# Pi with explicit model and thinking level

External Model or Provider Selection

High
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · agent-skills-main/skills/autoreview/SKILL.md (reported line 328)May include surrounding context.

md
# Claude Code aliases or full model names, with optional availability fallback
"$AUTOREVIEW" --engine claude --model claude-fable-5 --thinking max
"$AUTOREVIEW" --engine claude --model claude-fable-5 --fallback-model claude-opus-4-8,claude-sonnet-4-6

# Pi with explicit model and thinking level
"$AUTOREVIEW" --engine pi --model anthropic/claude-sonnet-4 --thinking high --pi-bin pi

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · agent-skills-main/skills/autoreview/scripts/test-review-harness.py (reported line 57)May include surrounding context.

python
}

export function deleteUpload(name) {
  return execSync(`rm -rf uploads/${name}`);
}

export function publicUser(user) {

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · agent-skills-main/skills/autoreview/scripts/autoreview_test.py (reported line 643)May include surrounding context.

python
def git(repo: Path, *args: str) -> str:
    env = os.environ.copy()
    env.update(
        {
            "GIT_AUTHOR_NAME": "Autoreview Test",

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · agent-skills-main/skills/autoreview/tests/test_autoreview_hardening.py (reported line 34)May include surrounding context.

python
def git(repo: Path, *args: str) -> str:
    env = os.environ.copy()
    env.update(
        {
            "GIT_AUTHOR_NAME": "Autoreview Test",

Static analysis

Detected: suspicious.dangerous_exec, suspicious.env_credential_access, suspicious.exposed_secret_literal

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
agent-skills-main/skills/agent-transcript/scripts/agent-transcript.test.mjs:19

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
agent-skills-main/skills/autoreview/scripts/test-review-harness.py:57

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
agent-skills-main/skills/session-viewer/scripts/session-viewer.ts:88

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
agent-skills-main/skills/autoreview/tests/test_autoreview_hardening.py:964

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
agent-skills-main/skills/autoreview/scripts/autoreview_test.py:332

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
agent-skills-main/skills/autoreview/tests/fixtures/typescript-sensitive-literals.ts:1

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
agent-skills-main/skills/autoreview/tests/test_autoreview_hardening.py:3265