Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Software Extensions
Cyber Security

Software Extensions

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Cyber Security

Software Extensions are add-ons that extend the functions of an application, browser or platform. Attackers abuse them to run code, capture data or maintain persistence through trusted extension mechanisms. Defenders should inventory installed extensions, restrict sideloading, review permissions and remove extensions that have no clear business need.

What software extensions are, and why they matter

Software extensions are add-ons that expand an application’s native feature set, usually by plugging into trusted extension APIs, browser hooks, or platform integration points. That convenience also creates a security boundary: the extension inherits part of the host’s trust, reach, and user expectations.

Because extensions often run with broad access to the user’s session, content, or local data, they can become a direct path for data capture, code execution, or persistence. The security question is not just whether the host application is patched, but whether the extension ecosystem is controlled well enough to prevent abuse.

How extensions become an attack surface

Extensions are attractive to attackers because they sit inside a trusted execution path. A malicious or compromised extension can observe page content, alter what users see, read stored secrets, or invoke privileged APIs that ordinary web content cannot reach. In browser and IDE environments, that can turn a normal productivity tool into a surveillance or supply-chain foothold.

The risk is amplified when users install extensions from multiple marketplaces, sideload unsigned packages, or grant permissions without a clear business need. Even a legitimate extension can become unsafe if its publisher is compromised or its update channel is abused.

For readers who want a concrete example of extension-driven supply-chain exposure, NHIMG’s Secrets in VS Code extensions 2025 shows how extension ecosystems can expose tokens and credentials at scale.

What defenders should assess in extension governance

Good extension governance starts with inventory. Organisations need to know which extensions are installed, who approved them, what permissions they hold, and whether they are still needed for current business workflows. Without that baseline, review and removal become reactive instead of controlled.

Permission review matters because many extension ecosystems make it easy to overgrant access at install time. A minimal, need-to-know model is safer than assuming an extension is harmless because it comes from a familiar marketplace or vendor.

Update provenance also matters. Extension security depends on publisher trust, package integrity, and the safety of the update path, so defenders should treat extension repositories and signing chains as part of the attack surface, not just the software itself. For a broader control lens on trusted execution and isolation, NHIMG’s Confidential Computing Guide is useful background on how stronger isolation can reduce the impact of hostile code.

How to reduce exposure and recover after abuse

Where patching or removal cannot happen immediately, compensating controls should narrow the blast radius. That usually means restricting sideloading, limiting the extension store to approved sources, disabling unnecessary high-risk categories, and monitoring for unusual extension behaviour such as unexpected network calls, file access, or credential harvesting.

If an extension is suspected of abuse, response should include removal, review of the host application’s logs and extension inventory, and investigation of any secrets, sessions, or tokens the extension could have accessed. Because extensions can persist inside trusted software, post-incident review should also check whether the malicious package was reinstalled from a synced profile, enterprise deployment, or user backup.

Risk and Threat Considerations

Extensions are a common trust-boundary failure because they combine third-party code with elevated runtime access. The main risk is not just accidental misuse, but deliberate abuse of permissions, update channels, or user trust to steal data or maintain persistence inside a commonly used application.

Failure mechanism: An attacker gets code into an extension, compromises a legitimate publisher, or abuses a sideloading path, then uses the extension’s trusted permissions to read data, intercept sessions, or execute hidden actions.

Impact: The result can be credential theft, data exfiltration, unauthorized actions inside the host application, and persistence that survives ordinary user caution because the extension appears legitimate.

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 and MITRE ATT&CK address the attack and risk surface, while CIS Controls v8, NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageExtensions can expose tokens and credentials through trusted plugin code
NHI-05 — Overprivileged NHIExtension permissions can exceed the minimum needed for its function
NHI-07 — Long-Lived SecretsExtension ecosystems often store or use long-lived tokens and publishing credentials
Recommendation — Inventory extensions and remove any plugin that can access or leak secrets. Restrict extension permissions to the least privilege needed for operation. Rotate exposed tokens and replace long-lived credentials after compromise.
MITRE ATT&CKT1218 — Signed Binary Proxy ExecutionTrusted extension mechanisms can be abused to run code through a legitimate host
Recommendation — Hunt for code execution hidden inside trusted extension processes and update paths.
CIS Controls v8CIS-2 — Inventory and Control of Software AssetsExtensions are software assets that should be inventoried and controlled
Recommendation — Maintain an approved inventory of installed extensions and remove unsupported ones.
NIST SP 800-53 Rev 5CM-7 — Least FunctionalityLeast functionality limits unnecessary extension capabilities and installed add-ons
IA-5 — Authenticator ManagementExtension abuse can expose tokens and other authenticator material
SI-4 — System MonitoringMonitoring is needed to detect suspicious extension behaviour and abuse
Recommendation — Disable or remove extensions that are not required for a documented business need. Rotate exposed authenticators and manage extension-related secrets as sensitive credentials. Monitor extension installs, permission changes, and suspicious runtime activity.
OWASP ASVSV13 — ConfigurationExtension allowlists and permission settings are configuration controls for the host environment
Recommendation — Review extension configuration and restrict installation paths to approved sources.

Practitioner Guidance

Why practitioners should care: Extensions are one of the few places where organisations routinely allow third-party code to run with user-adjacent trust, so weak control here can quietly bypass otherwise strong endpoint or browser security.

What to watch for: High-risk signals include unapproved sideloading, extensions with broad permissions, unclear publisher ownership, and tools that request access far beyond their stated business purpose. Treat those as review triggers, not routine convenience trade-offs.

Practitioner takeaway: Keep an approved extension baseline, revalidate it regularly, and remove anything that cannot justify its access in business terms.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

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