npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-password-shield

v0.4.0

Published

Block the iCloud Passwords completion-list popup that floats over the DeepSeek Harness chat composer.

Readme

dsh-password-shield

一个单一职责的 DSH Web 插件:屏蔽旧会话中漂在聊天输入框上方的 iCloud 密码补全浮窗。

问题

iCloud 密码 Chrome 扩展会对每个网页运行 WebKit 风格的凭证字段启发式判定。在部分 DSH 会话页面中,它会误判聊天输入框并注入空状态补全列表:

  • iCloud 密码
  • 打开“密码” App
  • 查找和创建密码

不需要存在已保存密码。这个空状态本身就说明:扩展判定应该提供自动填充,但没有找到属于 DSH 地址的凭证。

浮窗是扩展追加到 <body> 的 <div popover>,其 open shadow root 中包含指向扩展 completion_list.html 的 iframe。

修复方式

插件只监听这一种明确结构。它出现时,插件移除 completion-list iframe,并强制隐藏宿主;宿主仍保留在 DOM 中,因此扩展自己的显示/隐藏状态机可以安全收尾。

插件明确不会:

  • 改写 input[type=password];
  • 修改 API Key 输入框;
  • 修改 autocomplete 属性;
  • 读取或保存字段内容;
  • 隐藏普通 DSH popover;
  • 隐藏其他扩展的无关 iframe。

安装

dsh plugin --profile web add [email protected] --save-exact --ignore-scripts
# 重启 dsh web

仅在开发时使用经过审阅的 checkout:

dsh plugin --profile web add github:ruby1304/dsh-password-shield#<完整-commit-sha> --save-exact --ignore-scripts

生产环境不要使用可变分支或 link: checkout。

0.3.2 精确面向 DSH 0.1.1-rc.2。浏览器 bundle 不请求任何 DSH 内部 共享模块,只使用 rc.2 的 loader baseline,也不再要求 eager activation。

隐私与安全

  • Host 侧为空实现,不读取凭据、文件系统,不启动进程,也不发起网络请求。
  • 浏览器侧不读取输入值,也不修改密码或 API Key 输入框。
  • 匹配范围限定为公开的 iCloud Passwords 扩展 ID,以及开放 shadow root 内的 completion_list.html iframe。
  • 插件不发送遥测,也不保存状态。

卸载命令为 dsh plugin --profile web remove dsh-password-shield。重启 DSH Web 并刷新已打开页面后生效;当前页面中已被移除的 iframe 只能通过刷新页面恢复。

测试

npm install
npm run check
npm run release:check

测试覆盖:页面已有/动态插入的 iCloud 浮窗、普通 DSH popover、其他扩展 iframe,以及“绝不修改密码框和普通文本框”的回归保证。

License

MIT