Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
node-proxy
Advanced tools
A module for node implementing __noSuchMethod__-type handlers, such as object overloading, as part of the Harmony Catch-All Proxies specification found at http://wiki.ecmascript.org/doku.php?id=harmony:proxies
node-proxy is an implementation of Harmony Proxies http://wiki.ecmascript.org/doku.php?id=harmony:proxies that allows the developer to create "catch-all" property handlers for an object or a function in node.js.
Author: Sam Shull
Repository: http://github.com/samshull/node-proxy
Issues: http://github.com/samshull/node-proxy/issues
Methods:
Object create(ProxyHandler handler [, Object proto ] ) throws Error, TypeError
Function createFunction(ProxyHandler handler, Function callTrap [, Function constructTrap ] ) throws Error, TypeError
Boolean isTrapping(Object obj) throws Error
Additional Methods (for ECMAScript 5 compatibliity): @see http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
Boolean freeze(Object obj) throws Error, TypeError
Boolean seal(Object obj) throws Error, TypeError
Boolean preventExtensions(Object obj) throws Error, TypeError
Boolean isFrozen(Object obj) throws Error, TypeError
Boolean isSealed(Object obj) throws Error, TypeError
Boolean isExtensible(Object obj) throws Error, TypeError
PropertyDescriptor getOwnPropertyDescriptor(Object obj, String name) throws Error, TypeError
Boolean defineProperty(Object obj, String name, PropertyDescriptor pd) throws Error, TypeError
Boolean defineProperties(Object obj, Object descriptors) throws Error, TypeError
More methods:
Object hidden(Object obj, String name [, Object value ] ) throws Error
Object clone(Object obj) throws Error
Boolean isProxy(Object obj)
Boolean setPrototype(Object obj, Object obj) throws Error -set the prototype of a given object to the second given object
FAQs
A module for node implementing __noSuchMethod__-type handlers, such as object overloading, as part of the Harmony Catch-All Proxies specification found at http://wiki.ecmascript.org/doku.php?id=harmony:proxies
The npm package node-proxy receives a total of 23 weekly downloads. As such, node-proxy popularity was classified as not popular.
We found that node-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.