
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Optional object chaining & creation with ES6 Proxys
Arbitrary property access with a default value. When setting a property, missing objects in the chain are created automatically.
Exports a global 'Qbject' when dumped in your page as a script tag.
You could use this or this or this instead if you just need optional chaining.
$ yarn add qbject
object to wrap ({})
default value (undefined)
unwrap key ('_')
import Qbject from 'qbject';
const obj1 = Qbject();
console.log(obj1.bar.bar.baz._); // 'undefined'
obj1.arbitrary.deep.mutation = true;
console.log(obj1._); // {"arbitrary":{"deep":{"mutation":true}}}
obj1.foo = 'data';
console.log(obj1.foo._); // 'data'
const obj2 = Qbject({foo: 'test'}, 'something');
console.log(obj2._); // { foo: 'test' }
console.log(obj2.foo._); // 'test'
console.log(obj2.bar._); // 'something'
console.log(obj2.bar.bar._); // 'something'
FAQs
Optional object chaining & creation with ES6 Proxys
The npm package qbject receives a total of 0 weekly downloads. As such, qbject popularity was classified as not popular.
We found that qbject 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.