← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / scientific-agent-skills / skills / hypogenic / references / security.md

Security, privacy, and approval gates

Reviewed 2026-07-23. Recheck provider and model-specific terms immediately before a real run.

Threat model

HypoGeniC combines:

Treat every boundary independently. A valid schema does not make content trustworthy, a pinned artifact does not make a dataset scientifically valid, and a local model does not guarantee offline behavior.

Mandatory approval sequence

  1. Run only bundled local validators/auditors first.
  2. Verify package and dataset pins/hashes.
  3. Review the exact provider/model/destination and whether the content may legally and ethically leave the machine.
  4. Review current pricing, token limits, retention, region, training-use, subprocess/tool, and account settings.
  5. Freeze train/validation/test roles and run/cost caps.
  6. Confirm logging/cache destinations and redaction.
  7. Obtain separate user approval for the external LLM call or model download.
  8. Start with a bounded non-sensitive sample.

The local run policy must remain plan_only and external_calls_authorized: false. It records readiness; it is not the execution approval.

Credentials

The pinned hosted wrappers use SDK defaults:

Rules:

Provider retention and training caveats

OpenAI's enterprise privacy page states that API business data is not used for model training by default, API inputs/outputs may be retained up to 30 days for service and abuse monitoring, and ZDR is requestable only for eligible endpoints and qualifying use cases. Exceptions and feature-specific storage are documented in its linked data guide.

Anthropic's commercial retention page states that API inputs/outputs are automatically deleted within 30 days. Anthropic's API retention documentation describes eligible ZDR arrangements, feature exceptions, legal/misuse retention, and model-specific rules. Its 2026 covered-model policy requires 30-day retention for designated models even where other requests could use ZDR; flagged misuse may be retained longer.

Do not reduce these policies to a single universal number. Contract type, endpoint, model, feature, cloud intermediary, integration, region, abuse flag, and opt-in settings can change handling. Verify the exact path used for the run. Do not send regulated, confidential, unpublished, personal, or licensed content without the required authorization and contractual controls.

Prompt injection and untrusted text

Datasets, papers, configs, cached responses, hypotheses, and provider output may contain instructions such as requests to reveal secrets, fetch URLs, run code, change files, or ignore the task.

The bundled scripts parse strict JSON and restricted YAML, perform no dynamic imports, and treat text as opaque values.

Upstream logs and Redis cache

The source includes debug logging of generated prompts in adaptive paths. Do not use DEBUG with sensitive data. The upstream logger has no general prompt/response redaction layer, so a local policy field cannot make an upstream debug log safe.

When cache_seed is set, the upstream package uses local Redis and stores prompt/response pairs using Python pickle. Consequences:

Default to no cache for sensitive work. If caching is explicitly approved, use a dedicated trusted local instance, restrict access, isolate each project, record configuration, and securely delete it after the retention period. Never connect this package to an untrusted Redis server.

Local model safety

The pinned huggingface wrapper passes a model/path to Transformers pipeline. Without a reviewed local path, this can download artifacts from the Hub. Before local inference:

The pinned local-wrapper module imports vLLM at module load, so the base install does not reliably provide even the Hugging Face wrapper. Do not install the heavy dev extra or execute model code merely to make a help path work.

Supply-chain controls

Data and output handling