
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@zohodesk/docs
Advanced tools
DocsTabsViewer is used to display the docs content in similar ways of ui through out the application.
Docs configuation
Mode, theme options from doctool
Used components passing
Children supports
Decorator options
Used description are markdown supported https://www.markdownguide.org/basic-syntax/
import DocsTabsViewer from "./DocsTabsViewer";
import docConfig from "./{component}.docConfig.js";
import Component from "./{component}"
export default (props)=>{
return <DocsTabsViewer docConfig={docConfig} componentType={Component} />
}
import DocsTabsViewer from "./DocsTabsViewer";
import docConfig from "./{component}.docConfig.js";
import Component,{ListComponent, ItemComponent} from "./{component}"
export default (props)=>{
return <DocsTabsViewer docConfig={docConfig} components={{Component,ListComponent,ItemComponent}} />
}
export default ({mode,theme},components)=>{
return {
header : {
title : "Title of the component",
imgUrl : "Sample design of the component",
description : "Short text about the component"
},
tabsList : [ "tabId1", "tabId2","tabId2"],
tabsDetail : {
"tabId1" : {
displayName: "Purpose name of tab below listing components",
description: "Short description of tab",
componentsList: ["component1", "component2"],
componentsDetail : {
"component1" : {
...desired props of the component respective to the above tab
},
"component2" : {
...desired props of the component respective to the above tab
}
}
},componentType : components.MyComponent,
"tabId2" : {},
"tabId3" : {},
}
}
}
export default ({mode,theme},components)=>{
....
tabsDetail : {
"tabId1" : {
componentType : components.MyComponent,
displayName: ...,
description: ...,
componentsList: ...,
componentsDetail : ...
}
"tabId2" : {
}
}
....
}
export default ({mode,theme},components)=>{
....
tabsDetail : {
"tabId1" : {
componentType : components.MyComponent,
displayName: ...,
description: ...,
componentsList: ...,
componentsDetail : {
"component1" : {
...desired props of the component respective to the above tab,
children : [
<components.{component}Item><components.{component}Item>,
<components.{component}Item><components.{component}Item>,
<components.{component}Item><components.{component}Item>
]
},
"component2" : {
children : ()=>{
return <components.{component}List>
<components.{component}Item><components.{component}Item>,
<components.{component}Item><components.{component}Item>,
<components.{component}Item><components.{component}Item>
</components.{component}List>
}
},
}
}
"tabId2" : {
}
}
....
}
import DecoratorComponent from "./docsviewer/DecoratorComponent";
import decoratorStyles from "./docsviewer/Decorator.style.css";
export default ({mode,theme},components)=>{
....
tabsDetail : {
"tabId1" : {
componentType : components.MyComponent,
displayName: ...,
description: ...,
componentsList: ...,
// eslint-disable-next-line react/display-name
$decorator : (list)=>{
// apply-to-this tab of components list
return <DecoratorComponent>{list}</DecoratorComponent>
},
$decoratorListClassName : 'apply-to-this-tab-of-components-list',
$decoratorItemClassName : 'apply-all-component-under-this-tab',
// eslint-disable-next-line react/display-name
$decorateComponentItem : (item)=>{
// apply-all-component under this tab
return <DecoratorComponent>{list}</DecoratorComponent>
},
componentsDetail : {
"component1" : {
...desired props of the component respective to the above tab,
// eslint-disable-next-line react/display-name
$decorator : (component) => {
return <DecoratorComponent
className={decoratorStyles.displayInlineBlock}>
{component}
</DecoratorComponent>
},
$decoratorClassName:'apply-to-this-component'
},
"component2" : {},
}
}
"tabId2" : {
}
}
....
}
Note:- // eslint-disable-next-line react/display-name added for prevent the code check-in fix.
FAQs
Unknown package
The npm package @zohodesk/docs receives a total of 0 weekly downloads. As such, @zohodesk/docs popularity was classified as not popular.
We found that @zohodesk/docs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 31 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.