Skip to content
Back to skills

Chrome Extensions

ASecurity

Build Chrome extensions on Manifest V3 with least permissions, service-worker lifecycle and safe messaging

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsrustfrontendsecurity

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill chrome-extensions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chrome Extensions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chrome Extensions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-chrome-extensions/badge)](https://www.skillsdirectory.com/skills/ansh44233-chrome-extensions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Build Chrome extensions on Manifest V3 with least permissions, service-worker lifecycle and safe messaging
profile: full
tags: chrome-extension, browser, frontend, security
---

# Chrome extensions

Use in projects with a `manifest.json` declaring `manifest_version: 3`.

## Manifest
- Request the narrowest permissions and host permissions; prefer `activeTab` and optional permissions.
- No remote code: all scripts are bundled.

## Architecture
- Background service workers are ephemeral: persist state in `chrome.storage`, not globals.
- Content scripts talk to the page only via messages; validate every message and sender.

## Security
- Never inject untrusted HTML; use a strict extension CSP.
- Treat page data as hostile.

## Verify
Load the unpacked build in Chrome, exercise the feature after the service worker has been stopped (chrome://serviceworker-internals) and confirm no console errors.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.