Start with installation controls, not just detection. Enforce a minimum-age policy for new extensions and updates, inspect package reputation before approval, and limit which developers can install tooling from public marketplaces. Pair that with endpoint visibility into secret access so suspicious extension behaviour is connected to identity events, not treated as a standalone device issue.
Why This Matters for Security Teams
Malicious developer extensions are not just a software supply chain nuisance. They sit inside the browser, IDE, or workstation environment where developers sign in, handle source code, and routinely touch secrets. That makes them a direct path to credential theft, code exfiltration, and downstream compromise of build systems. The practical risk is amplified when teams rely on detection alone, because the extension often behaves normally until it has already captured sensitive context.
NHIMG research on Hard-Coded Secrets in VSCode Extensions shows how easily trusted tooling can become a secrets exposure point, while the State of Secrets in AppSec highlights the broader gap between confidence in controls and actual secret leakage outcomes. Current guidance from NIST Cybersecurity Framework 2.0 supports treating this as a governance and access problem, not only an endpoint alerting problem. In practice, many security teams discover extension abuse only after secrets have already been accessed or code has already been staged for exfiltration.
How It Works in Practice
The most effective pattern is to control installation before you try to detect abuse. Security teams should define which extension sources are allowed, require review for public marketplace additions, and block or quarantine newly published packages until they pass a minimum-age threshold. That reduces exposure to fast-moving malicious uploads and copycat packages that rely on urgency and trust. Where possible, tie allowlisting to developer role, device posture, and repository sensitivity rather than making extension access universally available.
Endpoint telemetry should then connect extension activity to identity events. If an extension reads a secrets store, accesses a token cache, enumerates browser session data, or reaches into a developer profile directory, that should be correlated with the signed-in user, the workstation, and the session timeline. This is especially important in environments where extensions can indirectly access SCM credentials, cloud CLI profiles, or chat and ticketing integrations. NIST’s Security and Privacy Controls remain relevant here because the objective is to reduce excessive access and improve monitoring of privileged behavior.
- Limit extension installation to approved channels and approved developer groups.
- Apply minimum-age rules to new extensions and updates before broad rollout.
- Inspect package reputation, maintainer history, and permission scope before approval.
- Correlate extension file, registry, browser, and secrets-access events with identity logs.
- Alert on unusual extension reads of token caches, vault clients, or credential stores.
NHIMG guidance in the Top 10 NHI Issues reinforces the broader point that identity-aware telemetry is essential when tooling can act on behalf of a developer. These controls tend to break down when developers can self-install extensions on unmanaged endpoints because policy enforcement and identity correlation no longer have a reliable control point.
Common Variations and Edge Cases
Tighter extension controls often increase developer friction, so organisations have to balance speed against trust. That tradeoff is especially visible in fast-moving product teams, open-source-heavy workflows, and remote-first environments where developers expect self-service tooling. There is no universal standard for minimum-age thresholds yet, so current guidance suggests treating them as a risk-based control rather than a fixed industry rule.
Some environments need stricter handling than others. High-sensitivity repos, production support laptops, and CI-adjacent developer workstations should usually have the strongest restrictions because a single malicious extension can pivot from one developer machine into source control or release tooling. In contrast, less-sensitive sandboxes may allow a broader set of extensions if secret access is aggressively segmented. If a team cannot reliably observe extension-to-secret interactions, then allowlisting alone becomes much less effective because behaviour remains invisible until after compromise. The practical lesson is that extension policy, endpoint telemetry, and identity context must be managed together, not as separate controls.
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 AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Extension abuse often steals and reuses NHI secrets and tokens. |
| OWASP Agentic AI Top 10 | AGENT-04 | Tooling that acts autonomously needs runtime guardrails, not trust by default. |
| CSA MAESTRO | MCP.3 | Maestro covers governance for code execution paths and third-party tool risk. |
| NIST AI RMF | GOVERN | AI RMF governance helps formalize accountability for risky developer tooling. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access limits which users can install or run risky extensions. |
Apply runtime authorization and scoped tool access to any extension with execution authority.
Related resources from NHI Mgmt Group
- How should teams reduce risk from malicious npm package installs?
- How should teams reduce the risk of exposed AI credentials being abused?
- How should security teams reduce risk from AI agents and developer tools that use secrets locally?
- How should security teams reduce risk from malicious .lnk files in email?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org