
Security News
AI Agent Submits PR to Matplotlib, Publishes Angry Blog Post After Rejection
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.
@exodus/proxy-freeze
Advanced tools
Simple way to freeze JavaScript objects and know of attempted modifications
A simple way to freeze JavaScript objects and know of attempted modifications.
Why not just use Object.freeze and Object.isFrozen?
If you use Object.freeze and later set a property on that object, it silently fails unless in strict mode. Also, using this technique gives you the ability to listen for warnings on the warning event.
npm install --save proxy-freeze
object or constructor functionboolean, adds a symbol getter that detects Proxies created via this method. Defaults to false.boolean, uses symbol added via addProxyIdentifier to identify frozen Proxies and doesn't re-freeze them. Defaults to false.const obj = {
name: 'jp'
}
const obj2 = proxyFreeze(obj)
obj2.name = 'bob'
process.once('warning', (warning) => {
console.warn(warning.name) // => ProxyFreezeWarning
console.warn(warning.message) // => Trying to set value of property (name) of frozen object.
console.warn(warning.stack)
})
FAQs
Simple way to freeze JavaScript objects and know of attempted modifications
The npm package @exodus/proxy-freeze receives a total of 1,367 weekly downloads. As such, @exodus/proxy-freeze popularity was classified as popular.
We found that @exodus/proxy-freeze demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 83 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.