Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

audit-autopilot

Latest version: v0.1.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: funaharakoju
1 Versions

Scan summary

audit-autopilot was last scanned on 27 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 27 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

audit-autopilot

A domain-agnostic, zero-dependency Python 3.10+ toolkit for automated audit batch selection, pluggable audit execution with strict schema and hash verification, isolated candidate label storage, controlled label promotion, and anonymized regression test scaffold generation.

Key Capabilities

  • Batch Selection: Reads candidate pool JSON (compatible with ranker/sampler outputs) and selects up to N unaudited, single-blocker records that include required artifacts per reason bucket, while tracking missing-evidence counts by bucket.
  • Pluggable Audit Adapters: Includes an AuditAdapter protocol, a deterministic MockAuditAdapter for local runs and testing, and a SubprocessJsonAdapter for integrating external audit workers over stdin/stdout JSON.
  • Tampering & Prompt-Injection Defense: Enforces strict JSON schema validation (expected_action in submit, hold, unsupported; non-empty root_cause_category; field_values dict; evidence string; strict sha256 equality with the input record; rejection of unexpected keys). Invalid or tampered responses are safely rejected without crashing the batch.
  • Strict Label Isolation: Writes newly audited results exclusively to an isolated candidate_labels.json file and never modifies production_labels.json during audit runs.
  • Controlled Promotion: Provides a promote subcommand that defaults to --dry-run (showing added/updated/unchanged diffs) and requires explicit --approve to merge selected candidates into a target production labels file.
  • Anonymized Regression Test Generation: When >= 3 audited candidates share the same root_cause_category, replaces entity names, store names, phone numbers, registration IDs, emails, and raw amounts with deterministic placeholders (ENTITY_001, STORE_001, 000-0000-0000, 1000, etc.), generates a layout_of(...) style unittest scaffold, and verifies zero PII leakage via check_no_pii_leak.

Installation

Requires Python 3.10+ with zero third-party runtime dependencies.

pip install -e .

Or run directly from source:

PYTHONPATH=src python -m audit_autopilot.cli --help

CLI Usage

1. Run an audit batch
audit-autopilot run \
  --pool candidate_pool.json \
  --candidate-labels candidate_labels.json \
  --production-labels production_labels.json \
  --max-per-bucket 5 \
  --adapter mock \
  --tests-dir generated_tests \
  --format table

Use --format json to emit the structured run summary JSON (audited_count, rejected_count, by_root_cause, pending_promotion_count, generated_test_files, missing_evidence_by_bucket).

2. Preview and promote candidate labels

Preview diff (default dry-run, never modifies the target file):

audit-autopilot promote \
  --candidate-labels candidate_labels.json \
  --production-labels production_labels.json \
  --format table

Apply promotion explicitly:

audit-autopilot promote \
  --candidate-labels candidate_labels.json \
  --production-labels production_labels.json \
  --approve

Filter to specific records with repeatable --record-id:

audit-autopilot promote \
  --candidate-labels candidate_labels.json \
  --production-labels production_labels.json \
  --record-id rec-001 \
  --record-id rec-002 \
  --approve
3. Generate anonymized regression tests from candidate labels
audit-autopilot generate-tests \
  --candidate-labels candidate_labels.json \
  --output-dir generated_tests \
  --min-cluster-size 3 \
  --format json

Running Tests

PYTHONPATH=src python -m unittest discover -s tests -v

Project Structure

src/audit_autopilot/
  __init__.py      Public package exports
  models.py        Typed dataclasses for records, results, summaries, and diffs
  adapters.py      AuditAdapter protocol, strict validator, MockAuditAdapter, SubprocessJsonAdapter
  anonymizer.py    Deterministic anonymizer, PII leak verifier, unittest scaffold generator
  pipeline.py      Batch selector, isolated label persistence, end-to-end runner
  promote.py       Dry-run diffing and explicit-approval promotion logic
  cli.py           Command-line interface (run, promote, generate-tests)
  py.typed         PEP 561 type marker
docs/
  REQUIREMENTS.md  Functional and safety requirements specification
tests/
  test_pipeline.py     End-to-end pipeline, isolation, validation, and promotion tests
  test_sanitization.py Repository hygiene and confidentiality checks

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases audit-autopilot

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229