
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
bug-reporter-react
Advanced tools
Bug Reporter is a component of bug-reporter-react that can be attached to any app to take screenshots and report bugs
A react library for reporting a bug from your application.
Take a snapshot of the webpage's screen or part of the screen and report a bug.
Along with snapshot, it stores and sends details such as Image URL, Description, IP-Address, Email, Browser's Name and Path.
Compatible with any webpage. Easy to use.
bug-reporter-react is available on npm. It can be installed with the following command:
npm install bug-reporter-react --save
bug-reporter-react is available on yarn as well. It can be installed with the following command:
yarn add bug-reporter-react
import BugReporter from 'bug-reporter-react'
antd Modal then, add the following line :import 'antd/dist/antd.css';
{ position: "fixed", bottom: 90, right: 100 }
It collects the name and email of the person sending the report.
Provide an API end-point which will send a URL as a post request call, that will return an object with keys -
{ image: , description: , ipAddress: , email: , browserName: , path: },
where image will store the image's url of final marked image, description will store the bug's description provided, path will store the address of the page url where bug is been reported, email will store email address of the user who is reporting that bug, ipAddress will store the IP Address and browserName will store current browser's name where application is been executed.
Include these in your common component's script :
<BugReporter
buttonStyle={{ position: "fixed", bottom: 90, right: 100, zIndex:2000 }}
url={"http://localhost:8000/add"}
name="Bob"
email="bob.b@gmail.com"
appName="bugTracker"
getStatus={getStatus}
/>
// Shows Message Response
const getStatus = (message, message_type)=>{
message_type ? message.success(message) : message.error(message)
}
Once this library is added, user will get a button in their application. On clicking, it will hold the screen where they can take the screenshot.
It takes you into a Modal where a option is displayed to choose different colours and sizes. Using that one can mark multiple bugs and put a description on each.
User will have a reset button to reset the Modal screen and a close button to close that model.
Also, the user gets one description box below the Modal where one can provide additional information. Submit button will do a POST HTTP request and all the useful information will be sent onto that given URL end-point and will be stored into the database.
By performing the above mentioned steps, one can report a bug and keep track of that bug along with the details of the person reporting the bug.
@ant-design/icons
antd
html-to-image
react-screen-capture
react-zoom-pan-pinch
FAQs
Bug Reporter is a component of bug-reporter-react that can be attached to any app to take screenshots and report bugs
The npm package bug-reporter-react receives a total of 1 weekly downloads. As such, bug-reporter-react popularity was classified as not popular.
We found that bug-reporter-react 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.