Roadmap — isis-report-lib¶
Single source of truth for what comes next, so plans don't live only in chat memory. Status is updated when a PR merges (move the item to Done, never delete it).
Guiding maxim: faithful presentation of data beats rigid layout. Non-goals are listed at the bottom and stay out unless the maxim demands otherwise.
Next (prioritized)¶
1. Evaluate stricter defaults (product decision)¶
Revisit deliberate opt-ins: meta.limits off by default, permissive verify_*
ergonomics, LGPL/MPL tolerance. Requires a maintainer call on compatibility vs.
hardening — no code until decided.
2. Scorecard: branch-protection hardening (process)¶
Remaining Branch-Protection gaps: stale-review dismissal, CODEOWNERS review,
last-push approval. Excluded deliberately: requiring approvers, which would
deadlock a single maintainer (self-approval is not a review).
Structural Scorecard limits (accepted, not actionable)¶
Code-Review and Contributors stay at 0 until a second reviewer or
organization contributes; Maintained rises on its own 90 days after repo
creation; SAST climbs as new commits pass through CodeQL. CII-Best-Practices
is 5 (Passing); Silver (7) and Gold (10) are optional and Gold needs a second
maintainer. Signed-Releases is 7 and reaches 10 as new immutable releases
replace v0.12.0 in the last-5 window. Movable checks: Signed-Releases,
Branch-Protection.
Done (post-v0.13.0)¶
- Socket Security (advisory): GitHub App installed on
isis-report-libonly (organizationthepaneb); it scans dependency/manifest changes and reports on PRs. The Socket check is not a required check — GuardDog remains the blocking supply-chain gate. - ASVS 7.3.1 log encoding:
logging_utils.log_valueescapes CR/LF/tabs, ANSI/control characters and Unicode separators; the package logger installsLogEncodingFilteras a safety net. Applied to the egress host and service name, with tests for injection and no double encoding. ASVS 7.3.1 now Pass. - Release immutability: enabled on the repository;
publish.ymlnow runs on the tag push, attaches wheel/sdist/SBOM/SLSAprovenance.intoto.jsonlto a draft release, uploads to PyPI and publishes the release last (immutable releases lock assets at publication). v0.13.0's wheel, sdist and real SLSA provenance were backfilled; v0.13.1 shipped through the new flow (immutable, all assets). ScorecardSigned-Releasesconfirmed 7 after v0.13.1. v0.12.0 predates the attestations; it drops out of the last-5 window as new releases ship. - OpenSSF Best Practices badge (Passing): self-certified at
bestpractices.dev/projects/17047;
all Passing MUST/SHOULD criteria met (63 Met, 5 N/A). Scorecard
CII-Best-Practiceslifts 0 → 5 on the next scan. - Fuzzing: Atheris targets for the untrusted-input parsers (
.toon, JSON payload envelope, layout specs), run time-boxed on every PR and deeper weekly; the first runs found and fixed three real crash paths (scalar nested group value, scalar top-level record, malformedsectionslayout). ScorecardFuzzingconfirmed 10. - Hash-pinned CI dependencies: every workflow installs tools from
pip install --require-hasheslocks (.github/requirements/requirements-*.txt,docs/requirements-docs.txt), regenerated byscripts/lock-requirements.sh(uv, universal, py3.11); the project itself installs editable with--no-deps. ScorecardPinned-Dependenciesconfirmed 10.
Done (v0.12.0 → v0.13.0)¶
- Secret scanning: Gitleaks workflow on PR/push/weekly (working tree + history, digest-pinned image, SARIF) plus an optional pre-commit hook; ASVS 10.2.3 now Pass.
- User guide: task-oriented walkthroughs on the docs site (
docs/guide.md), README kept as exhaustive reference. - Strict payload envelope: raw dicts validated against the canonical
ReportPayloadschema (known top-level/meta keys, correct types) fail-closed inprepare_report; ASVS 13.2.2 now Pass. - Supply-chain layer 2: CodeQL advanced setup, dependency-review PR gate, GuardDog malicious-package scan with SARIF,
pip-licensescopyleft gate, docs-depspip-audit, Sigstore attestations (SLSA provenance + SBOM) on every release.
Done (v0.11.0 → v0.12.0)¶
-
Documentation site (polish): Zensical + GitHub Pages (
docs.ymlbuild/deploy, unified landing asdocs/index.md, Standards/ASVS/Roadmap/Changelog/Security discoverable with search, strict link-checked build). -
Configurable payload size quotas (DoS hardening): opt-in
meta.limits(max_rows/max_bytes) enforced fail-closed inprepare_reportfor every output (CLI--max-rows/--max-bytes); ASVS 12.1.1 now Pass. - Outbound network allow-list for Chromium (defense in depth): outbound
http(s) denied by default via per-page route aborting, opt-in
allowed_hosts(API/CLI only, never payload); ASVS 12.6.1 now Pass. - Semgrep SAST gate:
semgrep.ymlCI job (PR/push/weekly,p/default+ 8 custom rules lockingSTANDARDS.md§3.2–§3.3, SARIF to code scanning, required in branch protection); ASVS 10.1.1 now Pass. Drive-by:publish.ymltag interpolation via env,charts.pyexemption documented, Dependabot 7-day cooldown. - CycloneDX SBOM as a release artifact:
sbom.json(CycloneDX 1.6, reproducible) generated in an isolated env from the release wheel and attached to every GitHub Release (stable + prerelease); ASVS 14.2.5 now met. - Signing key rotation:
verify_pdfaccepts{key_id: key}mappings (envelopekey_idselects first) and ordered key lists; CLIverifytakes repeatable--key-file. Rotation runbook inSTANDARDS.md§3.3.
Done (v0.1.0 → v0.11.0)¶
- v0.1.0–v0.2.0: library extraction, dual sync/async API, CLI, Jinja2 + Playwright core.
- Report parameters:
meta.page,aggregate(sum/count/avg/min/max),$print_when,$order_by,visible/visible_when, multi-table details. - Outputs: XLSX (styled, print polish, data bars), CSV (locale, BOM), HTML/email (
inline_css, CSS vars resolved,lang,color-scheme). - Composed documents:
sections(table/text/kpi/chart), running balances, dependency-free inline SVG charts + sparklines. - Data-first fidelity:
missing_text,substitutions,empty_text, footnotes +source_note/source(HTML list, XLSXNotessheet, CSV#lines), locale-aware masks (percent/currency/bool/date),median/distinctaggregates,color_scalegradients. - Declarative analysis: crosstab/pivot sections, compound rule conditions (
AND,between,contains),sparklinemasks, email-safe HTML. - Integrity: HMAC-SHA256 + Ed25519 seals (
sign_pdf/verify_pdf,keygen/sign/verifyCLI) — a seal, not PAdES. - Throughput:
generate_manybatch API,bench/bench.pywith CI perf budgets. - Trust & supply chain: Jinja autoescape + sandboxed env, no-JS browser context, formula-injection guard, total
verify_pdf, recursion guards,pip-auditgate, SHA-pinned Actions, OIDC publishing, OSSF Scorecard, Codecov,SECURITY.md,docs/STANDARDS.md,docs/ASVS.md(OWASP ASVS 4.0.3 mapping, L1 target).
Non-goals (deliberate)¶
PAdES signatures · WYSIWYG/visual report designer · scheduled bursting and mail delivery (application layer) · server/daemon mode (library only) · ORM/query engine (inputs accept plain structures) · chart interactivity (static SVG by design).