node-packaging
Pass
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
npm pack,npx, andpython3to perform package analysis, tarball generation, and linting of the project's output. - [EXTERNAL_DOWNLOADS]: The
check_package.shscript fetchespublintand@arethetypeswrong/clifrom the official npm registry vianpx. These are well-known, industry-standard utilities for validating Node.js package integrity and type resolution. - [INDIRECT_PROMPT_INJECTION]: The skill processes local project metadata and file structures. It includes defensive measures to identify and block the inclusion of sensitive information in the final package.
- Ingestion points: Reads
package.jsonand file listings from the local directory inscripts/check_package.sh. - Boundary markers: Uses structured JSON output from
npm packto process file lists deterministically. - Capability inventory: Includes file system access for tarball inspection and the ability to execute package-relevant CLI tools.
- Sanitization: Employs a Python-based regex filter to explicitly detect and flag sensitive files (e.g.,
.env,.github/,node_modules/) within the tarball. - [DYNAMIC_EXECUTION]: The
check_package.shscript executes an inline Python snippet via a heredoc to parse JSON and perform file list validation. This is a static, deterministic template used solely for processing local package data.
Audit Metadata