The full story
Background
A fast-growing digital-health startup operated a telehealth platform for independent clinics. Its engineering team owned patient scheduling, remote-visit workflows, and clinical document delivery, but the company had no dedicated security team.
Ahead of a clinic onboarding release, the CTO engaged Bugb Technologies to assess the application. The team had a codebase, but no environment or test accounts prepared for a pentest. It needed an actionable assessment without assigning developers to manage every step.
One Request, End-to-End Execution
The team pointed Bravos at the repository with one request: assess the application locally and report vulnerabilities supported by observed proof.
Bravos is Bugb's autonomous whitebox pentest agent and CLI orchestrator. It reads the code as well as tests the application, allowing it to connect an entry point to the sensitive action behind it.
Bravos established the local environment from the repository's setup requirements, brought up the database and background worker, and created test users with the roles needed for authenticated testing. The assessment used two test clinics and synthetic visit records, with no production patient data.
The developers did not have to prepare the environment or direct a sequence of individual security tests.
Mapping the Attack Surface
Bravos used GuardLink to write a threat model into the repository. GuardLink traced user-controlled inputs to sensitive operations and annotated paths where the required control was missing.
Bravos then built a code graph and ranked the attack surface. Two paths stood out:
- Clinical-summary exports: a signed-in clinic user supplied an export job ID to download a generated document, but the lookup did not enforce clinic ownership.
- Document generation: a user-controlled formatting field reached a shell command used to produce a PDF, crossing from application data into command execution.
The threat model directed the assessment toward those boundaries. It did not establish that either path could be exploited; that required testing the running application.
Proving the Findings
Bravos drove Cert-X-Gen through authenticated browser sessions and live probes against the local application.
For the export path, a staff account from one test clinic requested a document generated for the other clinic. The application returned the synthetic clinical summary. The response demonstrated a cross-clinic access-control failure.
For document generation, a harmless local probe supplied a formatting value that caused the application to execute an unintended instruction. The resulting marker file established command execution without touching patient records or running a destructive command.
Cert-X-Gen also tested a related visit-list path. That path enforced clinic isolation and denied the cross-clinic request, so Bravos did not report it as a vulnerability. Findings depended on observed proof, not proximity to vulnerable code.
An Actionable Remediation Report
Bravos returned two confirmed findings with affected code paths, authenticated test conditions, reproduction steps, and observed results. GuardLink's in-code annotations connected each finding to the missing control, giving developers a direct route from evidence to remediation.
The team scoped export retrieval to the authenticated clinic and enforced permission to access the document. For PDF generation, it removed shell-command construction from user-controlled input, invoked the converter directly with separate arguments, and restricted formatting options to supported values.
The developers owned those changes. Bravos had handled the assessment orchestration, not substituted an unreviewed automated patch for engineering decisions.
Verification and Results
Within one 10-business-day sprint, the team completed both fixes and retested the updated running application with Cert-X-Gen.
The cross-clinic export request was denied. The command-injection probe no longer created its marker. Authorized exports and permitted document formatting still completed successfully.
- 1 assessment request initiated environment setup, analysis, and live testing.
- 2 vulnerabilities confirmed through observed behavior on the running application.
- 2 findings remediated and verified within 10 business days.
- No production patient data used during the assessment.
The report distinguished confirmed findings from tested paths where the suspected behavior was not observed. It did not treat untested areas as evidence of safety.
Conclusion
For a digital-health team without dedicated security staff, Bravos removed the operational burden of running an end-to-end pentest. It established the environment, built the threat model, ranked the attack surface, drove live testing, and handed engineering a report grounded in proof.
GuardLink and Cert-X-Gen are open source. Bravos is the product that orchestrates them into a complete assessment. Its value was not a longer list of warnings, but two demonstrated issues the team could fix and verify in one sprint.
