Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
joeRinehart
1 month agoNew Contributor
1Password Chrome extension is incorrectly manipulating <code> blocks
The latest 1Password Chrome extension is incorrectly manipulating the DOM within <code> blocks on static pages. It looks it's using prism.js to try to add syntax highlighting to <code> blocks on the ...
- 1 month ago
Hey everyone! I want to thank everyone who called our attention to this and explain what happened and what we’re doing about it.
What happened: Prism.js is a syntax-highlighting library we use for our Labs Snippets feature. While optimizing our build to reduce bundle size, we unintentionally bundled Prism.js into the extension in a way that caused it to run on pages where it shouldn’t, which interfered with code formatting on certain sites. We apologize for the inconvenience this caused.What we’re doing about it: We’ve completed the fix and submitted it to the Chrome Web Store, along with Firefox, Edge, and our other supported extension storefronts. Rollout timing depends on each store’s review process, but we expect it to land over the next few days.
We want to emphasize that vault security was not impacted. At 1Password, protecting our customers’ privacy, passwords, and credentials is our highest priority.
We’ll be publishing a postmortem covering what went wrong, the timeline, and the concrete changes we’re making to how we build and release future browser extension updates.
benjvogt
1 month agoNew Contributor
I am experiencing this issue and it wildly inexcusable. Why is 1password interfering with the normal rendering of non-login, non-html-form related layouts and features?
BryceWray
1 month agoNew Contributor
Here’s an example of what the bug does to anything from the combination of the Hugo static site generator and its Chroma dependency for syntax highlighting.
This is a code block on one of my Hugo-generated pages with 1Password disabled:
<div>
<div class="highlight">
<pre tabindex="0" class="chroma">
<code class="language-plaintext" data-lang="plaintext">
<span class="line">
<span class="cl">
/Users/$USERNAME/Library/Caches/hvm/$HUGO_VERSION/hugo
</span>
</span>
</code>
</pre>
</div>
</div>...and this is the same code block with 1Password enabled :
<div>
<div class="highlight">
<pre tabindex="0" class="chroma language-plaintext">
<code class="language-plaintext" data-lang="plaintext">
/Users/$USERNAME/Library/Caches/hvm/$HUGO_VERSION/hugo
</code>
</pre>
</div>
</div>