Puppeteer MCP server security: does it meet an enterprise review?
A team that wants AI agents to drive a browser should know first that the original @modelcontextprotocol/server-puppeteer package has no SSO, no admin policy and no audit logging in its README. The package is deprecated, its npm page says it is no longer supported, and the Puppeteer server sits in the archived servers-archived repository. Its only built-in restrictions are the allowDangerous flag, which defaults to false, and the choice between the npx run mode, which opens a visible browser window, and the Docker image mcp/puppeteer, which uses headless Chromium. No paid edition of this package exists, so there is no vendor plan to buy for these controls.
To approve it, a reviewer has to treat the controls as something the organization builds around the server. Confirm that ALLOW_DANGEROUS is not set to true anywhere in the MCP client configuration, because the README example sets it that way. Decide whether the agent should run in the Docker image rather than on a developer laptop, and check what the container can reach on the network. Ask who owns the browser profile, cookies and any logged-in sessions the agent could inherit. Record which of the seven tools are allowed, starting with puppeteer_evaluate, which runs model-supplied JavaScript in the browser, and the form and click tools that act on CSS selectors.
Because the package has no vendor support path, any fix, logging or access control has to come from your own team or a partner. Before rollout, plan for who will watch the upstream archive, how you will record browser actions outside the server, and what happens when a vulnerability is reported with no patch. If the team needs supported browser automation with stronger governance, compare the options in the Playwright and Chrome DevTools sections of this site before deciding.
Which security controls the Puppeteer MCP server provides
This table compares the controls the Puppeteer MCP server documents with the outside components a team would need to add. Read the Built in column first, then check the other columns for what must come from your own identity, logging and network tooling. The README documents no paid edition, so each control is either part of the package or missing.
| Control | Built in | Needs an outside component | Not available |
|---|---|---|---|
| SSO with company identity provider | None documented | A gateway or proxy that enforces sign-in before the server is reached | README documents no authentication or SSO |
| Role-based access | None documented | An access layer in front of the server that maps users to tool use | No roles or permission tiers in the README |
| Admin policy enforcement | None documented | Endpoint or configuration management that controls how the server is launched | No central policy setting in the README |
| Audit logging | None documented | Host or container logs plus a collector and retention you configure | README documents no audit logging |
| Self-hosted deployment | Runs locally through npx or the mcp/puppeteer Docker image | A host or container platform your team operates | Not applicable |
| Data retention terms | None documented | Your own storage and log retention settings | No vendor retention terms documented for this deprecated package |
| allowDangerous restriction | Default false: --no-sandbox and --disable-web-security throw errors | A config review confirming ALLOW_DANGEROUS is not set to true | No per-tool approval step documented |
| Docker headless run | The mcp/puppeteer image uses headless Chromium with no visible window | A Docker host and image source your team manages | Not applicable |
| Read-only or URL allowlisting | None: the navigate tool accepts any URL | Network egress rules or a proxy that limits reachable domains | No read-only mode or URL allowlist in the README |
Which Puppeteer tools carry the most risk
The seven tools in the Puppeteer MCP server fall into three impact groups, and the reviewer's job is to decide which group an agent may use in each environment. The highest risk is puppeteer_evaluate, which executes JavaScript supplied by the model in the browser console. Anything the page can do, the agent can do: read the DOM, read storage, call the page's own APIs, and send requests as the logged-in user. The second group is navigation and interaction. puppeteer_navigate accepts any URL, so the agent can reach internal hosts, admin consoles and file or metadata endpoints that the browser can resolve, not only the sites a team intended. puppeteer_click, puppeteer_fill, puppeteer_hover and puppeteer_select act on page elements by CSS selector, so the agent can change form fields and press buttons such as submit, approve or delete. The third group is read-oriented: puppeteer_screenshot captures what is on screen, which can include personal data, tokens shown in pages or confidential documents.
The stakes rise sharply when the browser holds an authenticated session. A browser profile signed in to a SaaS admin console, an internal wiki or a finance system gives the agent that user's rights, and the server does not separate the agent's actions from the user's. Internal URLs raise the stakes further, because puppeteer_navigate can reach hosts that are never exposed to the internet. Reviewers should list which sessions and network segments the browser instance can reach before approving use. The npm README gives no per-tool permission model, no allowlist of domains and no way to mark a tool as read-only, so any restriction must come from the environment: a dedicated browser profile with no saved logins, a network policy that limits outbound destinations, and a decision to leave puppeteer_evaluate out of agent workflows that touch sensitive pages.
Decisions to make before allowing the Puppeteer MCP server
Four decisions shape how far the Puppeteer MCP server can reach in a browser: how the browser runs, whether dangerous launch arguments are permitted, which URLs the agent may open, and which browser identity it uses. Each one changes what a model-driven session can read, change or record, so review them together before any staff member connects an agent.
Run mode: Docker headless or npx
The npm README documents two ways to run the server. The npx command opens a visible browser window on the user's machine, while the mcp/puppeteer Docker image uses headless Chromium inside a container. The Docker path keeps the browser out of the desktop session and limits what it can touch on the host, which is why many reviewers start there. Confirm which mode each team uses, and whether developers are running the npx form on laptops that hold other sessions and credentials.
npm READMEAllowdangerous value
The allowDangerous option defaults to false, and while it is false, launch arguments such as --no-sandbox and --disable-web-security throw errors. The README example sets ALLOW_DANGEROUS to true, so a copied example can quietly weaken the browser sandbox. Check every configuration file, environment block and shared snippet for that key, and record one approved value. Setting it to true should be a documented exception, not a default.
Network egress and navigation targets
The puppeteer_navigate tool accepts any URL, so the agent can reach internal admin pages, cloud metadata endpoints or attacker-controlled sites that a prompt injection points it toward. Decide which destinations the browser may reach, and enforce that at the network layer with egress rules or a proxy rather than trusting the model to stay on approved sites. Test it by asking the agent to open an internal address from the approved environment.
Authenticated browser profiles
A browser that carries saved cookies or a logged-in profile lets the agent act as that user in every site the profile can reach. Puppeteer's form and click tools act on elements by CSS selector, so a signed-in session can submit changes without any further check. Confirm that the server runs with a fresh, empty profile, that no staff member's session is mounted into the container, and that any login the agent needs is given a separate, scoped test account.
Who can start the server and where it runs
The server runs wherever the MCP client launches it, so anyone who can edit a client configuration can start a browser with the same settings. Decide which machines or containers may host the server, who controls the client configuration files, and whether shared repositories can add the server automatically. Keep it off shared hosts where it could reach other workloads, and record each approved location.
Logs of model-driven actions
The reference server does not document audit logging, so a record of what the model navigated to, clicked, typed or evaluated may not exist unless your team builds it. Decide what must be captured, such as URLs visited, selectors acted on, values entered and JavaScript run through puppeteer_evaluate, then confirm where those records are stored, who can read them and how long they are kept. Ask the client vendor what it records as well.
How the answer changes by run mode and team size
When a developer runs the server through npx, the server runs under that person's operating system account and opens a visible browser window. The agent can reach whatever that browser can reach, including sites where the developer is already signed in, so the session cookies and saved credentials in that browser profile become part of the exposure. The npm README documents the npx option with a visible window, which makes it easy to see what the agent is doing but offers little isolation from the host.
- Host reach: The browser runs with the developer's files and network access, so a compromised page or injected instruction can act with the developer's privileges.
- Signed-in sessions: Any site logged in within the browser profile can be read or changed through puppeteer_click, puppeteer_fill and puppeteer_evaluate.
- Config drift: Individual developers may set ALLOW_DANGEROUS to true in their own config, which the README example does, without a central record.
- Controls that apply: Keep allowDangerous at its default of false, use a dedicated browser profile with no saved logins, and avoid putting production secrets in the environment.
Ask whether any developer machine running this server holds privileged sessions, and whether the team has a written rule for which configuration values are allowed.
The Docker image named mcp/puppeteer runs headless Chromium, which removes the visible window and moves the browser into a container. That narrows the host exposure compared with a developer laptop, because the browser no longer shares the user's desktop session or local profile. The container still has network access and whatever mounts or environment variables the operator passes in, so the boundary is only as strong as its configuration.
- Reduced desktop exposure: The headless browser does not share the user's profile or cookies by default.
- Network egress: The container can still navigate to any URL that puppeteer_navigate accepts, so outbound rules are needed.
- Launch options: Environment settings such as PUPPETEER_LAUNCH_OPTIONS can add flags that weaken the sandbox, so the container image is not a complete control on its own.
- Image provenance: The image should come from a source the team has verified and is tracked in its own inventory, given that the upstream server is archived.
- Controls that apply: Restrict egress to approved hosts, run the container with least privilege, and review the environment variables in the deployment manifest.
Confirm which host runs the container, what it can reach on the network, and who can change its environment variables.
A shared service gives several people and agents one Puppeteer endpoint, which concentrates risk in one browser and one set of sessions. The npm README does not document authentication, SSO or audit logging for this server, so those controls must come from the layer in front of it. A gateway can authenticate callers, decide which tools each caller may use, and record requests, but the browser itself still acts with the privileges it was given.
- Shared sessions: One browser instance can carry state that belongs to different users, so a request from one person may act on a page another person opened.
- Missing identity: Without vendor-documented authentication, attribution in logs depends on the gateway.
- Tool scoping: A gateway can expose only the navigation and screenshot tools and block puppeteer_evaluate and launch arguments, if the gateway supports that filtering.
- Logging gaps: Record which caller invoked which tool and URL, since the server does not provide that trail.
- Controls that apply: Enforce per-user authentication at the gateway, deny dangerous tools for most callers, and isolate browser instances per user or per task.
Ask the platform team whether the gateway can filter individual tools and whether its audit log captures tool arguments.
In a regulated or air-gapped environment, the main question is whether a browser that can reach arbitrary URLs belongs there at all. Data that never left the network can leave through a navigation request, a form submission or an evaluated script that posts content elsewhere. The server is archived and carries no vendor support, so the organization owns every patch, configuration decision and incident response for it.
- Data egress: Navigation to external URLs and form submission can move internal data out of the enclave.
- Unsupported software: The archived status means no active maintenance, so vulnerabilities found later may stay unfixed.
- Evidence gaps: Without documented audit logging, the organization must build its own record of actions to satisfy an assessor.
- Network isolation: Block all outbound destinations except an allowlist, and host any internal test targets inside the enclave.
- Controls that apply: Consider whether a maintained alternative or a narrower tool fits the need, keep allowDangerous false, and document the decision in the risk register.
Confirm with your compliance team which data classes may reach the browser and whether the assessor accepts an unsupported component with compensating controls.
Order of work before a Puppeteer MCP server goes live
This sequence settles whether the package is acceptable to run at all, then locks the server down layer by layer, so the approval record shows what was tested and what was accepted as residual risk.
Confirm package status and choose a path
The security lead checks the npm page for @modelcontextprotocol/server-puppeteer, which shows the package as deprecated with a message that it is no longer supported, and confirms the last published version is 2025.5.12. Then the lead checks the archived repository, which states it is no longer maintained and points to modelcontextprotocol/servers for active servers. The step is done when the team has either selected a maintained alternative or written down, with a named owner, the decision to accept an unmaintained server and the vulnerabilities that would no longer receive fixes from the project.
Keep allowDangerous false and audit the config
The platform engineer confirms that the allowDangerous option is false, its documented default, and that dangerous launch arguments such as --no-sandbox and --disable-web-security are rejected. The engineer then searches every deployment file, environment template and client configuration for ALLOW_DANGEROUS, because the npm README example sets it to true. The step closes when a repository search and a review of the running process environment both show no override, and that result is saved with the change record.
Choose Docker headless mode
The platform engineer deploys the Docker image mcp/puppeteer instead of the npx command, because the README documents that the Docker build runs headless Chromium while the npx version opens a visible browser window. The engineer confirms the container runs as a non-root user, has no mounted host directories beyond what the browser needs, and that PUPPETEER_LAUNCH_OPTIONS is not set by developers on their own machines. The step is done when a test session confirms no headed window appears and the container configuration is stored in version control.
Restrict network egress and allowed URLs
The network team limits outbound traffic from the container to an approved list of domains, since puppeteer_navigate accepts any URL. They confirm which internal hosts the browser can reach, block metadata and private address ranges, and check that the container cannot reach credentials stores or cloud control planes. The step is complete when a test run to a non-approved domain fails at the network layer and the firewall rules are documented and reviewed by the security team.
Add identity and logging outside the server
The identity team places the server behind a gateway or proxy that authenticates the calling client and records each request, because the README documents no authentication, SSO or audit logging. The team confirms that the gateway logs the tool name, target URL and timestamp for each call, and that those logs go to the central log platform with a retention period set by policy. The step is done when a test request from an unauthorized client is refused and an authorized request appears in the log store.
Test prompt injection against evaluate and navigate
The security engineer runs a scripted set of prompt injection cases in a staging environment, using pages that contain hidden instructions asking the agent to open unapproved URLs, run JavaScript through puppeteer_evaluate, or submit form data through puppeteer_fill. The engineer records whether each attempt succeeds, whether the network and gateway controls block it, and whether the log captures it. The step closes when every successful attempt has a fix or an accepted risk entry, and the test cases are kept for retesting after any change.
Record the go-live decision
The accountable owner signs a decision record that lists the package version, the Docker image and configuration reviewed, the allowed domains, the gateway controls, the injection test results and any accepted residual risks. The record names who may use the server, which agents may call it, and who reviews it when configuration or the package changes. The step is done when the record is filed with the security review, and the team can show a reviewer each control and the evidence behind it.
What a security reviewer asks to see for the Puppeteer MCP server
This table lists the evidence a reviewer should request before approving the Puppeteer MCP server, with the question for each item and where the answer should come from. Use it as a checklist against the npm page, the archived repository and the team's own configuration and logs. The main takeaway is that the package's public status and the live settings in the team's environment can differ, so both need to be checked.
| Review question | Evidence to request | Where it comes from |
|---|---|---|
| Is the package still maintained? | Confirm the installed version, the npm deprecation notice and the archived status of the source repository | npm page for @modelcontextprotocol/server-puppeteer and the servers-archived repository |
| Is allowDangerous set to false? | The effective value in the running configuration, not only the README example, which sets ALLOW_DANGEROUS to true | Team's server configuration and deployment manifests |
| Which run mode is in use? | Whether the server runs through npx with a visible browser window or through the mcp/puppeteer Docker image with headless Chromium | Team's launch command or container definition |
| Which launch options are set? | Any PUPPETEER_LAUNCH_OPTIONS value or launchOptions passed to puppeteer_navigate, with a note of any non-null change that restarts the browser | Team's environment variables and agent tool-call logs |
| Can the browser reach arbitrary sites? | Documented egress rules at the network layer, since puppeteer_navigate accepts any URL | Team's network policy, proxy or firewall configuration |
| Who is the agent acting as? | How browser sessions, cookies and logins are bound to a named user or service identity, since the README documents no authentication | Team's identity records and browser profile setup |
| Where are actions logged? | Which tool calls, URLs and evaluated scripts are recorded, and where those records are stored, since the README documents no audit logging | Team's own agent client logs and container or host logs |
| Who owns the setup and when is it reviewed? | A named owner, the date of the last review and the trigger for the next one | Team's internal change records |
What to check before rollout after a prompt injection
No reported prompt injection incident for the Puppeteer MCP server has been supplied for this review, so this section does not describe one. Confirm any reported incident with the package maintainers or the archived repository before you rely on or dismiss one. The risk path is still clear from the tool list. A page the agent visits with puppeteer_navigate can contain text that tells the model to call puppeteer_evaluate, which runs model-supplied JavaScript in the browser, or to use puppeteer_fill and puppeteer_click against forms on the page. Instructions hidden in a web page, a comment or a rendered image can reach the model the same way a user request does, so the browser itself becomes an input channel.
The controls that limit that impact are configuration choices you can verify. Keep allowDangerous at its default of false, and check the server configuration for ALLOW_DANGEROUS set to true, since the npm README example sets it that way. Run the server through the Docker image mcp/puppeteer so the browser runs headless inside a container, not in a visible window on a staff laptop. Limit egress from that container to the domains the workflow needs, because a navigate tool that accepts any URL can otherwise send data to an attacker-controlled host. Do not point the server at a browser profile that holds logged-in sessions, cookies or saved passwords, because a hijacked agent would inherit those sessions. Ask whether your security team can test these controls with a set of hostile test pages before the first approval.
Before approval, record a decision for each risk: who may run the server, which sites it may visit, whether puppeteer_evaluate is allowed at all, and who owns the container image and its configuration after launch. Because the package is deprecated and archived, there will be no vendor fix stream for a newly found weakness, so plan for pinning the version, monitoring your own container logs and removing the server quickly if a problem appears. Note that the npm README documents no authentication, SSO or audit logging, so the evidence you keep must come from your own container and proxy logs. Put a named owner, a rollback step and a retest date in the rollout record.
Questions buyers ask before approving the Puppeteer MCP server
Does the Puppeteer MCP server support SSO?
No, the README for the original server documents no authentication, SSO or audit logging. The server runs as a local process started by the MCP client, so it has no sign-in layer of its own that an identity provider could manage. Access control therefore sits with the machine and the person running the client. Before approval, ask the team to confirm what identity, if any, the browser sessions use, and whether any login credentials are passed into the browser through launch options or form fills. Any SSO requirement has to be met by a different design, such as a managed browser service with its own identity controls, and that choice should be confirmed with the vendor or the operator of that service.
Is there a paid edition of the Puppeteer MCP server?
The package is published under the MIT License and is not offered as a paid edition by its publisher. Its npm page shows it as deprecated and no longer supported, with the last published version listed as 2025.5.12. Costs therefore come from the infrastructure that runs it, the people who review and maintain it, and any replacement you adopt. Ask procurement to confirm whether any commercial support exists for the package, and do not assume that a vendor will answer security issues for it. Treat the absence of a supported edition as a risk to be priced into the decision.
What does a safer Puppeteer setup cost, and who pays for it?
The cost is mostly effort, and the organization pays for it, whether through internal staff or an external partner. The main work items are removing dangerous launch options, running the browser in the Docker image, restricting navigation to approved hosts, reviewing the config for the ALLOW_DANGEROUS setting, and writing a rule for when the agent may call puppeteer_evaluate. Costs go up with the number of teams, the number of allowed sites, and how much testing the controls need before approval. Ongoing costs include reviewing changes to the package and retesting after any update. Ask any provider for a written scope that lists each control, who builds it, who tests it and what evidence is delivered.
Can our team configure the Puppeteer MCP server alone?
A team with container and browser automation skills can usually configure the basic restrictions alone, but the decision depends on what is being protected. The README documents the npx and Docker options, the allowDangerous default of false, and the launch option behavior, which gives a starting point. What is harder to judge internally is whether the navigation scope, the form fill rules and the evaluation limits actually block the attacks that matter for your sites. Ask whether someone on the team has tested prompt injection against the agent, and whether they can produce a written record of the test results for reviewers. If not, an outside security review of the setup is a reasonable option to consider.
Is keeping allowDangerous set to false enough?
No, keeping allowDangerous at its default of false is necessary but not sufficient. That setting only blocks dangerous launch arguments such as --no-sandbox and --disable-web-security. It does not stop puppeteer_navigate from opening any URL, does not restrict what puppeteer_fill and puppeteer_click do to a logged-in session, and does not limit puppeteer_evaluate, which runs model-supplied JavaScript in the page. Reviewers should confirm that the config does not set ALLOW_DANGEROUS to true, which the npm README example does, and then check the remaining controls: the Docker isolation, the allowed domains, the account used in the browser, and the logging of tool calls.
Why is the Puppeteer MCP server archived?
The reference server was moved to the modelcontextprotocol/servers-archived repository, which states that it is archived and no longer maintained and points to the active servers repository. The npm page carries a deprecation notice saying the package is no longer supported. For a buyer, the practical meaning is that security fixes, dependency updates and compatibility changes will not come from the original publisher. Ask the team whether the copy they plan to run is pinned to a specific version, who will watch for advisories, and how they will learn of a vulnerability in Puppeteer or Chromium that affects the server.
What should replace the Puppeteer MCP server?
The archive notice points to modelcontextprotocol/servers for active servers, so start there and check whether a browser server in that repository meets your requirements. Compare candidates on the same criteria: whether they are maintained, what tools they expose, whether they support a read-only or domain-limited mode, how they run in isolation, and what they log. Do not treat any replacement as approved until its tools, permissions and data flows have been reviewed in your environment. Confirm current status and documentation with each project's maintainers before you commit to one.
What drives the cost of compensating controls?
Four factors drive most of the cost of compensating controls for an unsupported browser server. The first is the number of sites the agent may reach, because each allowed domain needs a rule and a test. The second is the number of users and workflows, since each one may need its own profile or account separation. The third is the depth of testing before approval, including prompt injection and form fill abuse tests. The fourth is the update process, because a deprecated package needs a recurring review whenever Puppeteer or Chromium changes. Ask any provider to price these as separate line items with the deliverables and retest scope stated.
How DeployOpen helps teams review and restrict agent browser tools
DeployOpen plans and tests self-hosted setups inside the client's own infrastructure, including AI agent rollouts that touch MCP servers. For Puppeteer MCP security, the work centers on what the agent can reach in a browser, how the allowDangerous setting and container isolation are configured, and what the security team needs to approve or restrict.
How we scope
- The written scope lists which Puppeteer tools are in use, including evaluate, fill, click and navigate.
- We confirm the environment: npx on developer machines or the Docker image with headless Chromium.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We review the server configuration for the ALLOW_DANGEROUS setting and launch arguments such as --no-sandbox.
- We test prompt injection paths that could lead the agent to navigate to unapproved URLs or submit forms.
- We check credential handling, browser profile storage and network reach from the container or host.
How we hand over
- A findings report lists each risky tool, the evidence observed and the recommended fix.
- Restriction guidance covers allowDangerous settings, Docker isolation and approved URL and tool policies.
- We retest after fixes and document the evidence the security and compliance teams will ask for.
How we support
- Ongoing support and continuous testing are available as retainers for teams that keep agent browser tools in use.
- Support covers reviews of server version changes and of the archived server's replacement, if the team migrates.
- Upgrades and configuration updates are handled under the agreed scope as the rollout expands.

