Keeping data model uploads in the right repo
Uploading a data model could modify another customer’s repository. A retest confirmed that the fix kept those changes within the intended repository.
An open source bug report caught Cube’s attention. From there, they brought us in to overhaul their access checks, verify every fix, and take over their annual pentests.
“Winfunc found a lot of gaps and edge-cases in our convoluted RBAC system which lead to a thorough overhaul of all RBAC checks, tighter credential scoping and many other little product changes.”
Maksim LeanovichHead of Engineering at CubeView LinkedIn profile (opens in a new tab)Cube’s analytics platform lets both people and AI agents query business data through a semantic layer. The product’s authorization controls determine which data each customer can access. About the Cube platform (opens in a new tab)
Maksim helped steer where we focused our testing.
“it doesn’t only find ‘traditional’ vulnerabilities like SQL injections or out-of-bound writes, but also verifies individual product features in a broader security context.”
Like many teams, Cube relied on manual reviews, outside pentests, and general-purpose AI agents. As the team worked through fixes, retesting patches in-house became increasingly difficult. With Winfunc, they could focus testing on a specific part of the product and quickly check whether a fix held.
To test role-based access controls, Maksim used Winfunc’s Hypothesis Scans. This turned up gaps in how permissions were checked, kicking off a thorough cleanup of those checks and tighter limits on what each credential could reach.
“Without winfunc many of those holes would have likely been discovered by our customers and result in embarassing support escalations.”
With Hypothesis Scans, engineers can start from a simple question about how a feature should behave. Our agents then dig through the codebase for ways to break that assumption and come back with concrete proof and fixes the team can act on. Hypothesis Scans are one way Winfunc adapts to the people who know the codebase best.
“Overall I’m seeing great potential in this tool specifically because we could tell it to test different scenarios and target different areas of the product.”
With AI speeding up development, products move way too fast for rigid, workflow-based tools to keep up. AI security tools shouldn’t lock teams into fixed workflows but instead should continuously adapt to each customer’s product as it evolves.
Here are two findings from Cube’s Hypothesis Scans.
Uploading a data model could modify another customer’s repository. A retest confirmed that the fix kept those changes within the intended repository.
The API gateway could get bogged down by requests from users who hadn’t signed in. After the patch merged, a retest confirmed that the new limits kept the gateway responsive.
“One day we received one from winfunc which immediately stood out because it found an actual exploitable hole […]. This prompted us to try out the paid product to analyze our private repos.”
Like most open-source teams, Cube gets flooded with automated security reports every day. Ours stood out because it pointed straight to the issue in the code and included enough proof for the team to verify it and ship a fix. Cube ended up crediting us in two public advisories.
Under certain setups, this bug could let someone slip past row-level access controls. We reported the original Presto and Trino issue, and Cube’s engineers audited and patched the rest of the affected drivers.
This one could knock out availability wherever Cube’s PostgreSQL-compatible SQL API was turned on and reachable. Cube built the fix and added extra protocol hardening around it.
Cube kicked things off by scanning their private repos. The team used several parts of the platform as the work progressed, from investigating specific risks to reviewing new changes and checking fixes.
“we’ll continue using the static analysis tool as it does find valid issues and we’ve already fixed a bunch”
Cube ran full codebase scans and cleared out findings ahead of the pentest.
Engineers pointed us at specific parts of the product to probe and test edge cases.
We reviewed selected GitHub PRs and ran quick follow-up checks after changes were pushed.
Cube tracked issues in the dashboard and pinged us to verify fixes as they landed.
Cube’s coding agents queued batches of fixes through Winfunc MCP for us to revalidate and report back on.
We tested the APIs Cube asked us to look at and verified each fix afterward.
We put together a clean, redacted version of the report that Cube can hand straight to customers.
“it became increasingly hard to re-test patches internally - that’s, essentially, why we chose to buy winfunc.”
For their October pentest, Cube scoped out a set of APIs for us to put through the wringer. We confirmed 12 findings: two high, eight medium, and two low. The team worked through the list and sent each patch back to us to double check.
On the first retest, two of those fixes still left gaps open. Their team took another pass at both, and we signed off on the second retest. We then put together a redacted report they could safely share with customers.
“we’ve replaced our traditional vendor of annual pentests with winfunc because winfunc actually finds something.”
Protecting customer data means getting access checks right across APIs, data model uploads, and credentials. Winfunc paired its own analysis with guidance from Cube’s engineers to focus on those controls and reduce noise by reporting findings the team could verify and fix.
Working with Cube reinforced the value of letting engineers steer testing toward the parts of the product they know best and quickly check whether fixes hold.
Winfunc continues to build features that adapt testing to each customer’s codebase as it evolves. Over time, we want to make it easier for teams to see what’s been tested and what still needs attention as they ship changes.
Scope a first audit with our security engineers. You get findings with traces, reproduction evidence, and patches ready for review.