TL;DR: Claude Code skill frontmatter can bypass permission prompts, hide instructions from users, invoke background tasks, and poison project memory, creating persistence and cost-amplification risks in agentic coding workflows, according to HiddenLayer. Skills are now part of the software supply chain, and hidden control fields make conventional review habits insufficient.
Editorial analysis by NHI Mgmt Group, based on content published by HiddenLayer: “What’s the ‘Matter’ with Skills?”.
Key questions
Q: What breaks when skill frontmatter can pre-authorise tools in agentic coding workflows?
A: Permission prompts stop being a reliable control because the effective authority moves into metadata that the user may never see.
Q: Why do hidden skill fields create more risk than visible prompt injection?
A: Hidden fields bypass the review path that developers naturally use for names, descriptions, and visible instructions.
Q: How should teams govern persistent memory writes from AI coding agents?
A: They should treat project memory as lifecycle state, not scratch space.
Practitioner guidance
- Inspect skill frontmatter as a governed artefact Review allowed-tools, when_to_use, user_invocable, model, and effort fields before a skill is accepted into a project or shared team workflow.
- Restrict pre-authorised tool scopes Limit tool permissions in skills to the smallest practical set and treat any skill that can invoke shell, file write, or network fetch as privileged.
- Block hidden background execution paths Disallow skills that can run invisibly in the background or that trigger on ordinary developer actions without a clear approval step.
Bottom line: Claude Code skills can embed authority in frontmatter, which means the hidden control surface matters as much as the visible prompt or code body.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Skill frontmatter is now part of the agent’s trust boundary: HiddenLayer’s findings show that the real control plane in agentic coding is not just the prompt or the code body. Frontmatter can alter permissions, visibility, and execution timing before the user sees the effective behaviour. That shifts skills from convenience artefacts to governance objects, which means review discipline has to extend into metadata.
A few things that frame the scale:
- Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: When do skills become a software supply chain risk rather than a local workflow helper?
A: They become a supply chain risk as soon as they can be imported, reused, or chained across projects without full inspection of their metadata and allowed capabilities. At that point, the threat is not just the current repository. It is the reuse of an artefact that can carry hidden authority into every downstream workflow.
👉 Read our full editorial: Claude Code skills expose hidden attack paths in agentic AI workflows