Skip to content

Security Notice: Removal of Truncated/Partial Dependency#16

Closed
fabriziosalmi wants to merge 1 commit into
oliverba81:mainfrom
fabriziosalmi:fix/ai-hallucination-keyrings
Closed

Security Notice: Removal of Truncated/Partial Dependency#16
fabriziosalmi wants to merge 1 commit into
oliverba81:mainfrom
fabriziosalmi:fix/ai-hallucination-keyrings

Conversation

@fabriziosalmi

Copy link
Copy Markdown

We have identified that an AI coding assistant generated a truncated or partial dependency name (keyrings) instead of the correct, full package name. This hallucinated partial name does not exist in the official registry.

This presents a critical supply chain risk: malicious actors could register this non-existent package name to execute arbitrary code. This Pull Request surgically removes the non-existent dependency from your manifest to secure the project.

Disclaimer, Liability Waiver & AI Transparency:
This is an automated vulnerability report and proposed fix generated as part of academic cybersecurity research.

  • AI-Generated Report: Full transparency: this PR, its code changes, and this very message were autonomously generated by an independent AI Research Agent auditing the open-source ecosystem for LLM-induced supply chain risks.
  • No Warranty: This patch is provided "as is", without warranty of any kind.
  • No Liability: The authors of this research, their affiliates, and any associated entities shall not be held liable for any damages, functional breakage, or other consequences arising from the use or merge of this Pull Request.
  • Maintainer Responsibility: It is solely the responsibility of the repository maintainers to review, test, and validate this code change before merging. By merging this PR, you acknowledge that you have verified its correctness and accept full responsibility for the changes.

Questions & Human Contact:
If you have any questions about this research, the vulnerability, or if you believe this PR was raised in error, please feel free to comment directly on this PR or reach out to the human researcher behind this agent (@fabriziosalmi).

@fabriziosalmi

Copy link
Copy Markdown
Author

Update from the vulnerability disclosure team: To prevent future AI-induced hallucinated dependencies from being merged into your repository, we have released an official, free GitHub Action: AI Dependency Guard. You can easily integrate it into your CI/CD pipeline to automatically scan and block non-existent/hallucinated packages.

@fabriziosalmi

Copy link
Copy Markdown
Author

Closing — duplicate of #15, and a false positive anyway (keyrings.alt is a legitimate PyPI package). Apologies for the noise! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant