Skip to content

Security: redchupa/ai-security

SECURITY.md

Security policy

Reporting a vulnerability

Please do not report security vulnerabilities in public issues, pull requests or discussions.

Report them privately in one of these ways:

  • GitHub (preferred): go to the Security tab of this repository and click Report a vulnerability.
  • Email: send the report to ng410808@gmail.com if you cannot or do not want to use GitHub.

Describe the problem, the affected version or commit, and the steps to reproduce it. A proof of concept is very helpful.

The report is visible only to you and the maintainers. We will acknowledge it, keep you informed while we work on a fix, and publish a GitHub security advisory once a fix is available. Unless you ask us not to, we will credit you in the advisory.

Supported versions

This repository is a community continuation of Heretic, which was archived on 28 November 2026 and no longer receives fixes.

Security fixes are made on the master branch and included in the next release of this repository. Older releases, including all releases of the original project, are not patched.

Scope

Heretic downloads models and reproduction manifests from Hugging Face, loads configuration files and plugins, and can upload models to Hugging Face. Examples of what we treat as vulnerabilities:

  • Code execution, or file reads and writes outside the paths you chose, triggered by data that Heretic fetches on your behalf (model repositories, reproduce.json manifests, --collect-reproducibles) without you agreeing to it first.
  • Credentials such as Hugging Face tokens leaking into logs, saved or uploaded models, model cards or reproduction manifests.
  • System information being uploaded beyond what you selected when asked.

The following are not vulnerabilities in Heretic:

  • Heretic changing a model's behavior, including removing refusals or other safety behavior. That is what the tool is for. Content generated by a model processed with Heretic is not a security issue in Heretic.
  • Code in configuration files and plugins that you load yourself. Plugins are ordinary Python code and run with your permissions by design.
  • Code in a model repository that runs after you accept the trust_remote_code prompt from Transformers.
  • Vulnerabilities in dependencies such as PyTorch, Transformers or Hugging Face Hub. Please report those to the respective project. Do tell us if Heretic needs to change to avoid or mitigate them.

There aren't any published security advisories