Back to skill

Security audit

aut-grade-checker

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a benign vehicle automation-level checker, but its manifest overstates tool access and contradicts its own offline/no-executable claims.

Review this before installing because the declared tool permissions are broader and less consistent than the skill's simple offline classifier needs. If you use it, prefer running the Python script directly with explicit arguments, do not grant network/write/shell authority unless separately justified, and manually verify the GB/T 40429-2021 rule mapping before relying on its output for compliance decisions.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (9)

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The manifest claims no network, filesystem, or subprocess permissions, but the allowed tool list grants WebFetch, Write, and Bash, which directly enable those actions. Such contradictory declarations can bypass human or automated risk assessment and enable data exfiltration, local file tampering, or command execution under false assurances of isolation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The documentation explicitly states 'no executable script,' yet the manifest declares a CLI entry point aut-grade-checker.py. That contradiction creates a trust-boundary problem: reviewers may treat the skill as inert documentation while the runtime may execute code, enabling hidden or unexpected behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file is written entirely in Chinese and presents itself as the agent-facing instruction manual, while directing human readers elsewhere. This creates a locale/language constraint for AI agents and maintainers without any opt-in, alternative language path, or justification that the skill is region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Line L090 states '中文文档见 SKILL.md', indicating the documentation is provided in Chinese for users, while the file does not offer an explicit language or locale choice. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill presents itself as an offline, zero-dependency, doc-style decision tool, but its manifest simultaneously exposes powerful execution-capable tools such as Bash, Write, and WebFetch. This mismatch can mislead operators, policy engines, or users into trusting the skill as non-executing while it actually has capabilities to run commands, modify files, or access external resources.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest-style description explicitly lists trigger words, and one of them is the very broad term "合规". Because this word is common across many compliance-related conversations, it could cause unintended invocation outside the narrow TH-AUT-001 vehicle automation-level use case.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The changelog states "English first," and the document begins with an English section before Chinese, indicating a fixed language/locale preference. This is a natural-language policy concern because the skill does not offer the user a language choice or make the language preference opt-in.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · aut-grade-checker.py (reported line 114)May include surrounding context.

python
out_list.append({"tool": META["slug"], "input": d, "errors": [str(e)], "rc": 2, "aigc_mark": AIGC})
        print(json.dumps(out_list, ensure_ascii=False, indent=2))
        sys.exit(0 if allok else 2)
    args = {k: getattr(ns, k) for k in argnames}
    try:
        res, rc = _run(args)
    except GateError as e:

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The natural-language content of the file is entirely in Chinese, including the instruction that AI agents should prioritize reading SKILL.md. This may violate a language/locale policy when no user or agent language choice is offered and no region-specific justification is documented.

Content

No source excerpt is available for this finding.