transilience-report-style
Skill555 starsChanged 8 months agoMITView on GitHub
Generate a Transilience-branded PDF report (pentest, vuln assessment, compliance, threat intel) from a single findings JSON using the bundled ReportLab generator. Use whenever an engagement needs its final report/deliverable PDF in Transilience house style.
- Installs packages
In this repository49 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-threat-testingSkill
- api-securitySkill
- attack-path-stitcherSkill
- authenticated-session-acquisitionSkill
- authenticationSkill
- blockchain-securitySkill
- client-sideSkill
- cloud-containersSkill
- cloud-defenseSkill
- coordinationSkill
- cryptographySkill
- cve-poc-generatorSkill
- cve-risk-scoreSkill
- dfirSkill
- essential-toolsSkill
- firewall-reviewSkill
- github-workflowSkill
- hackeroneSkill
- hacktheboxSkill
- infrastructureSkill
- injectionSkill
- mobile-securitySkill
- network-appliance-offensiveSkill
- osintSkill
- patt-fetcherSkill
- pci-secure-softwareSkill
- pentest-engagementSkill
- protect-with-passwordSkill
- reconnaissanceSkill
- regression-sweepSkill
- reverse-engineeringSkill
- risk-prioritiserSkill
- script-generatorSkill
- server-sideSkill
- skill-pruneSkill
- skill-updateSkill
- social-engineeringSkill
- source-code-scanningSkill
- systemSkill
- techstack-backendSkill
- techstack-correlationSkill
- techstack-frontendSkill
- techstack-infraSkill
- techstack-osintSkill
- techstack-securitySkill
- techstack-identificationSkill
- ti-ingestSkill
- web-app-logicSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
No emoji; text severity labels only.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Transilience Report Style
Turns a structured findings JSON into a branded A4 PDF (light theme by default — modern/minimal; --theme dark fallback; brand gradient rule, boxed code/samples, framed screenshots, colour-coded severity + CVSS-score, findings cards, severity metrics) — the standard Transilience deliverable. The generator is data-driven: you assemble one JSON, run one command. Design system: formats/transilience-report-style/SKILL.md §0 (theme/palette).
When to use
- A pentest / vuln-assessment / network-scan / compliance engagement is finished and validated and needs its PDF deliverable.
- You already have findings (ideally validated) with severity + CVSS + evidence + remediation.
How to use (3 steps)
- Write
report_data.jsonmatchingreference/report-data-schema.json. Onlyengagementandfindingsare required; every other key (executive_summary, metrics, sections, cve_register, coverage_table, attack_pattern_coverage, ruled_out, tools_used, roadmap, disclaimer) is an optional section that is skipped if absent. Seereference/example-report-data.jsonfor a minimal working file.- Internal-only sections: a
sections[]entry with"internal": trueis retained inreport_data.json(kept as the internal record) but is never rendered into the client PDF. Use it for internal QA logs such as blind-validation / independent-reproduction verdict tables — these must not appear in any client-facing PDF.
- Internal-only sections: a
- Run the generator:
Fonts + logo are auto-discovered frompython3 reference/generate_report.py <report_data.json> -o reports/My-Report.pdfformats/transilience-report-style/. Override with--assets <dir>if running outside the repo. Requiresreportlab(pip install reportlab). - Verify by rendering a page (
pdftoppm -png -r 100 -f 1 -l 1 out.pdf /tmp/p) and reading it before delivery.
Other editions of the same data
- Executive edition —
generate_report.py <data.json> --exec-onlyrenders cover + KPI boxes + narrative + roadmap and no finding detail or technical registers, for circulation beyond the security team. The KPI counts still describe the whole engagement. - Machine-readable exports —
python3 ../../tools/report_export.py <data.json> --format csv|xml -o findings.csvemits the findings register for a vulnerability-management import. Same rows as the PDF register and the xlsx: one projection, three renderings.
What it renders
Cover (logo, title lines, subtitle, metadata) → Executive Summary (auto KPI metric boxes from severity counts + narrative + key risks + positives) → free-form sections (Scope/Methodology) → finding cards grouped Critical→Info (severity bar, CVSS+vector, CWE/OWASP, status, affected, description, impact, optional PoC block — ordered steps each with prose + code-styled command + embedded screenshot, optional severity-calibration, optional per-finding CVE table, remediation) → optional CVE register, coverage table, Attack Pattern Coverage (deterministic surface-unit × attack-class matrix with colour-coded status), ruled-out appendix, Tools & Techniques Used, remediation roadmap, disclaimer. Section numbers are assigned automatically.
Finding object (the important fields)
id, title, severity (Critical|High|Medium|Low|Info), cvss_score, cvss_vector, cwe, owasp, affected[], description, impact, recommendation + optional poc[], calibration, needs_live_confirmation, cves[], attack[]. attack[] carries MITRE technique ids — ATT&CK (T1190, T1059.001) or, for AI/LLM findings that have no ATT&CK technique, ATLAS (AML.T0051); it renders beside CWE/OWASP and appears in every export. poc is an ordered list of steps {description, command, image_url} (it merges the former evidence / poc_request / screenshot fields): each renders as a numbered prose description, an optional code-styled command, and an optional embedded image. PAN/Aadhaar/card-like values are defensively masked at render time — but redact real secrets/PII in your source text anyway.
Conventions
- Severity is set by the CVSS band (≥9 Critical, ≥7 High, ≥4 Medium, >0 Low, 0 Info) unless deliberately env-adjusted — state the calibration in the
calibrationfield (seeformats/transilience-report-style/pentest-report.md§7). - No emoji; text severity labels only. Finding metadata as fields, not prose.
- One finding = one validated issue. Group systemic instances rather than repeating near-duplicates.
References
- Full visual design system (palette, typography, components):
formats/transilience-report-style/SKILL.md - Pentest report structure + finding-quality standard + severity calibration + compliance mapping:
formats/transilience-report-style/pentest-report.md - Compliance variant:
formats/transilience-report-style/compliance-report.md - Generator:
reference/generate_report.py· Schema:reference/report-data-schema.json· Example:reference/example-report-data.json - Preflight lint (hard-fail schema + RAW-field escaping/tag-allowlist gate before rendering):
../../tools/report_data_lint.py— run beforegenerate_report.py; it (and the generator's ownreport_data_shapeguard) block a string-narrative, an invalid severity, or an unsafe<img>/<a href>from reaching a client PDF. - In-place revision (append / supersede /
--rescore <disposition.csv>/--scope <allowlist>restrict+renumber / cross-feed; always re-derives KPIs + scrubs narrative finding-counts):../../tools/report_data_revise.py— the incremental-revision entry point, distinct from merge-reports' N→1 consolidation. - Ingest a finished/foreign report (PDF/xlsx/DOCX/markdown/native JSON) into the canonical finding schema:
../../tools/report_ingest.py— bootstraps merge / retest / CERT-In from an already-produced deliverable instead of hand re-keying.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

