This tutorial introduces AST04: Insecure Metadata, the risk of missing, misleading, or weak metadata that breaks review and trust decisions. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full access to Agentic AI at kenhuangus.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00welcome to AST04 insecure metadata this lesson covers the files and fields that make a skill look trustworthy name description author permissions required dependencies and risk tier the source warns that these are attacker controlled inputs they can deceive users semantically and they can also be dangerous at the parsing layer if a loader deserializes metadata unsafely the payload may execute before the skill is ever run the failure pattern has two layers at
SPEAKER_00the semantic layer metadata tells a story this is the official brand the risk is low and the permissions are harmless at the parsing layer the same files are loaded by the agent or skill runtime the source name skill.md frontmatter package.json manifest.json requirements files and initialization configuration as part of the attack surface reviewers see labels loaders process instructions and data structures ast04 is skill specific because metadata is not just documentation
SPEAKER_00the source says metadata is the primary signal users and increasingly installing agents rely on for trust decisions yet unlike code it is rarely validated during skill loading that metadata may be deserialized automatically and silently with the agent's permission context that means a malicious definition can mislead the installer and trigger code before the user has taken any visible action the ast04 evidence spans deception and parsing
SPEAKER_00the source sites claw hub skills named google calendar integration soana wallet tracker and polymarket trader with no affiliation to those brands snick documented a malicious google skill whose name description and readme looked professional enough to pass casual inspection the page also flags ascii smuggling base 64 strings zero width characters and parser hazards such as pyyml object tags that can execute code when loaded
SPEAKER_00the common attack paths begin with metadata that looks ordinary brand impersonation publishes a skill such as google workspace integration before an official publisher does permissioned understating declares network false while scripts still call external endpoints risk tier spoofing labels destructive behavior as low risk the parsing attacks are sharper yaml code execution json prototype pollution toml or config injection and staged loaders where a clean skill.md pulls
SPEAKER_00a malicious dependency during installation the defense is to treat metadata as untrusted input use safe parsers by default disable dangerous yaml tags and move from unsafe load calls to safe alternatives validate metadata against schema such as json schema or pidantic with an allowist of permitted fields run static analysis over metadata and skill.md pros for ascii smuggling base 64 payloads and zero width characters parse skill files and install dependencies inside isolated least privilege environments use this one
SPEAKER_00minute ast04 checklist first identity is the author or brand claim verified and is provenance visible in the registry ui second consistency do declared permissions and risk tier match what the skill actually does in sandbox testing third parsing our skill.md manifest files package files and dependency installation handled with safe parsers and isolation if metadata is the main trust signal it deserves the same scrutiny as code
This tutorial introduces AST10: Cross-Platform Reuse, the risk of moving skills across platforms without preserving source security assumptions. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full...
This tutorial introduces AST09: No Governance, the risk of lack of inventory, ownership, policy, review, and incident response for skills. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full access...
This tutorial introduces AST07: Update Drift, the risk of behavior, dependency, or configuration changes that alter risk after approval. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full access to...
This tutorial introduces AST08: Poor Scanning, the risk of insufficient review, detection, or validation before skills enter real workflows. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full access...
This tutorial introduces AST06: Weak Isolation, the risk of skills that execute without adequate sandboxing, boundaries, or containment. It is part of the OWASP Agentic Skills Top 10 tutorial series. Get full access to...