lint-and-validate
Pass
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external project files, creating an attack surface for indirect prompt injection.
- Ingestion points:
scripts/lint_runner.pyreads and parsespackage.json.scripts/type_coverage.pyreads the content of.ts,.tsx, and.pysource files. - Boundary markers: None. The skill does not use delimiters or instructions to prevent the agent from following commands potentially embedded in the analyzed code or configuration files.
- Capability inventory:
scripts/lint_runner.pyhas the capability to execute shell commands viasubprocess.run(e.g.,npm,npx,ruff,mypy). - Sanitization: None. The
lint_runner.pyscript executes thelintcommand exactly as defined in a project'spackage.jsonwithout validation. - [COMMAND_EXECUTION]: The
scripts/lint_runner.pyscript performs command execution usingsubprocess.run. Specifically, it triggersnpm run lint, which executes user-defined scripts frompackage.json. If an agent is directed to run this skill on a malicious repository, it may execute arbitrary attacker-controlled commands. - [PROMPT_INJECTION]:
SKILL.mduses high-pressure, imperative language such as 'MANDATORY:', 'Strict Rule:', and 'NOT allowed' to govern agent behavior. This technique is often used in prompt injections to force an agent to ignore its standard constraints or safety guidelines in favor of the skill's specific instructions.
Audit Metadata