Latest / Security & privacy

json-threat-protection.rs

github.com · Package · Quiet

Rust crate that guards against malicious JSON payloads

Visit github.com ↗Share

  • validation
  • json payload validation rust
  • json security limits
  • malicious json protection
  • rust json validation
  • json depth limit
Stars
62
Forks
2
Open issues
0
Last commit
Releases
2
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

json-threat-protection.rs is a high-performance Rust crate that checks JSON payloads for threats before they are processed. The repository describes it as a crate to protect against malicious JSON payloads. It suits Rust services that accept JSON from untrusted sources.

Repository description on GitHub: “A crate to protect against malicious JSON payloads.”

What it does

  • Limits JSON depth, string length, and array or object entry counts
  • Blocks duplicate object entry names when configured
  • Validates payloads without returning a parsed value

Good for

  • Reject oversized JSON payloads before business logic runs
  • Validate untrusted JSON in a Rust web service

Suits: Rust service developers accepting JSON from untrusted sources.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw json-threat-protection.rs on , when ADD-SP posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 2 releases have been published in total; the latest is v0.1.1 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v0.1.1 (21 Jul 2024)
  • Show HN discussion at check time: 34 points, 19 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v0.1.1 (21 Jul 2024)
  • Show HN discussion at check time: 34 points, 19 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: ADD-SP/json-threat-protection.rs
  2. Release v0.1.0
  3. Found: ADD-SP posted it to Show HN. Show HN
  4. Release v0.1.1
  5. Day-7 check recorded by Kip (details)
  6. Day-30 check recorded by Kip (details)

Quick answers

When was json-threat-protection.rs released?
Its first tagged release on GitHub is dated 20 Jul 2024. Kip found it on Show HN on 21 Jul 2024.
Is json-threat-protection.rs open source?
Its source is public on GitHub at ADD-SP/json-threat-protection.rs under the MIT licence.
What does json-threat-protection.rs run on?
Library.
Is json-threat-protection.rs free?
It is open source, so the code is free to read and run; check the licence for terms.
Is json-threat-protection.rs still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryADD-SP/json-threat-protection.rs
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41021436. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Security & privacy

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.