contribute
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python's
subprocessmodule to interact with Git and the GitHub CLI (gh) to manage repository forks and submissions. - Evidence:
scripts/submit_contribution.pyandscripts/star_repo.pyexecute commands such asgit commit,git push, andgh pr create. - Mitigations: Commands are executed using argument lists rather than shell strings, preventing shell injection vulnerabilities.
- [EXTERNAL_DOWNLOADS]: The skill clones the project's repository to a temporary directory to facilitate the creation of pull requests.
- Evidence:
scripts/submit_contribution.pyrunsgh repo clone Aperivue/medsci-skills. - Source: The download targets the official repository of the skill's author on GitHub, which is a well-known and trusted service.
- [DATA_EXFILTRATION]: The skill transmits local modifications to GitHub to fulfill its primary purpose of contributing to the project.
- Evidence:
scripts/submit_contribution.pypushes code changes to the user's fork and opens pull requests. - Mitigations: The skill implements a multi-layered safety check. It uses
scripts/check_contribution_safety.pyto scan for Protected Health Information (PHI) and hardcoded secrets, blocking submission if blockers are found. It also mandates a manual review where the user must inspect every line of the diff before confirming the submission. - [INDIRECT_PROMPT_INJECTION]: The skill processes local files that may contain untrusted data if modified by other processes or agents.
- Ingestion points: Local skill files read by
scripts/find_local_changes.py. - Boundary markers: The skill instructions emphasize human review as the final safety gate.
- Capability inventory: Network access via
gh/gitand local file writes to theqc/directory. - Sanitization: A specialized safety scanner validates all content before it is prepared for submission.
- [CREDENTIALS_UNSAFE]: A hardcoded dummy API token is present in the test suite for validation purposes.
- Evidence:
tests/test_contribution_safety.shcontains the stringghp_abcdefghijklmnopqrstuvwxyz0123456789. - Context: This is a placeholder value used exclusively for regression testing of the secret detection logic in the safety scanner.
Audit Metadata