publish-python-package-pypi
Pass
Audited by Gen Agent Trust Hub on May 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use standard Python development and build tools.
- Execution of
pdm build,pdm run ruff, andpdm run pytestfor package validation and testing. - Use of
python -m pip installto manage development dependencies such aspdm. - [EXTERNAL_DOWNLOADS]: The provided GitHub Action templates reference external components for the CI/CD pipeline.
- Fetches official GitHub Actions (
actions/checkout,actions/setup-python) and a community-standard action (pypa/gh-action-pypi-publish). Note that the version numbers specified in the baseline patterns (v6.x) are ahead of the current official releases. - References a vendor-owned action,
btfranklin/release-notes-scribe, for automated documentation tasks. - [PROMPT_INJECTION]: The
draft-release-notes.ymlworkflow presents a surface for indirect prompt injection as it processes external repository content. - Ingestion points: The workflow (via the
release-notes-scribeaction) ingests Pull Request titles, body text, and commit messages from the repository. - Boundary markers: The provided template does not include explicit delimiters or instructions to the LLM to isolate or ignore potentially malicious content within the ingested data.
- Capability inventory: The workflow requires
contents: writepermissions to automate the creation of draft releases on GitHub. - Sanitization: No explicit sanitization or validation steps are defined for the repository data before it is processed for release note generation.
Audit Metadata