Back to skill

Security audit

skill-standardization

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a real skill-audit/refactor tool, but it asks the agent to keep modifying files without user confirmation and includes under-disclosed cleanup and reporting risks.

Review before installing. Use read-only audit modes first, keep a separate backup of any target skill, and do not allow update/refactor/cleanup to run automatically without reviewing the planned file changes and deletion targets.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:50
Finding

Non-Optional Agent Workflow Directives Override User Control

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/permission_checker.py:43
Finding

Detection Signatures Are Deliberately Obfuscated to Evade Static Scanners

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/cleanup_manager.py:46
Finding

Cleanup Root and Deletion Containment Can Be Manipulated

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (129)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Backup rollback, restore, purge, and diff inspection are operationally powerful file-management functions that are not implied by the stated standards-audit purpose. Undisclosed disaster-recovery and restoration actions can materially alter user files and should not be hidden behind a compliance-engine label.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 27)May include surrounding context.

md
- **版本号三端一致** — 更新时同步 `SKILL.md` / `_meta.json` / `references/changelog.md`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 96)May include surrounding context.

md
- **版本号三端一致** — 更新时同步 `SKILL.md` / `_meta.json` / `references/changelog.md`

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

Lines L184-L186 explicitly claim that all review results are 'pure warning mode' and that scripts.skill_audit always returns exit code 0 even for ERROR findings. Later, L354-L360 discusses audit --verify returning exit(1), which is an active contradiction in the skill's own documentation about enforcement behavior.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The CLI claims to support --dry-run, but still calls finalize() and run_cleanup() before printing dry-run output. A user relying on dry-run for safe preview will instead trigger real deletion, creating a high risk of unintended destructive file removal in an operational tool.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The implementation marks results as PASS (LLM 二筛通过) and removes all failing entries merely because a classify file exists, instead of filtering only explicitly classified false positives. This can hide genuine failures and produce falsely clean audit reports, enabling policy bypass and unsafe changes to be approved under the appearance of compliance.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

fix_artifact_paths performs real destructive and restructuring actions on the target skill: it deletes files matching broad patterns, moves files based on analyzer output, and rewrites references across the tree. For a standards-audit/fix tool, this exceeds low-risk metadata repair and can cause data loss or unintended repository-wide changes if findings are wrong, incomplete, or attacker-influenced.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dynamic_code_execution

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
scripts/skill_audit/__init__.py:82