Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@instructure/babel-plugin-transform-imports
Advanced tools
A babel plugin made by Instructure Inc.
This will convert any non-default imports that are referencing the package only to reference the full path to the module instead. For example:
// a named member import:
import { Text } from '@instructure/ui-elements'
would be converted to
// a named import using the full module path:
import { Text } from '@instructure/ui-elements/lib/Text'
Note that any default imports you are currently using will not be transformed:
// a default import using the full path (will not be transformed):
import Text from '@instructure/ui-elements/lib/Text'
Note that this plugin will fail if the exported name is not the filename! This means that it cannot handle multiple exports from the same file.
A babel plugin made by Instructure Inc.
npm install @instructure/babel-plugin-transform-imports
FAQs
A babel plugin made by Instructure Inc.
We found that @instructure/babel-plugin-transform-imports demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.