The full story
Background
A Series-B B2B fintech provided accounts-receivable software to finance teams managing multiple customer workspaces. Its engineering team was adding a webhook test feature so customers could verify integrations before enabling payment-status notifications.
The feature introduced two security-sensitive decisions: which workspace's integration a user could operate, and which destinations the application could contact. Bugb Technologies worked with the company's developer and security reviewer to assess those boundaries while the change was still in a pull request.
Initial Assessment
The server checked that a user was signed in and belonged to a workspace. It did not verify that the integration selected for the webhook test belonged to that same workspace. A user who supplied another workspace's integration ID could trigger its test action.
The destination check accepted a correctly formatted URL but did not enforce a network boundary. That left a server-side request forgery, or SSRF, path: a customer could make the application contact a private service that was not directly accessible to the customer.
Both gaps sat inside an otherwise routine feature change. Reviewing authentication or URL formatting alone would have missed the controls that mattered.
One Shared Threat Model
GuardLink traced the user-supplied integration ID to the integration lookup and the destination URL to the outbound request. Its threat model lived in the repository, with annotations visible alongside the changed code in the pull request.
The developer and security reviewer used those annotations to agree on the intended boundaries. The integration had to belong to the authenticated workspace, the user needed permission to operate it, and the outbound request had to remain within approved destinations.
GuardLink identified where controls were missing; it did not claim that either path was exploitable. Bravos, Bugb's autonomous whitebox pentest product, built a code graph, prioritized the two paths, and drove Cert-X-Gen against an isolated running copy of the proposed change.
Confirming the Exposure
Cert-X-Gen used authenticated accounts from two test workspaces. One account supplied the other workspace's integration ID and successfully triggered its webhook test action, confirming the access-control failure.
A separate live probe directed the application to a private test service. The service received the request and returned a harmless marker, establishing that the outbound boundary was missing.
The assessment used synthetic workspace data and a controlled test service. Each finding rested on observed application behavior, not a warning inferred from the code.
Implementation
The developer scoped the integration lookup to the authenticated workspace and enforced the user's permission before the webhook action could run.
For outbound requests, the team limited the feature to approved integration destinations. The server checked the resolved address before connecting and applied the same destination control to redirects, preventing an approved URL from becoming a route to a private service.
The code changes and the reasons for them stayed in the original pull request. Security did not hand engineering a separate document to reconcile after the implementation was complete.
Verification and Results
Cert-X-Gen repeated the two attack probes against the updated running build. The foreign-workspace request was denied before the action executed. The private-service request was blocked before a connection reached the test service.
Two positive checks also passed: an authorized user could test an integration in their own workspace, and a webhook to an approved destination completed successfully.
- 2 confirmed vulnerabilities remediated in 2 business days.
- 4 live checks passed: two blocked attack paths and two permitted workflows.
- Both fixes completed before merge, keeping the vulnerable feature out of the release.
- 1 shared threat model connected the code, review discussion, remediation, and proof.
Conclusion
The engagement made shift-left security a concrete engineering practice. Developers and security resolved the same missing controls in the same pull request, then relied on the running application to establish that the fixes worked.
GuardLink and Cert-X-Gen are open source. GuardLink supplied the shared map; Cert-X-Gen supplied observed proof. Bravos orchestrated the assessment and reported only the findings supported by that proof.
