
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@tangible/window
Advanced tools
This is a collection of modules exported under the global variable `window.Tangible`.
This is a collection of modules exported under the global variable window.Tangible.
It's for convenience of client-side JavaScript, so they can import from @tangible/window for shared dependencies.
It can also be used for alias a module, for example, from React to Preact.
To use a JavaScript library registered by a Tangible module, pass its name as a dependency when enqueuing your script.
The following are currently availble:
tangible-codemirrortangible-preactFor example:
wp_enqueue_script('script-name', $url, [ 'tangible-codemirror' ], $version);
This ensures that the library is loaded before the script that uses it.
Optionally, the module can be aliased when building.
In tangible.config.js, add the property alias to a task configuration. It's a key-value pair of the aliased module name and source.
module.exports = {
build: [
{
task: 'js',
src: 'assets/src/example.js',
dest: 'assets/build/example.min.js',
watch: 'assets/src/**/*.js',
alias: {
'@tangible/codemirror': '@tangible/window/codemirror'
}
},
]
}
In the above example, the script can import @tangible/codemirror to access window.Tangible.CodeMirror.
To use the Preact module, add an alias for react.
In tangible.config.js, define the property alias to a task configuration. It's a key-value pair of the aliased module name and source.
module.exports = {
build: [
{
task: 'js',
src: 'assets/src/example.js',
dest: 'assets/build/example.min.js',
watch: 'assets/src/**/*.js',
alias: {
'react': '@tangible/window/preact',
'react-dom': '@tangible/window/preact',
}
},
]
}
When the script imports react or react-dom, it will use the shared instance of window.Tangible.Preact.
FAQs
This is a collection of modules exported under the global variable `window.Tangible`.
We found that @tangible/window 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 supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.