SShortSingh.
Back to feed

Browser-Only Tool Generates OSHA LOTO Placards Without Uploading Machine Photos

0
·40 views

A developer has built LotoCard, a tool that creates machine-specific Lockout/Tagout placards entirely within the user's web browser. Because plant photos can reveal proprietary equipment and layouts, all images and callout data stay local and are saved in a portable .lotocard.json file. Energy-isolation pins are stored as relative coordinates so they stay aligned across screen previews and printed 8.5x11 and 11x17 PDFs. Rather than certifying legal compliance, the tool checks that required OSHA 1910.147 procedural elements are documented and flags any missing steps before printing. The developer also offers a free viewer with presets for 16 common industrial machines.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Minimal IAM Policy for an S3 Web Client Limited to One Bucket

A guide on DEV Community sets out an IAM policy for a browser-based S3 file manager that restricts access to a single bucket. Broad managed policies such as AdministratorAccess and AmazonS3FullAccess grant wide permissions across all resources, which the author argues conflicts with AWS's own least-privilege guidance. The proposed policy is trimmed from AWS's one-bucket example and covers browsing, uploading, downloading and deleting, split into bucket-level and object-level statements. It also adds the actions needed for multipart uploads of large files, and the author recommends testing the result with a temporary user. The article notes that other providers such as R2, B2, Wasabi, MinIO and Spaces scope keys differently.

0
ProgrammingDEV Community ·

How to make a GTA 6-style profile picture from your own selfie

A DEV Community guide explains how to turn a selfie into a square avatar in the stylized look associated with GTA 6 trailers. It notes that avatars are cropped to a 1:1 ratio on platforms like Discord and X, so generating the image square with the face centered avoids losing content. The look relies on AI image-to-image tools that keep a photo's composition while repainting it with cel shading, thick outlines, and a saturated sunset palette. The article recommends a clear, well-lit front-facing selfie and describes a browser-based tool, which is unofficial and not affiliated with Rockstar Games. It also covers alternatives such as local setups and general-purpose editors, and mentions that results stylize details and vary between runs.

0
ProgrammingDEV Community ·

What Is IDOR? A Guide to Insecure Direct Object Reference Flaws

Insecure Direct Object Reference (IDOR) is a common web and API security bug in which an application uses a user-changeable identifier, such as an invoice or user ID, to retrieve data without verifying the requester's ownership. The article explains that it falls under Broken Access Control in the OWASP Top 10, and is called BOLA in API contexts. A worked example shows how changing an invoice number in a URL can expose another customer's personal details. It notes that such references can appear in URLs, API paths, request bodies, file downloads and GraphQL queries, and can allow read, write, or delete actions. The author attributes the flaw to confusing authentication with authorization and recommends manual testing with two accounts, since automated scanners often miss it.

0
ProgrammingDEV Community ·

AgentTaint: open-source firewall that vets MCP tool calls based on argument provenance

AgentTaint is a research release under Apache 2.0 that acts as a provenance-aware firewall for Model Context Protocol tool calls, rather than a prompt-injection classifier or keyword filter. It sits between an MCP client such as Claude Desktop, Cursor, or Claude Code and the real MCP server, returning ALLOW, CONFIRM, or BLOCK for each call based on whether sensitive arguments trace back to untrusted content the agent previously read. Lineage is labelled KNOWN, INFERRED, or UNKNOWN, and a Cedar policy makes the final decision, failing closed if the provenance store is unreachable. Held calls require human approval bound to the exact argument bytes, and the agent has no approve tool. The project is installable from PyPI as agenttaint, and its author reports zero attack success on a held-out synthetic benchmark, while noting the results are not a guarantee of production protection and that remote MCP servers are not yet supported.