Versioned security assessment

Report ID: SA-362613C9

6/30/2026, 3:40:00 AM

baoyu-format-markdown security assessment v2

Skill Security Certification Report

Audit History
Audit model: codex Historical report
Skill name
baoyu-format-markdown
Version
v2
Maintainer
jimliu
Coverage
5 Files scanned · 505 Lines analyzed
Policy version
Unavailable

Highest confirmed finding severity

Low

2 confirmed security findings require attention.

Installation context

Historical evidence

This report may not describe the currently installable artifact. Open the current Skill page for install guidance.

Open current Skill page

This report does not block or authorize the manifest or ZIP.

Static analysis found many command-like patterns, but most SKILL.md hits are Markdown documentation examples or formatting syntax. One confirmed issue remains: scripts/autocorrect.ts builds a shell command with a user-controlled file path, creating command injection risk. No prompt injection, network exfiltration, environment access, or malicious intent was found.

Report position

Historical report

Open audit history before using this report to install.

Audit attestation

Not attestable

The required immutable binding is incomplete.

Human verification

Not verified

No human verification is recorded for this report.

Coverage

5 Files scanned · 505 Lines analyzed

5 items shown for review

Limitations

This report does not claim runtime or sandbox execution and does not prove the absence of side effects.

Evidence chain

Follow the evidence from source binding to the install contract. Available evidence supports verification; it is not a safety guarantee.

  1. Source

    Binding unavailable

  2. Artifact

    Identity incomplete

  3. Audit

    Complete

  4. Install contract

    Open manifest to verify

    Open manifest

Capabilities observed

Observed means this report recorded supporting evidence. Not recorded does not prove that a capability is absent.

Contains scripts

May execute code included with the Skill.

Not recorded by this audit

Network access

May connect to external services.

Not recorded by this audit

Filesystem access

May read or write local files.

Observed in 4 evidence locations

Env variables

May read values from the process environment.

Not recorded by this audit

External commands

May invoke commands or programs outside the Skill.

Observed in 4 evidence locations

Capability review items (3)
High
Shell Command Injection Through File Path
scripts/autocorrect.ts imports child_process and passes a template string to execSync. The file path comes from the CLI argument flow in scripts/main.ts, so a crafted path containing quotes or shell metacharacters can break out of the quoted argument and run arbitrary shell commands.
The code directly interpolates a user-supplied file path into an execSync shell command. Quoting the path does not prevent injection when the value can contain quote characters.
Medium
Unpinned External Tool Execution
The workflow instructs users to run npx with bun and the script invokes npx autocorrect-node. This executes external tooling without a pinned package version in the documented command path, creating supply-chain and reproducibility risk.
The external execution path is explicit and repeatable. The finding is not evidence of malware, but unpinned npx execution is a real marketplace risk.
Medium
In-Place File Modification
scripts/main.ts reads and writes the target file directly, and the skill also offers a typography-only mode that modifies the original file. This is expected formatter behavior, but it can overwrite user content if the wrong path is supplied or backup handling is bypassed.
The file read and write behavior is clear in the implementation and documentation. It is legitimate for a formatter, but it has user-data impact.

Risk findings

Confirmed security concerns are separated from items that still need review.

Confirmed security concerns (2)

RISK-001 Low
Benign Unicode Escape Use
scripts/quotes.ts uses Unicode escapes for typographic quotation marks. This is not obfuscation and matches the documented quote replacement feature.
The escape sequences are immediately used as replacement quote characters. There is no hidden control flow, decoding layer, or suspicious payload.
RISK-002 Low
Hidden Configuration File Access
The skill checks project and home EXTEND.md paths under .baoyu-skills for optional preferences. This is a bounded configuration lookup, but users should know it may read formatter preferences from hidden directories.
The documented paths are narrow and preference-oriented, so this is not secret harvesting. It is still a hidden-file access pattern worth disclosing.

Expert evidence

Immutable subject identity, scanner metadata, dismissed matches, and source-level evidence.

Artifact subject

Marketplace commit
Unavailable
Content hash
Unavailable
Tree hash
Unavailable
Skill path
Unavailable
Audit payload hash
Unavailable

Analysis metadata

Audit model: codex

Analysis state: Complete

Scope is limited to the recorded files, lines, methods, and evidence. No runtime or sandbox execution is claimed.

Static false positives ignored (1)
Low
Static Analyzer False Positives in Markdown Text
Most SKILL.md external command findings are Markdown examples, inline code, tables, and fenced commands that document formatter usage. The weak cryptography and reconnaissance alerts did not correspond to cryptographic operations or system probing in the reviewed file.
Line-number review shows documentation content and Markdown syntax, not executable code for cryptography or reconnaissance. The safe interpretation is supported by the surrounding workflow text.

Verify and export

The manifest and lockfile bind install artifacts to cryptographic hashes. This integrity claim is separate from the security assessment.

Audit attestation: not_attestable