Urgent.News

What's breaking now, across thousands of outlets.

Tech

I shipped Chrome extensions with an empty permissions list. Here is what that costs you.

Every Chrome extension I install asks for something. Read and change all your data on all websites, usually. So when I built five small developer utilities as extensions, I wanted to know how far I could get with the permissions array empty. All five shipped with this: { "manifest_version" : 3 , "name" : "Base64 Encoder & Decoder" , "version" : "1.0.0" , "description" : "..." , "icons" : { "16" :…

Building small developer tools as Chrome extensions allowed me to explore the impact of empty permissions. All five extensions were shipped with an empty permissions array, meaning no access to the current page, storage, or clipboard. Three main capabilities were sacrificed: the ability to read the selected text or URL, preserving state between sessions, and clipboard functionality.

Despite these limitations, the extensions primarily relied on normal web page functionalities such as Web Crypto, TextEncoder, and DOM APIs. No external requests or network operations were made. No code from npm was bundled, and all tools were hand-written. This approach led to a few hundred lines of custom code for each extension, resulting in each zip file being around 16 KB.

The source code that reviewers see is the same that ships, meaning there's no hidden transitive dependency tree. The tradeoff was worth it for these simple tools, but for more complex applications, a dependency would be preferable to avoid potential bugs and maintain review efficiency.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Knuth Reward Check

  • Computer scientist Donald Knuth awarded error correction check
  • Mistake found in "Computer Modern Typefaces" on page 1
  • Fantasy check amounts: $2.88 and $0.32

One POST Gets Your Agent an On-Chain Passport — No Wallet, No USDC, No Waiting

Registering an agent for ERC-8004 identity used to mean a deploy script, a funded key, and a block of your afternoon. As of this week it means one line: curl -X POST…

  • One POST API call registers an agent on-chain without wallet or USDC.
  • Returned data includes agentid, mint transaction hash, and usable API key.
  • Observer tier grants limited access API key with 10 requests per minute.

More from Saturday 10 October →