Join our Newsletter — 33% off our NHI Course
Home FAQ Governance, Ownership & Risk Why do unsafe custom code and risky transports…
Governance, Ownership & Risk

Why do unsafe custom code and risky transports create outsized security risk in SAP environments?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated August 26, 2026 Domain: Governance, Ownership & Risk

Custom code and transports can introduce logic, privilege, or validation gaps that bypass normal control expectations. If teams do not govern them tightly, changes can move from development into production with hidden weaknesses or unintended access paths. The risk is not only technical defect, but also control drift, where the system behaves differently from what security and compliance teams believe is deployed.

Why This Matters for Security Teams

Unsafe custom code and risky transports are dangerous in SAP because they can alter business logic, authorization checks, and data handling outside the standard package controls that teams assume are protecting production. Once a transport is approved, it may carry hidden privilege paths, weak validation, or exception logic that survives testing but fails security review. The result is control drift: the deployed system no longer matches the security model on paper.

This is especially important in SAP landscapes where change velocity, custom development, and cross-system dependencies make review discipline difficult to sustain. NHI Management Group has shown that confidence in identity security is often much lower than teams expect; in The State of Non-Human Identity Security, only 1.5 out of 10 organisations reported high confidence in securing NHIs. That same pattern appears in SAP change governance: the weakest link is often not the platform itself, but the unreviewed path into production. Current guidance from NIST Cybersecurity Framework 2.0 and Top 10 NHI Issues both point to disciplined control over change, privilege, and monitoring as foundational.

In practice, many security teams encounter SAP abuse only after a transport has already introduced a production weakness rather than through intentional preventive review.

How It Works in Practice

Custom code becomes risky when developers embed assumptions that bypass standard SAP safeguards, such as incomplete input validation, hardcoded logic, broad RFC access, or alternative execution paths that avoid normal approval flows. A transport is simply the delivery mechanism that can move those weaknesses into production quickly and at scale. Once that happens, the issue is no longer a single coding defect. It becomes an operational control failure because the production system may now expose privileges or data paths that security never intended to approve.

Practitioners should treat custom developments and transports as security-relevant change artifacts, not just application delivery items. That means reviewing code for authorization checks, looking for privileged function usage, testing for injection and data exposure, and validating that the transport contains only the intended objects. It also means tying change approval to traceable evidence, so reviewers can see who approved the change, what was tested, and whether compensating controls are in place. This aligns with the broader control emphasis in NIST SP 800-53 Rev 5 Security and Privacy Controls, especially where system integrity, least privilege, and monitoring are expected.

  • Review custom ABAP or application logic for authorization bypass and unsafe data handling before transport approval.
  • Restrict who can create, modify, and release transports, and require segregation between development and production authority.
  • Validate transport content against the intended change scope to catch bundled or unintended objects.
  • Log, monitor, and reconcile production changes so security can detect drift between approved and deployed state.

The SAP breach research published by NHI Management Group also illustrates how quickly hidden weaknesses become enterprise exposure when credentials, access paths, or control assumptions are not governed tightly; see SAP Breach and the broader Ultimate Guide to NHIs — Key Challenges and Risks. These controls tend to break down in fast-moving landscapes with frequent emergency transports because review, testing, and change reconciliation are routinely compressed or skipped.

Common Variations and Edge Cases

Tighter transport control often increases delivery overhead, requiring organisations to balance release speed against the risk of hidden production exposure. That tradeoff is real in SAP programs with heavy customisation, where business teams depend on rapid fixes and security teams need enough time to inspect code and dependencies.

There is no universal standard for every SAP environment yet, but current guidance suggests treating high-risk transports differently from routine maintenance. For example, security-sensitive changes may need deeper peer review, automated static analysis, and emergency release rules with post-deployment validation. In brownfield systems, the hardest cases are legacy custom modules with limited documentation, where teams cannot easily prove what a change will affect. In regulated environments, control drift matters even more because a transport can change both the technical state and the audit story at the same time. That is why the issue is broader than code quality alone. It is about preserving a trustworthy boundary between approved design and deployed reality, a point reinforced by the governance focus in Ultimate Guide to NHIs ? Why NHI Security Matters Now.

Practically, the edge cases appear when urgent fixes, third-party add-ons, or shared admin access reduce the time available for review. In those environments, teams should expect more drift unless transport governance is automated and independently verified.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.IP-3Secure change control is central when transports can alter production behavior.
NIST SP 800-53 Rev 5CM-3Configuration change control addresses risky transport promotion and hidden drift.
OWASP Non-Human Identity Top 10NHI-03Hidden credentials or access paths in custom code create non-human identity risk.
OWASP Agentic AI Top 10A2Unsafe autonomous change paths mirror tool-use and privilege-escalation risks in controlled execution.
CSA MAESTROM1Agentic governance patterns map to approval, traceability, and runtime control of risky actions.

Classify SAP transports as controlled changes and verify approval, testing, and rollback evidence before release.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on August 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org