
Research
/Security News
CanisterWorm: npm Publisher Compromise Deploys Backdoor Across 29+ Packages
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.
@getoccasion/mitragyna
Advanced tools
ActiveResource.js binding framework for React components
yarn add @getoccasion/mitragyna
You can also use the CDN address https://unpkg.com/@getoccasion/mitragyna to add it to your AMD loader or into your page:
<script type="text/javascript" src="https://unpkg.com/@getoccasion/mitragyna"></script>
<Resource component={Customer} reflection="customer" subject={customer} />
<Field
type="email"
name="email"
id="email"
component={Input}
invalidClassName="is-invalid"
placeholder="jane.doe@example.com"
/>
<ErrorsFor className="customer-email-errors" component={FormFeedback} field="email" />
<Resource component={Customer} reflection="customer" subject={customer} />
function useBoomTown() {
return [streetRef, street, setStreet]
}
// App.jsx
fuction App() {
const [streetRef, street, setStreet] = useBoomTown()
return(
<Resource subject={myOrder} afterUpdate={saveMyOrder}>
<Resource component={Customer} subject={subject.customer()}>
<Resource component={Address} subject={subject.address()}>
<input type='text' name="street" ref={streetRef}>
<input type='text' name="town" ref={townRef}>
<input type='text' name="hood" ref={hoodRef}>
<input type='text' name="region" ref={regionRef}>
</Resource>
<Resource compo subject={subject.address()} />
</Resource>
<Resource component={Attendees} subject={subject.attendees()} />
</Resource>
</Resource>
)
}
const fulfillmentType = useRef()
// Render <Input> component for value that keeps subject up to date
<Field
type="hidden"
name="fulfillmentType"
id="fulfillmentType"
component={Input}
ref={fulfillmentType}
/>
// Get value
fulfillmentType.current && fulfillmentType.current.state.value
// Update value
fulfillmentType.current && fulfillmentType.current.setValue('value here')
FAQs
A library for managing ActiveResource.js as React components
We found that @getoccasion/mitragyna demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.

Research
/Security News
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.