
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@marshallku/react-postscribe
Advanced tools
React component to render HTML with postscribe.
Inspired by react-postscribe.
Made for better albamon mobile MSA
npm install @marshallku/postscribe
# or
yarn add @marshallku/postscribe
import PostScribe from "@marshallku/react-postscribe";
function AdBanner() {
return (
<div className="ad-banner">
<PostScribe html={`<script src="https://example.com/"></script>`} />
</div>
);
}
export default AdBanner;
| Property | Type | required | Description |
|---|---|---|---|
| html | string | true | An html string or a function that takes a DOM Document and writes to it. |
| afterAsync | () => void | false | A callback called when an async script has loaded |
| afterDequeue | () => void | false | A callback called immediately before removing from the write queue |
| afterStreamStart | () => void | false | A callback called sync after a stream's first thread release |
| afterWrite | () => void | false | A callback called after writing buffered document.write calls |
| done | () => void | false | A callback that will be called when writing is finished |
| autoFix | boolean | false | A boolean that allows disabling the autoFix feature of prescribe |
| beforeEnqueue | () => void | false | A callback called immediately before adding to the write queue |
| beforeWrite | () => void | false | A callback called before writing buffered document.write calls |
| beforeWriteToken | () => void | false | A callback called before writing a token |
| error | () => void | false | A function that throws the error by default, but could be overwritten |
| releaseAsync | boolean | false | A boolean whether to let scripts w/ async attribute set fall out of the queue |
FAQs
React component to render HTML with postscribe
The npm package @marshallku/react-postscribe receives a total of 57 weekly downloads. As such, @marshallku/react-postscribe popularity was classified as not popular.
We found that @marshallku/react-postscribe 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.