HEBook a call
Book a callHE
Customer stories

A large financial organization gives developers an AI coding assistant, without exposing its code

The development teams wanted GitHub Copilot. We built an environment where the assistant works inside the IDE, while code, identities and sensitive data stay under the organization’s control. Then we ran a penetration test to prove it.

Customer
A large financial organization in Israel
Industry
Financial services
Products
GitHub Copilot, GitHub Enterprise, Entra ID, Intune

The challenge

What we did together

OnCloud’s VP of R&D and cloud security architect worked with the organization’s development, infrastructure and security teams. We turned developer needs into security requirements, and security requirements into settings that don’t slow development down.

  1. 1GitHub as a licensing layer for Copilot only

    We blocked repository creation, forking, visibility changes, GitHub Pages, Actions, Projects and outside collaboration, restricted Personal Access Tokens, and enforced branch rulesets and minimal base permissions.

    The benefit: Developers get an AI assistant; the code stays in the organization’s repositories, and Copilot doesn’t use it for training.

  2. 2Identities owned by the organization

    Managed accounts only, provisioned automatically from Entra ID (SCIM), with verified domains. Sign-in with a personal GitHub account is blocked.

    The benefit: Leavers lose access automatically, and there are no accounts nobody manages.

  3. 3Access and admins

    Conditional Access with MFA, access only from approved networks, and high-risk sign-ins blocked. For admins: phishing-resistant MFA, compliant devices, and roles through PIM, only for as long as needed.

    The benefit: A leaked password isn’t enough to get in, and no admin holds standing rights an attacker could use.

  4. 4Copilot inside the limits we set

    Approved models only. We turned off web search, MCP servers, the coding agent, Code Review and Spaces.

    The benefit: The assistant helps write code, but doesn’t connect to tools or data sources the organization hasn’t approved.

  5. 5A centrally managed developer environment

    Up-to-date VS Code with settings managed through Intune: which extensions are allowed, and Copilot only with the work account.

    The benefit: No developer installs an unapproved extension or signs in with a personal account.

  6. 6Network and DLP

    Copilot reaches only approved endpoints, through the corporate proxy with SSL inspection, and DLP inspects the traffic before it leaves.

    The benefit: DLP blocks passwords, API keys and sensitive data before they leave inside a question to the assistant.

  7. 7Tested for real

    We ran a penetration test with real attack scenarios: pushing code out, pulling from an outside repository, installing an extension, signing in without MFA, and starting an MCP server.

    The benefit: The settings didn’t stay on paper. We saw them stop real attempts.

What changed

35/36security controls in place
10attack scenarios fully blocked
0code repositories outside the organization

Want to give your developers AI without exposing your code? Start with a technical intro meeting.

Book a meeting