Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@openreplay/tracker-mobx
Advanced tools
A MobX plugin for OpenReplay Tracker. This plugin allows you to see the MobX events during session replay.
npm i @openreplay/tracker-mobx
Initialize the @openreplay/tracker
package as usual and load the plugin into it.
Then put is as a second argument to observe
function from mobx
package.
import Tracker from '@openreplay/tracker';
import trackerMobX from '@openreplay/tracker-mobx';
import { observe } from 'mobx';
const tracker = new Tracker({
projectKey: YOUR_PROJECT_KEY,
});
const mobxTrackerInstance = tracker.use(trackerMobX(options)); // look below for available options
observe(yourMobxStore, mobxTrackerInstance)
Options:
interface Options {
predicate?: (observeEvent: { type: string; name: string; object: any; debugObjectName: string }) => boolean;
sanitize?: (resultAction: { state: any; type: string; property: string }) => { state: any; type: string; property: string };
update?: boolean;
add?: boolean;
delete?: boolean;
}
trackerMobX({
predicate: () => true,
sanitize: (event) => event
})
Where predicate
can be used to dynamically turn off capturing and sanitize
can be used to modify the payload before sending it to backend.
Most of the actions fall into update
type, refer to mobx documentation for more details about add and delete (mostly for Maps)
FAQs
Tracker plugin for MobX events recording
The npm package @openreplay/tracker-mobx receives a total of 58 weekly downloads. As such, @openreplay/tracker-mobx popularity was classified as not popular.
We found that @openreplay/tracker-mobx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.