The skill enables arbitrary code execution via unpinned npx packages and user-provided scripts, creating a critical vulnerability that allows for credential exfiltration and unauthorized browser-based actions.
Findings (7)
Content Injection
Mediumtargets Perception
The skill allows the execution of external user-provided scripts (`auth-script`) that interact with the browser DOM. An attacker could provide a malicious script that, when executed by the agent, performs unauthorized actions or exfiltrates data from the rendered page. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
export default async function authenticate(page: Page) { ... }Cognitive State
Mediumtargets Memory & Learning
Unpinned npx package execution — `npx <pkg>` without a version pin pulls latest from npm at runtime (seen 7 times in this file at lines 61, 69, 71, 73, 174, 219, 242)
npx tsx
Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinning
npm install -g
Behavioural Control
Hightargets Action
The skill encourages users to create and execute arbitrary TypeScript files (`--auth-script`) that run within a Puppeteer session, which can be used to exfiltrate cookies, localStorage tokens, or credentials from the local environment to an external server. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
npx tsx <SKILL_DIR>/scripts/snapshot.ts --auth-script ./auth-myapp.ts
Hygiene
Lowtargets Packaging & Manifest
Skill name does not conform to the Agent Skills spec: 1–64 lowercase alphanumeric characters and hyphens, with no leading, trailing, or consecutive hyphens.
stitch::extract-static-html
Skill does not specify a license field. Specifying a license helps users understand usage terms.
The SKILL.md 'name' field does not match the skill's parent directory name, which the Agent Skills spec requires. A mismatch can confuse skill resolution or mask the skill's real identity.
stitch::extract-static-html ≠ extract-static-html